Copying to clipboard is not deterministic in headless mode, so we need to
expect either the copy successful message or the fallback message when copying
is not possible.
This is not 100% deterministic, but it's the best we can do for now.
* create a breadcrumbs angular component
* change the styles of breadcrumbs component so it look like other breadcrumbs
* add breadcrumbs component to the partition query space component
* add breadcrumbs to boards
* add breadcrumbs to team planners and calendar
* add breadcrumbs to ifc viewer and wps and gantt pages
* add feature specs for modules that have breadcrumbs component
* add mobile view for breadcrumbs component
* fix mobile styles in bcf module
* remove margin-bottom from breadcrumb mobile since it has some space from toolbar title
* add a section for active breadcrumb
* move breadcrumb items for gantt and wp to a separate method
* fix urls for work packages and gantt pages when there is no project selected
* use only op- classes
* use existing translations and use capybara accessible selectors
* change gantt translation key
* fix failing test in boards
* add section header of side bar menu to the breadcrumb last item
* change css BEM styles and change the projectWorkPackages path to workPackages path
* undo css changes in bcf view
* fix failing tests
* change target of anchors
* Use real space instead of a margin so that screen readers can read it out correctly
---------
Co-authored-by: Henriette Darge <h.darge@openproject.com>
`Date.current.beginning_of_week` returns a Monday only if
`Date.beginning_of_week` is set to `:monday`, which may not be true on
all systems. We need to be explicit about it.
Co-authored-by: Klaus Zanders <k.zanders@openproject.com>
https://community.openproject.org/wp/63475
If it's resized, both start and due dates are set.
If it's dragged and dropped and it's a milestone, it's the same as
resizing: both dates are set.
If it's dragged and dropped and it's not a milestone, if it has a
duration, set duration and start date to deal with non-working days, and
if it has no duration, set start date if it was already set, or set the
due date.