Adds actions to issue sticky header
What does this MR do and why?
Makes any available actions accessible when scrolled from the sticky header. Actions should match what's available at the top of the issue 1-to-1.
This ensures that users can take any action on the issue without having to scroll to the top; this is especially helpful when working in the discussions or when deeplinked to a comment (scrolled by default). As we've moved more actions out of the sidebar and into the header, this provides the same persistent access that existed from the sidebar.
As we change the treatment of the actions at XS to a larger, full-width dropdown, this does not show actions in the XS header. This could be explored in a follow up.
This affects both issues and epics.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After | |
---|---|---|
Epic | ![]() |
![]() |
Issue | ![]() |
![]() |
Actions menu | ![]() |
|
Without edit permissions | ![]() |
|
With truncated title | ![]() |
![]() |
How to set up and validate locally
- Open an issue or epic
- Add a description and/or shrink the window height to make it long enough to scroll
- Scroll down
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.