Skip to content

Adds actions to issue sticky header

Nick Leonard requested to merge nl-sticky-issue-header into master

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 image.png image.png
Issue image.png image.png
Actions menu image.png
Without edit permissions image.png
With truncated title image.png image.png

How to set up and validate locally

  1. Open an issue or epic
  2. Add a description and/or shrink the window height to make it long enough to scroll
  3. 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.

Edited by Nick Leonard

Merge request reports