54 Commits

Author SHA1 Message Date
Ivan Kuchin f6e073f0a1 [#74769] Remove portfolio_models feature flag
https://community.openproject.org/wp/74769
2026-05-28 13:53:08 +02:00
Tomas Hykel 948fa43321 chore: Remove feature flag for project-based work package identifiers 2026-05-25 17:45:06 +02:00
Tomas Hykel 717e90064c move a let statement 2026-03-19 22:37:03 +01:00
Tomas Hykel c2f35aad93 DRY up component specs 2026-03-19 22:33:41 +01:00
Tomas Hykel d3ac57c100 rubocop bit 2026-03-16 23:11:43 +01:00
Tomas Hykel 1f378939ee add a test 2026-03-16 22:57:51 +01:00
Tomas Hykel b2055c2b8e fix the test that includes delay 2026-03-16 22:43:51 +01:00
Tomas Hykel b5e4f3a886 lint 2026-03-16 22:22:43 +01:00
Tomas Hykel 69561040e2 add more tests 2026-03-16 22:16:30 +01:00
Tomas Hykel 811b23d6dc shorten the identifier spec 2026-03-16 19:56:29 +01:00
Tomas Hykel e04ee02462 [#71896] Add support for semantic IDs into Change Project Identifier 2026-03-12 21:41:21 +01:00
ulferts e47e387196 merge ProjectHelper into ProjectsHelper 2026-02-27 15:58:04 +01:00
ulferts 365d3e8dc2 rename Project status to Status 2026-01-06 14:55:20 +01:00
Alexander Brandon Coles d5d7028a4a [#63744] Make Settings form subheadings full width
https://community.openproject.org/work_packages/63744
2025-12-30 11:21:52 -03:00
Ivan Kuchin 41ba6f78fc test Projects::IndexSubHeaderComponent 2025-12-16 17:16:30 +01:00
Oliver Günther c458b1ecfa Show PIR button only if you have edit_project_attribute permissions 2025-12-09 11:47:33 +01:00
Oliver Günther 88c7c66fa4 Add PIR status 2025-11-26 13:09:00 +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 53b0c14191 Skip validating custom fields when creating a project from a template. 2025-11-19 20:14:10 +02:00
Jens Ulferts c3d480b34c Merge pull request #21042 from opf/implementation/68876-render-the-portfolio-status-badge-in-the-portfolio-view
Implementation/68876 render the portfolio status badge in the portfolio view
2025-11-18 14:34:31 +01:00
Tobias Dillmann 78409c4476 [#68876] Status button component specs 2025-11-18 12:03:40 +01:00
Ivan Kuchin 6aa6e00852 keep workspace type url when selecting template 2025-11-17 21:16:32 +01: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
ulferts c46cb4ddab use danger dialog for storage removal confirmation 2025-10-02 10:08:32 +02:00
Alexander Brandon Coles 9d0e995cf3 Merge branch 'dev' into implementation/66904-split-up-overview-and-dashboard 2025-09-11 12:29:01 +01:00
Alexander Brandon Coles 2b144e8542 Fix wording: Change "Favored" to "Favorited"
Favorite is the correct term in the context of expressing a preference
for a particular project / other OpenProject domain object.

Updates `ActsAsFavorable` to `ActsAsFavoritable`, as well as filenames,
identifiers and strings to:

    favored => favorited
    favorable => favoritable
    favoring => favoriting
2025-09-10 19:08:15 +01:00
Alexander Brandon Coles 6f2885e036 Skip rendering Status Badge if status not set 2025-09-10 18:23:58 +01:00
Alexander Brandon Coles 69a4fadf74 Add initial spec for StatusBadgeComponent 2025-09-09 13:58:46 +01:00
Alexander Brandon Coles 4be9c2d418 [#67159] Fix Delete action in Projects List menu
Overlooked in OP # 64885 / opf/openproject#19684.

Adds simple example (dialog invocation only) to Projects Lists feature.
2025-09-01 23:17:06 +01:00
Alexander Brandon Coles 6005117e31 Add basic spec for Projects::RowComponent menu 2025-09-01 15:27:15 +01:00
Alexander Brandon Coles ed2ce8f7a1 Update Delete Project Danger Dialog copy
Updates formatting of subprojects list.
Removes storage deletion warning.
2025-08-28 12:47:36 +01:00
Alexander Brandon Coles 0936b2a717 [#64885] Impl. Danger Dialog for Project Delete 2025-08-27 16:19:53 +01: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 3344904253 Implement disabled project select on copy page
Creats a `Projects::SourceProjectSelectComponent`.
2025-07-02 13:42:03 +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
OpenProject Actions CI ab3d00320a Merge branch 'release/16.1' into dev 2025-06-16 12:28:10 +00:00
Alexander Brandon Coles 7a520e2242 [#64471] Teach Status Component to render help text
Fixes missing attribute help text link for Project Status on the Project
Settings > Information page.
2025-06-16 10:14:02 +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
Jan Sandbrink 03c8db36bf Merge pull request #18806 from opf/frozen-specs
Freeze string literals in specs
2025-05-07 07:54:10 +02:00
Jan Sandbrink 0b87e7543f Freeze string literals in specs
Rolling out frozen string literals further by freezing all
string literals in core specs.
2025-05-05 09:29:55 +02:00
Alexander Brandon Coles 3550aade49 Use DELETE method to unset project status
* Updates `StatusButtonComponent` to use `turbo-method: :delete` for
  "Not set" menu item.
* Adds `Projects::StatusController#destroy` action, routes and
  accompanying permissions.
2025-05-02 00:43:47 +01:00
Alexander Brandon Coles 9141980b97 Fix test selector in ShowComponent spec 2025-05-02 00:43:47 +01:00
Alexander Brandon Coles a0c8d92c12 Integrate Project Status Button in Settings form 2025-05-01 16:06:18 +01:00
Alexander Brandon Coles 7d92ee2831 [#63482] Implement Project Status Button Component
* Introduces `Projects::StatusButtonComponent` and its Lookbook Preview.
* Defines colours, icons as (Ruby) constants nested under
  `Project::Statuses` (c.f. `Meetings::Statuses`).
* Adds `Projects::StatusController` with `#update` action, routes and
  accompanying permissions.
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 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
Ivan Kuchin 831f750cd3 remove hover card fallback for the case when phase is absent or not active 2025-04-08 14:23:34 +02:00
Ivan Kuchin 40321ebed9 rely on deleation from phase to phase definition 2025-04-08 14:09:14 +02:00