Project

General

Profile

Actions

Feature #42684

closed

Add a sticky header to keep the issue subject visible on scroll

Added by Mizuki ISHIKAWA 15 days ago. Updated 9 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

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

screenshot 2025-05-08 17.12.07.png (101 KB) screenshot 2025-05-08 17.12.07.png Mizuki ISHIKAWA, 2025-05-09 02:03
sticky-issue-header.gif (485 KB) sticky-issue-header.gif Mizuki ISHIKAWA, 2025-05-09 02:14
0001-Add-sticky-issue-header.patch (7.67 KB) 0001-Add-sticky-issue-header.patch Mizuki ISHIKAWA, 2025-05-09 02:15
screenshot 2025-05-08 17.21.31.png (83.9 KB) screenshot 2025-05-08 17.21.31.png Mizuki ISHIKAWA, 2025-05-09 02:18
screenshot 2025-05-09 9.18.55.png (59.2 KB) screenshot 2025-05-09 9.18.55.png Mizuki ISHIKAWA, 2025-05-09 02:19
0001-Add-sticky-issue-header.patch (6.52 KB) 0001-Add-sticky-issue-header.patch Mizuki ISHIKAWA, 2025-05-09 05:57
0001-Add-sticky-issue-header.patch (5.93 KB) 0001-Add-sticky-issue-header.patch Mizuki ISHIKAWA, 2025-05-09 06:03
Actions #1

Updated by Mizuki ISHIKAWA 15 days ago

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.

Actions #2

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.

Actions #3

Updated by Mizuki ISHIKAWA 15 days ago

Attached again because the patch contained some unrelated code

Actions #4

Updated by Mizuki ISHIKAWA 15 days ago

Sorry for the repeated updates. I removed unnecessary style definition.

Actions #5

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.

Actions #6

Updated by Go MAEDA 14 days ago

  • Subject changed from Add a Sticky Issue Header to Issue page to Add a sticky header to keep the issue subject visible on scroll
Actions #7

Updated by Go MAEDA 9 days ago

  • Status changed from Resolved to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed
Actions

Also available in: Atom PDF