Project

General

Profile

Actions

Feature #42684

closed

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

Feature #42684: Add a sticky header to keep the issue subject visible on scroll

Added by Mizuki ISHIKAWA over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
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

Related issues 1 (0 open — 1 closed)

Related to Redmine - Defect #43143: Edit heading is hidden behind sticky header after clicking the "Edit" link on issue pageClosedGo MAEDAActions

Updated by Mizuki ISHIKAWA over 1 year ago Actions #1

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 over 1 year ago Actions #2

  • 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 over 1 year ago Actions #3

Attached again because the patch contained some unrelated code

Updated by Mizuki ISHIKAWA over 1 year ago Actions #4

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

Updated by Go MAEDA over 1 year ago Actions #5

  • 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.

Updated by Go MAEDA over 1 year ago Actions #6

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

Updated by Go MAEDA over 1 year ago Actions #7

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

Updated by Go MAEDA about 1 year ago Actions #8

  • Related to Defect #43143: Edit heading is hidden behind sticky header after clicking the "Edit" link on issue page added
Actions

Also available in: PDF Atom