What Gets Saved
The Gantt chart persists the following user-level settings:| Setting | What It Controls | When It Saves |
|---|---|---|
| Zoom scale | The active timescale level (e.g., Week, Month, Day) | When you change the zoom level via the toolbar or menu |
| Column widths | The pixel width of each grid column | When you resize a column by dragging its border |
| Grid width | The overall width of the left grid panel (split point between grid and chart) | When you drag the grid/chart divider |
| Column visibility | Which columns are shown or hidden | When you toggle columns via the column header context menu |
How Storage Works
User settings are stored in the browser’s localStorage, keyed by a combination of:- The document URL (the Polarion page containing the Gantt chart)
- The setting name (e.g., SCALE, GRID)
- A version identifier that prevents stale settings from older Gantt versions from persisting
The Settings Lifecycle
When a Gantt page loads, the initialization process follows this sequence:- Configuration parameters are resolved from the server (admin defaults + per-instance values).
- User settings are loaded from localStorage.
- User settings override the configuration defaults where applicable. For example, if the default scale is
W(Week) but the user previously set it toM(Month), the chart loads in Month view. - The Gantt renders with the combined configuration.
Resetting to Defaults
If you want to clear your personal preferences and return to the configured defaults, use the Reset view action in the toolbar. This clears all user settings from localStorage for the current Gantt chart, reverting zoom, column widths, column visibility, and grid width to their original state.Browser and Session Scope
Because user settings are stored in localStorage (not on the server), they have the following characteristics:- Per-browser: Settings are specific to the browser you are using. If you switch from Chrome to Firefox, your preferences do not follow.
- Per-device: Settings do not sync between your desktop and laptop.
- Persistent: Settings survive browser restarts and page reloads. They are not cleared when you log out of Polarion.
- Clearable: Clearing your browser’s site data or localStorage will remove saved Gantt preferences.
The Gantt includes a version identifier in its storage keys. When a new version of the Gantt introduces changes to the settings format, the version is incremented, and any stale settings from the previous version are effectively ignored. This prevents compatibility issues after an upgrade.
Column Visibility Persistence
The column context menu (accessible by right-clicking any column header) allows you to show or hide individual columns. These visibility choices are persisted in localStorage alongside other user settings. The first column (typically the task title) is always visible and cannot be hidden. After hiding columns and reloading the page, your hidden columns remain hidden. This persistence applies to both built-in columns and custom columns defined in the configuration.Interaction with Configuration Parameters
User settings sit on top of the configuration hierarchy described in Configuration Layers and Precedence. The precedence order is:- User settings (localStorage) — highest priority for supported settings
- Per-instance parameters — per-chart configuration
- Administration properties — system/project defaults
- Built-in defaults — hardcoded fallbacks
Related Pages
- Configuration Layers and Precedence — the full configuration precedence chain
- Architecture and Data Flow — how settings flow through the rendering pipeline
Sources
Sources
Support TicketsSource Code
prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/view/checkToolbarScale.cy.tsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/userSettings.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/commands.jsprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/lightbox/assigneeCustomField.cy.tsprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/columns/column-context-menu.cy.ts