Project

General

Profile

Actions

Feature #44608

closed

Remember and auto-fit Gantt column widths

Added by Katsuya HIDAKA 30 days ago. Updated 26 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gantt
Target version:
Resolution:
Fixed

Description

Gantt column widths can already be adjusted, but they reset when changing the zoom level, month, or filters. This patch remembers the chosen widths and adds auto-fit to content, making schedules and project status easier to review.

  • Remember column widths across all Gantt charts. Widths are stored in localStorage.
  • Auto-fit column widths to the content of the header and visible rows by double-clicking the resize handle. The fitted widths are also remembered.
  • Automatically adjust the subject column width to fit the available space when the chart becomes narrower or is opened on a smaller screen. If the columns still do not fit, they can be viewed by horizontal scrolling.

This patch follows up on the column-width improvements I proposed in #44567#note-1.

Verification:

  • All automated tests pass.
  • Visual regression testing using the approach described in #44595#note-1: 43 scenarios covering display, interactions, printing, and PDF/PNG exports. No new regressions were found.
  • Manually tested in Chrome, Firefox, and Safari on macOS, and Chrome on Windows 11.

Files

Actions #1

Updated by Katsuya HIDAKA 30 days ago

You can also view this patch on GitHub: https://github.com/hidakatsuya/redmine/pull/77

To apply the patch locally, run the following from the Redmine source directory:

curl -L https://patch-diff.githubusercontent.com/raw/hidakatsuya/redmine/pull/77.patch | git am
Actions #2

Updated by Go MAEDA 29 days ago

  • Target version set to 7.1.0

Setting the target version to 7.1.0.

Actions #3

Updated by Go MAEDA 26 days ago

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

Committed the patches in r25265 and r25266. Thank you for the significant improvements to the Gantt chart.

Actions

Also available in: Atom PDF