Feature #42684
closedAdd a sticky header to keep the issue subject visible on scroll
0%
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
Updated by Mizuki ISHIKAWA 15 days ago
- File 0001-Add-sticky-issue-header.patch 0001-Add-sticky-issue-header.patch added
- File screenshot 2025-05-08 17.21.31.png screenshot 2025-05-08 17.21.31.png added
- File screenshot 2025-05-09 9.18.55.png screenshot 2025-05-09 9.18.55.png added
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.
Updated by Go MAEDA 15 days ago
- 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.
Updated by Mizuki ISHIKAWA 15 days ago
Attached again because the patch contained some unrelated code
Updated by Mizuki ISHIKAWA 15 days ago
Sorry for the repeated updates. I removed unnecessary style definition.
Updated by Go MAEDA 14 days ago
- 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.