42 Commits

Author SHA1 Message Date
Tomas Hykel 948fa43321 chore: Remove feature flag for project-based work package identifiers 2026-05-25 17:45:06 +02:00
Ivan Kuchin b648341030 [#74768] Remove calculated_value_project_attribute feature flag
https://community.openproject.org/wp/74768
2026-05-19 17:42:42 +02:00
Kabiru Mwenja d3734a7485 Rename work_packages_identifier setting values to "classic" and "semantic"
The setting previously used "numeric" and "alphanumeric" as its allowed
values. Rename them to "classic" and "semantic" to better align with the
product terminology for the work package identifier modes.

Includes a migration to update any stored setting values in the database,
updated constants and helper methods on Setting::WorkPackageIdentifier,
and all corresponding references across models, components, forms,
frontend controllers, locales, and specs.
2026-03-28 10:01:57 +03:00
Henriette Darge dc0a6b48a9 Merge pull request #22421 from opf/housekeeping/remove-data-qa-field
Replace qa-field-name with test-selector
2026-03-23 13:34:05 +01:00
Henriette Darge 60a23150df Replace qaFieldName with testSelector 2026-03-20 12:46:38 +01:00
Tomas Hykel 3bf2f8b7f2 appease rubocop 2026-03-19 09:41:32 +01:00
Tomas Hykel 84e9512a4c switch to raw EN strings in the editable identifier form spec 2026-03-19 08:14:38 +01:00
Tomas Hykel 8f1f56db90 Revert "EditableIdentifierForm => IdentifierForm"
This reverts commit b1fff98b3a.
2026-03-16 22:49:19 +01:00
Tomas Hykel b1fff98b3a EditableIdentifierForm => IdentifierForm 2026-03-16 21:29:56 +01:00
Tomas Hykel a30973cdc7 [#72855] Add semantic identifier support to "Add Project" 2026-03-12 21:51:01 +01:00
Henriette Darge c82f493c9f [71069] Use autocompleters in Admin/Backlogs page (#21841)
* Replace selectPanel with autocompleters

* Fix specs for updated autocompleter

* Attempt to fix test

* Replace ng.getComponent by ViewChild API
2026-02-11 13:57:03 +01:00
ulferts 365d3e8dc2 rename Project status to Status 2026-01-06 14:55:20 +01:00
Tobias Dillmann c52967e991 [#69399] Additional specs for custom field form 2025-12-12 09:59:56 +01:00
Tobias Dillmann 2d374dc90f [#69399] New project wizard considers "for_all" cfs 2025-12-12 09:59:51 +01:00
ulferts 665823c6be require copy_projects permission in template 2025-12-03 15:30:09 +01:00
ulferts cca3d58278 update call to render form in spec 2025-12-03 15:30:08 +01:00
ulferts e58f05ba40 hide parent selection on portfolio settings 2025-11-26 18:09:49 +01:00
ulferts 7653fbf66b workspace references in representers and auxilliary endpoints 2025-11-25 16:47:59 +01:00
Dombi Attila cb873f4460 Render the correct second step when the parent is invalid, display the inline error message on the parent autocompleter. 2025-11-24 19:29:13 +02:00
Ivan Kuchin 35cf13b2c6 render relations form for all workspace types 2025-11-24 13:51:06 +01:00
Dombi Attila 3d3e7d90a9 Merge branch 'dev' into feature/68856-project-create-separate-template-page 2025-11-21 20:31:13 +02:00
Dombi Attila 125dafb545 Update specs 2025-11-21 19:42:07 +02:00
Ivan Kuchin 1bdf3df07f add workspace type specific create routes to use same logic for finding template 2025-11-20 20:30:55 +01:00
Dombi Attila 7c6ef3536c Update specs to use accessible_description from capybara. 2025-11-18 13:07:10 +02:00
Dombi Attila e858346d5b Use the apropriate project, portfolio, program name for the blank project in the template selector. 2025-11-18 12:32:55 +02:00
Alexander Brandon Coles d18e9135e8 [#69073] Rework Template Selector on Create form
Updates the UI to show a "more visual" representation, making use of the
newly-created "advanced" radio button group input.

Extracts the inline form into `TemplateSelectForm` for easier reuse/
adaptability for upcoming project creation wizard.
2025-11-17 00:05:59 -03:00
Eric Schubert 4ec381034a [#68700] add enterprise switch to test setups 2025-11-03 21:50:25 +01:00
Dombi Attila 5b43bdfd6f Address minor CR comments 2025-11-03 13:48:41 +02:00
Dombi Attila 513792ef89 [#67839] "Required for all projects" should not require a value to be set for a Calculated Value
https://community.openproject.org/work_packages/67839
2025-11-03 13:48:00 +02:00
Alexander Brandon Coles 9c3dbbb6f0 Inline Projects::TemplateAutocompleter form
Makes `TemplateSelectComponent` and `SourceProjectSelectComponent`
implementations consistent. `TemplateAutocompleter` is unlikely to be
reused by other components at present.
2025-07-02 13:42:03 +01:00
Alexander Brandon Coles 9f3501df9a Update copy options legend wording 2025-07-02 13:17:48 +01:00
Alexander Brandon Coles 40ccf94f54 Relocate copy options to top of create/copy pages
Also removes highlighting from uses template selector section.
2025-07-02 13:17:47 +01:00
Alexander Brandon Coles a791c586a8 Remove unused CopyOptions#dependencies validation 2025-07-01 12:30:08 +01:00
Alexander Brandon Coles 974de82cfd Fix submission when no copy options are checked
Ensures no asssocations/dependencies can be checked when the user copies
or creates a project from template.
2025-07-01 12:30:07 +01:00
Alexander Brandon Coles 2a30b50e6e [#63594] Primerize Project copy form
Updates the form visuals based on new mockups: the Project copy form now
only includes required (built-in and custom) fields, along with the
"Subproject of" field.

In detail:

* Introduces `Projects::CopyFormComponent`.
* Adds `Projects::CopyForm` with basic specs.
* Adds `ProjectsController#copy_form` action, permissions and route
  mappings.
* Updates copy project feature specs to reflect form changes.
2025-07-01 12:30:02 +01:00
Alexander Brandon Coles c87656ac00 Sort Copy options checkboxes by label 2025-06-12 12:54:19 +01:00
Alexander Brandon Coles e225422ccd [#63593] Primerize Project create form
Updates the form visuals according to new wireframes: the Project create
form now only includes required (built-in and custom) fields, along with
the "Subproject of" field.

In detail:

* Introduces `Projects::NewComponent` and `TemplateSelectComponent`.
* Adds, extends necessary Primer forms with basic specs.
* Adds `ProjectsController#create` action, routes and permissions.
* Adds `highlight-when-value-selected` Stimulus controller.
* Updates project feature specs for new form, including rewriting some
  expectations that were reliant on `data-qa-name` attribute that Primer
  form components do not render by default.
* Removes now obsolete Project Status administation feature spec.
2025-06-11 16:31:30 +01:00
Alexander Brandon Coles a0c8d92c12 Integrate Project Status Button in Settings form 2025-05-01 16:06:18 +01:00
Oliver Günther 8c7051fbeb Add test selector, fix name label association 2025-04-30 08:36:57 +02:00
Alexander Brandon Coles bc5501c896 Fix autocompleter handling of options with nil ids
Ensures `AutocompleterInput::Option` is always serialized with explicit
nils.
2025-04-28 15:13:23 +01:00
Alexander Brandon Coles a76a8f9dde Fix display of not visible parent in autocompleter
Users who do not have the permissions to view the parent project should
see a placeholder value.
2025-04-28 15:13:23 +01:00
Alexander Brandon Coles b8988b3a69 [#61889] Primerize Project Settings>Information forms
Updates the form visuals and functionality according to new wireframes:
the form on the Project Settings > Information page has been split into
multiple discrete forms.

In detail:

* Introduces `Projects::Settings::General::ShowComponent`.
* Creates Primer forms with basic specs.
* Adds `Projects::Settings::GeneralController#update` action, routes and
  accompanying permissions.
* Updates "Edit Settings" feature specs for new forms, also rewriting
  some expectations that were reliant on `data-qa-name` attribute that
  Primer form components do not render by default.
2025-04-28 15:13:05 +01:00