circagraph
Sign inSign up

openchronology/timeline-app on GitHub

The OpenChronology repository on GitHub, mirrored by och-import-github: issues and pull requests as durations (ongoing while open), what happened to them as moments, plus releases, milestones, commits and branches. The Branches view shows the most recently active branches each in a track of its own.

Source: https://github.com/openchronology/timeline-app

3,131 moments · 2026-10-05 CE 20:21:49 UTC – 2026-11-16 CE 12:10:45 UTC · by @athan · @athan

#558 Separated and compared tracks at the reader's text size

–

  • github
  • github/openchronology/timeline-app
  • github/openchronology/timeline-app#558
  • pull request
  • state:merged

Closes #556. With two or three separations, each track was drawn 340px tall and the whole set was scaled to fit the 365px stage, often to under half size. Labels were unreadable until A+ was pressed several times. ## What changes - **Text size:** tracks (separations, and comparisons not combined) now open at the reader's text size: the base scale, 0.75 on phones. - **Stage height:** the stage grows to show every track, up to the window's height less 140px for the toolbar. Taller sets pan vertically, as before. `fitStageToTracks` sets a `--stage-tracks-height` on `.timeline-stage.stage-tracks`. - **Rejoining:** the stage returns to its 365px on rejoining. - **Phones and full screen:** phones keep their own stage, which already takes most of the screen. Full screen keeps the whole window, since its rule is more specific. - **Centring:** a stage grown or shrunk for tracks re-centres them (or starts from the top when they don't fit), rather than shifting by half the change as other resizes do. ## Tests `test/tags-browser.mjs`: with three tracks, the scale stays 1, the stage grows (within the window), and it returns to 365px on rejoining. The full browser suite passes locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/558

Related

Open #558 Separated and compared tracks at the reader's text size in the timeline

#558 Separated and compared tracks at the reader's text size