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.
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
Makes `TemplateSelectComponent` and `SourceProjectSelectComponent`
implementations consistent. `TemplateAutocompleter` is unlikely to be
reused by other components at present.
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.
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.
* Updates `StatusButtonComponent` to use `turbo-method: :delete` for
"Not set" menu item.
* Adds `Projects::StatusController#destroy` action, routes and
accompanying permissions.
* 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.
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.