Make action boards available in Community Edition by removing
board_view-based frontend and create-form gating, and align boards
feature coverage with the new default behavior.
https://community.openproject.org/wp/73188
Uses `params[:project].type_ids` instead of `Task.type` when
the sprint has no work packages. This avoids the dependency on
the global backlogs Setting and uses the types actually enabled
for the project.
Removes the now-unnecessary `Setting.plugin_openproject_backlogs`
stubs from both service specs and ensures projects are created
with the required types.
`Status.where(id:)` does not preserve the order of the input IDs.
Extracts `statuses_in_order` to look up statuses by ID and return them
in the widget column order from the previous sprint board.
Determines status columns based on context rather than always using the
Task type's statuses. Reuses columns from the most recently created
sprint board on the project when one exists. Otherwise, derives columns
from the union of statuses across all work package types assigned to the
sprint. Falls back to Task type statuses when the sprint has no work
packages.
Introduce Boards::SprintTaskBoardCreateService and use it to create a
sprint task board with one query and widget per task status.
https://community.openproject.org/wp/69139
* add an input for the principal component to pass an alt text of avatar image
* Add avatar alt text in user menu for the user avatar
* Add alt text for assignee in wp single card
* add some description for the canvas
* add alt for images
* Show the summary of chart on it
* change the method parameters
* Hide the gantt chart from screen reader because it doesnt add any value for the screen reader user
* Use better name for inputs and improve the methods definitions
* fix eslint errors
* fix rubocup errors
* remove alt for bcf snapshot
* better structure for avatar in user menu
This is making the interface of BaseCallable more consistent.
Previously it was unclear, whether the params passed to perform
should be used to reference parameters or whether the attribute accessor
should be used. Different code used different approaches.
To apply this change more consistently, BaseContracted also removed
params from the methods called inside its own perform method, e.g.
before_perform or after_validate.
At a later point we might consider removing this argument from other large
inheritors as well, for example `BaseServices::SetAttributes#set_attributes`.
* add a new helper for breadcrumb in wiki page
* set page header in destroy page
* set page header in edit page
* set page header in history and rename and edit parent pages
* change toolbar items into page header items
* add new wiki action to sub header
* remove version edit page which is not in use any more
* add export as a menu item of the header
* fix rubocup errors
* fix failing tests
* replace page header in annotate page
* replace page header in diff page
* add page header in select menu page
* fix rubocup errors
* fix errors on rename test
* fix errors on selecting items from toolbar
* fix errors on tests for child pages
* set correct permission for configure menu item
* replace page header in summary page
* replace page header in summary details page
* edit docs of sub header
* add page header in wiki new page
* remove controller and a route for edit method
* undo changes for docs of sub header
* extract header in show page into a new component
* use helper method in header component
* add wiki module to the breadcrumb
* rename page header component for wiki page
* simplify how lock and lock implemented
* extract sub header
* remove wiki title from header of history page
* fix page header in new page
* use page.find_test_selector in test
* fix failing test for summary page
* fix failing test for wiki child pages
* change the summary test
* use test selector for page header title
* undo changes for activate user in admin
* use test selector in adding editing history test
* use test selector in attachment upload test
* use test selector in child pages tests
* use test selector in wiki menu items tests
* change test selector for breadcrumbs
* extract conditions to show edit button into a method
* extract conditions to show rollback action menu item into a method
* extract conditions to show create button into a method
* fix duplicated code in test
* Remove outdated `show_local_breadcrumb` method which is replaced by the Primer::PageHeader breadcrumb
* Remove `default_breadcrumb` method as it serves no prupose any more
* Remove the old breadcrumb and its hook completely
* remove breadcrumbs path from rename
* fix translations errors in storages
* undo changes on translations
* remove default breadcrumbs in time tracking controller
---------
Co-authored-by: Behrokh Satarnejad <b.satarnejad@openproject.com>
Co-authored-by: Behrokh Satarnejad <62008897+bsatarnejad@users.noreply.github.com>