Feature #42684
closed
Add a sticky header to keep the issue subject visible on scroll
Added by Mizuki ISHIKAWA 23 days ago.
Updated 17 days ago.
Description
This feature proposal suggests adding a sticky issue header that only appears when the subject of an issue is scrolled out of view.
This approach keeps the subject and ID visible without being intrusive during normal browsing, making it easier to keep track of the current issue, even on pages with a large number of comments or attachments. Additionally, it reduces the risk of mistakenly adding a comment to the wrong issue by always displaying the subject.


Files
Patch is attached.
In responsive mode, the header appears below the project jump.

If the subject is too long to fit on one line, omit it.

- Target version set to 6.1.0
Thank you for posting the patch.
Mizuki ISHIKAWA wrote:
Additionally, it reduces the risk of mistakenly adding a comment to the wrong issue by always displaying the subject.
Absolutely agree. This is a great way to prevent such mistakes.
I am setting the target version to 6.1.0.
Attached again because the patch contained some unrelated code
Sorry for the repeated updates. I removed unnecessary style definition.
- Status changed from New to Resolved
Committed the patch in r23752 with the following changes:
- Changed the font size from 0.75rem (12px) to 0.8125rem (13px).
- In source:trunk/test/system/sticky_issue_header_test.rb@23752#L29, the issue being tested from ID 1 to ID 2. This change was made because, in my environment, the /issues/1 page does not have enough height to display the sticky header, causing the test to fail.
Thank you for your contribution.
- Subject changed from Add a Sticky Issue Header to Issue page to Add a sticky header to keep the issue subject visible on scroll
- Status changed from Resolved to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Also available in: Atom
PDF