No description
Three coupled changes that all serve the same goal — less furniture above the route, more honest information below it. Progress dots gone. At 5 pills × ~400px per pill the strip was too coarse to feel meaningful; the arrows + edge fades already communicate scroll position. .rr-progress markup, the script logic that updated the .active class, and the .rr-progress / .rr-progress-dot styles are all deleted. Legend moves from beside 'The route' in the section header to below the track, centred. Reading order is now title → walk the path → key, which is the order it makes sense in. The header collapses to just the title on the left and the two arrow buttons on the right. Path amplitude is no longer constant. computeRouteLayout multiplies the base amplitude (120) by a per-item factor that ramps 0.78 (first off-axis item) → 1.18 (last item), so closer-in items swing tighter and further-out items swing wider. The visual effect is subtle but the path now feels hand-planned instead of strictly sinusoidal. Test updated to verify the multiplier — |itemY[2] - midY| now exceeds |itemY[1] - midY| in the 3-item case. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| content | ||
| design | ||
| migrations | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| astro.config.mjs | ||
| CLAUDE.md | ||
| DECISIONS.md | ||
| HANDOVER.md | ||
| KNOWN_ISSUES.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| SPEC.md | ||
| todo.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||