55 Commits

Author SHA1 Message Date
Henriette Darge 0fbb221c33 Merge remote-tracking branch 'origin/dev' into code-maintenance/68481-remove-new-project-overview-feature-flag 2026-02-24 10:39:21 +01:00
Alexander Brandon Coles 30e4d7e3c1 [#71325] Fix drag and drop controller Turbo interop
Improves `GenericDragAndDropController`'s interop with Turbo's partial
page updates: although not reproducible in current production code, list
items are sometimes no longer draggable after a partial page update.

This patch attempts to handle page changes "idiomatically" via Stimulus
lifecycle callbacks rather than a hand-rolled `MutationObserver`-based
implementation.

https://community.openproject.org/work_packages/71325
2026-02-02 17:33:40 -03:00
Alexander Brandon Coles 9819eb1cca [#68481] Remove new project overview feature flag 2026-01-09 11:27:53 +01:00
ulferts 9111ca0bb9 use cf attribute key for i18n 2026-01-06 12:08:06 +01:00
Tobias Dillmann 5b472afb5f [#69399] Show "all projects" info on project attributes 2025-12-12 09:59:52 +01:00
Henriette Darge caa609d34c [61445] Configure project attribute sections to be shown as widgets on the project overview page (#20899)
* Show project attributes as sections in project overview

* Introduce a column "shown_in" for CustomFieldSection which defines whether the section shall be shown in the sidebar or the main section of the project overview

* Show only those attributes in main section that are configured to be shown there. Same for the sidebar.

* Update project attribute sections after editing them

* Write a test for the new positioning behavior of project attribute sections

* Rename "shown_in" with "display_representation" and make it a hash

* Provide proper default when creating a new section

* Enforce project attribute widgets to be in a new line and wrap properly

* Hide logic for moivng sections to the main area behind the feature flag

* Rename "main section" to "main area"

* Extract custom margins into normal sass

* Rename "side-panel" to "side panel"

* Update test to changed wording
2025-11-19 08:01:42 +01:00
Oliver Günther 3cd9aa9f96 Add attributes to creation wizard 2025-11-17 21:25:05 +01:00
Klaus Zanders 1630c965af Merge branch 'dev' into merge-release/16.5-20251023034238 2025-10-23 08:23:36 +02:00
Henriette Darge adab5c3cae Render Footer outside the Body for correct spacings 2025-10-22 08:09:20 +02:00
Oliver Günther 14192a74c3 Replace confirm with turbo-confirm, method with turbo-method 2025-09-26 09:15:04 +02:00
Ivan Kuchin 7973c77dd7 show enterprise banner for calculated value 2025-09-24 20:03:31 +02:00
Alexander Brandon Coles 04eefed350 Freeze string literals in app/components
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/components
2025-07-22 13:06:59 +01:00
Jens Ulferts aae1b2710e Merge pull request #19352 from opf/bug/65074-create-a-new-custom-field-link-on-empty-index-page-does-not-allow-creating-one
Bug/65074 create a new custom field link on empty index page does not allow creating one
2025-07-01 16:58:54 +02:00
Tobias Dillmann f0c119ca85 [#64347] Allow viewing/editing calculated values without FF
We still show these CFs, but we will not allow creating new ones. This
explictly only applies to enabled/disabled custom fields. We are
stricter with the enterprise flag.
2025-06-30 16:11:32 +02:00
Tobias Dillmann 344df0bf35 [#65074] specs for project attribute in section creation 2025-06-30 10:00:43 +02:00
Tobias Dillmann 521b60c138 [#65074] Offer project attribute format selection for section 2025-06-27 13:56:28 +02:00
Tobias Dillmann 8cb4f16034 [#64347] use existing helper for cf label 2025-06-27 10:07:11 +02:00
Tobias Dillmann 06ebbd09cc [#64347] fix unused code and wrong edit path 2025-06-25 10:13:20 +02:00
Tobias Dillmann f49ea99982 [#64347] refactor hidden calculated values w/o feature flag 2025-06-25 10:13:19 +02:00
Tobias Dillmann 40aba89ed0 [#64347] add missing translations for field formats 2025-06-25 10:13:17 +02:00
Tobias Dillmann 87f5dc8940 [#64347] inject Primer view for calculated values into existing admin view
much like the hierarchy before
2025-06-25 10:13:14 +02:00
Tobias Dillmann 6774c6e9f1 [#64347] translate custom field formats on index 2025-06-25 10:13:11 +02:00
Tobias Dillmann a5f30703e8 [#64347] primerize view for calculated value 2025-06-25 10:13:10 +02:00
Oliver Günther 000f1061b9 Remove application dynamic target 2025-06-17 15:15:30 +02:00
Henriette Darge d7c006ce82 Update SubHeader implementations to new mobile requirements in version 0.66.1 2025-05-19 15:11:05 +02:00
Henriette Darge f5890999f5 Replace deprecated Primer::ButtonComponent with Primer::Beta::Button 2025-04-04 09:29:25 +02:00
Ivan Kuchin fba9d4b506 erb_lint auto fix quoted symbol 2025-02-11 18:49:21 +01:00
Ivan Kuchin 03b5b577cd erb_lint auto fix lint 2025-02-11 18:49:20 +01:00
Ivan Kuchin 0f6a12da3a erb_lint auto fix layout 2025-02-11 18:49:20 +01:00
Ivan Kuchin fb715f21b9 erb_lint auto fix quotes 2025-02-11 18:49:19 +01:00
Henriette Darge d7c3c5ab6d Bump primer to 0.52.1 and get rid of some custom code that is not needed any more 2025-01-16 10:55:23 +01:00
Oliver Günther d0ce5e27e8 Use bold, default scheme for links in border boxes
https://community.openproject.org/work_packages/57649
2024-09-10 09:12:52 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Dombi Attila c728e19602 [#53802] Deletion dialog does not provide enough context
https://community.openproject.org/work_packages/53802
2024-04-15 12:40:15 +02:00
Henriette Darge 1a5581b54c Merge branch 'dev' into implementation-update-page-header-in-core 2024-04-08 15:03:11 +02:00
Oliver Günther 29a6c2eced Introduce helper for border box that sets the correct position class
https://community.openproject.org/projects/openproject/work_packages/53735/activity
2024-04-08 12:53:50 +02:00
Henriette Darge 7bdcfdd24f Merge remote-tracking branch 'origin/dev' into implementation-update-page-header-in-core 2024-04-04 15:14:43 +02:00
Henriette Darge 735e5ef9a9 Update primer to 0.27.0 so that we can use the Dialog slot on the project attribute page and the the extended menu on the storages index page 2024-04-04 14:16:33 +02:00
Dombi Attila 1925b64b55 Merge pull request #15130 from opf/feature/53373-fine-tuning-of-truncation-feature-in-project-list-and-project-overview
Apply text attribute component to overview page - using text expander
2024-04-03 17:54:38 +02:00
Ivan Kuchin 6678cab48d auto correct quotes 2024-03-28 18:22:34 +01:00
ulferts 99b1ac15d9 apply text attribute component to overview page - using text expander 2024-03-28 08:33:45 +01:00
Dombi Attila 2fb9791d85 Use translation to count projects on admin project custom field row 2024-03-24 21:41:52 +02:00
Dombi Attila c68d1a5c34 Remove N+1 queries from the ProjectCustomFields rendering inside the custom field sections 2024-03-20 23:20:27 +02:00
Dombi Attila abbaa50ced Remove N+1 queries from CustomFieldSection rendering 2024-03-20 22:42:22 +02:00
Dombi Attila b1444429be Avoid N+1 queries on the ProjectCustomFieldSections
Additionally moving the custom_fields relation from the CustomFieldSection
to the ProjectCustomFieldSection. This is required, because we have to specify the
custom_fields relation to include ProjectCustomField objects only.
Otherwise the nested include query in the ProjectCustomFieldsController does not work.
2024-03-19 21:58:48 +02:00
Jonas Jabari 9775cc8d5e adde required label for global project attributes overview 2024-03-07 11:46:13 +07:00
Jonas Jabari 5753baf90c fix empty project attributes issue seen in specs 2024-03-07 11:46:13 +07:00
Jonas Jabari da2c3a9225 added specs for project custom field administration, fixed minor bugs 2024-02-22 18:18:30 +07:00
Jonas Jabari ce8a66edfc minor refactoring 2023-12-06 14:01:00 +01:00
Jonas Jabari 5d97caf300 added project count on global project attributes settings page 2023-12-06 10:48:38 +01:00