123 Commits

Author SHA1 Message Date
Henriette Darge 72a274dbd5 Restore the old customOptions table but within a separate "items" tab 2026-02-19 15:45:20 +01:00
ulferts 68d851870d use appropriate font weight on the type 2026-01-30 15:49:32 +01:00
ulferts 17d8ee3c54 show type on edit form of custom fields 2026-01-28 16:19:54 +01:00
ulferts 7fba5cadbf display cf type in page title 2026-01-27 17:58:10 +01:00
ulferts 59f27bea3d change label on help text tab in cf administration 2026-01-07 14:49:20 +01:00
Tobias Dillmann 6467ddd399 [#69399] Fix new custom field projects modal 2025-12-12 12:47:06 +01:00
Oliver Günther 3237096fe5 Add tab to project custom fields settings 2025-11-25 22:06:39 +01:00
Klaus Zanders b295ce44e5 Primerize form 2025-11-21 11:29:13 +01:00
Klaus Zanders a95132582a Move role assignemnt to its own tab 2025-11-18 10:02:18 +01:00
Eric Schubert 52bc1080bd [#68700] added new enterprise key for weighted item lists
- fix migration to rename existing data in custom fields table
- update project custom fields header to show all custom fields with
  enterprise addon
- show upsale page for hierarchies and weighted item lists
2025-11-03 15:59:02 +01:00
Eric Schubert 9d6ba3934e Merge branch 'release/16.6' into implementation/68700-rename-to-weighted-item-list 2025-11-03 13:33:04 +01:00
Dombi Attila 0fb3949ec4 Remove non existing feature flag. 2025-10-31 14:47:01 +02:00
Yauheni Suhakou 0de0713a53 Big rename
Renames `scored_list` to `weighted_item_list`
2025-10-30 15:36:55 +01:00
Ivan Kuchin 7973c77dd7 show enterprise banner for calculated value 2025-09-24 20:03:31 +02:00
Eric Schubert 17baf3b428 [#67453] disable hierarchy for project custom fields
- as long as the feature flag for scored lists are in place
2025-09-23 12:23:58 +02:00
Eric Schubert e321db10d4 [#67453] added hierarchical lists to project custom fields
- https://community.openproject.org/work_packages/67453
- added scored list and hierarchy to project attributes
- added new controller and routes
- amended view templates
2025-09-19 17:03:08 +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
Tobias Dillmann 90a7b0ed19 [#65416] Show custom field format on #new 2025-07-04 13:25:13 +02:00
Jens Ulferts fc26246e8a Merge pull request #19226 from opf/implementation/64347-new-project-attribute-calculated-value-add-attribute
Implementation/64347 new project attribute calculated value
2025-07-01 13:07:56 +02:00
Tobias Dillmann 30b946d9d6 [#64347] name in database cannot be falsy 2025-06-30 11:26:43 +02:00
Tobias Dillmann 57d36225f4 [#53722] Specs for conditional pcf creation 2025-06-26 15:22:26 +02:00
Tobias Dillmann 2ef58e38ad [#53722] Only allow pcf to be created when there is at least one section 2025-06-26 15:22:25 +02:00
Tobias Dillmann c4826a2646 [#64347] fix custom field Primer bugs
In the admin view, when you edit a custom fields name to be empty and
try to save that, the display would incorrectly assume the empty title
from the model, even if the model would be invalid with these changes.
Updated to fetch the name attribute from the database instead.

The bug only happens when you use a Primer component. So for now, this
is only true for Hierarchy and Calculated Value CFs.
Angular prevents this bug from happening since there is no page reload.
2025-06-25 10:13:22 +02:00
ulferts d6caec6c55 only display hierarchy option in dropdown if ee permits 2025-06-23 12:00:35 +02:00
ulferts 1cd27a5eb8 use a submenu for project cf creation 2025-06-23 12:00:34 +02:00
ulferts 17df4519ba use a grouped action menu on project custom fields 2025-06-19 16:04:58 +02:00
ulferts ee0e78c69b dirty implementation for action menu custom field format selection 2025-06-19 16:04:54 +02:00
Henriette Darge 616e91014f Transform the two "add" buttons into a single action menu 2025-05-21 14:03:31 +02:00
Henriette Darge 9423e3c236 Adapt tests to new SubHeader structure 2025-05-20 09:45:23 +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 57d12cdc93 Fix labels and remove obsolete code 2025-05-05 08:53:06 +02:00
Henriette Darge 5b6f02c690 Replace last occurenes of tabNav with new helper 2025-04-30 12:58:20 +02:00
Ivan Kuchin fba9d4b506 erb_lint auto fix quoted symbol 2025-02-11 18:49:21 +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
Kabiru Mwenja 0c33b93c84 fix[Op#57989]: Pass the page parameter in Delete requests so the current page is maintained 2024-09-27 11:31:29 +03:00
Kabiru Mwenja 9d1db1ff0b [OP#57516] Projects should be removable from list with the help of a menu item
https://community.openproject.org/work_packages/57516
2024-09-17 10:14:15 +03:00
Kabiru Mwenja b9f4b57aaf chore[Op#57579]: elevate custom fields modals from project attributes
"Project Attributes" aka _ProjectCustomField_ are a special type of custom fields. Hence,
We should reuse the components built out in the project attributes work and just specialise them
mirroring the Custom field STI model; the custom field is at the top of the inheritance chain
2024-09-10 17:20:12 +03:00
Kabiru Mwenja 8118ecdb8d [Op#57515]: Reuse custom fields view components 2024-09-04 12:02:06 +03:00
Kabiru Mwenja 558a33578d chore[Op#57599]: No need to override base table component
As of https://github.com/opf/openproject/pull/16246 the project list is "turbofied" by default
2024-09-02 15:21:23 +03:00
Kabiru Mwenja 7c9b9c83e1 [#56605] Project attributes: Rename "Deactivate in project" to "Remove from project" (#16553)
https://community.openproject.org/work_packages/56605
2024-08-30 15:26:42 +03:00
Kabiru Mwenja b01293a467 [#57028] Reinstate dynamic project storage deletion via turbo stream
This reverts commit f3a0db2f14.

Update the controller to respond with partial turbo streams instead of a full page redirect with turbo enabled. This caused DOM load issues with angular components, as Turbo would not break out of it's navigation frame- to remount the angular web components. The solution here is also used in other similar pages such as project attributes.
2024-08-21 14:05:06 +03:00
Judith Roth cdbecbb22e [#56440] Add 🔍 to projects autocompleter
https://community.openproject.org/work_packages/56440

Pure CSS solution to not mess with the angular code of the component.
Since the angular component should be replaced with an primer component
I assume this is okay.
2024-08-15 15:31:16 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Kabiru Mwenja 84160c6c5f convert "Add Projects" translation to reusable label 2024-07-04 12:58:55 +03:00
Judith Roth 50a605b5ac [#55960] Add the "Enabled in Projects" tab in storage edit view
https://community.openproject.org/work_packages/55960
2024-07-02 16:55:39 +02:00
Judith Roth e271f113e8 Satisfy rubocop 2024-06-26 15:45:30 +02:00
Judith Roth a873e1d237 [#55801] Review feedback 2024-06-26 15:02:32 +02:00
Judith Roth 9670967eed [#55801] Change layout to avoid checkbox positioning problems 2024-06-26 15:02:32 +02:00
Judith Roth 9f99d2c653 [#55801] Form validation in add project dialog missing
https://community.openproject.org/work_packages/55801
2024-06-26 15:02:31 +02:00