Task: Window the timeline chart with back/forward navigation

Table of Contents

This page documents a task in the Agile timeline: bucketed summaries of recent activity story. It captures the goal, current status, acceptance, and any notes or results.

Goal

The board timeline chart shows a sliding window of buckets with back/forward navigation, instead of rendering every bucket at once (which crammed the bars and made the x-axis labels overlap into an unreadable smear).

Status

Field Value
State DONE
Parent story Agile timeline: bucketed summaries of recent activity
Now Nothing.
Waiting on Nothing.
Next Nothing.
Last touched 2026-06-08

Acceptance

  • The timeline chart shows a fixed window of buckets (default 10), not the whole timeline.
  • ← earlier / later → buttons page the window by a windowful, clamped at the ends, with a range indicator (from … to · N–M of T).
  • Clicking a bar still opens that bucket's snapshot (selection maps to the absolute bucket index across windows).
  • The default window is the most recent buckets.

Plan

(Implementation strategy. Written when work starts; key decisions are distilled into the parent story's * Decisions at close, but the plan itself stays — it is the historical record of what we did.)

Notes

PRs

PR Title
#1200 [agile] Mop up Sprint 20 audit and regenerate the timeline

Review

Comment summary File Decision Notes
       

Result

Implemented in projects/ores.org-js/agile: TimelineView (app.js) renders a sliding window of TL_WINDOW (10) buckets, defaulting to the most recent, with ← earlier / later → buttons that page by a windowful (clamped at the ends) and a range indicator; StackedBars (charts.js) maps bar clicks and the selected highlight to absolute bucket indices across windows and thins the x-axis labels. Realises the movable-time-window capture (Timeline board chart needs a movable time-window). Delivered via PR #1200.

Emacs 29.1 (Org mode 9.6.6)