Skip to content

Tours: registry moves to compositions, TourId derives from it - #1114

Merged
rulkens merged 1 commit into
mainfrom
chore/app-tour-registry
Nov 10, 2026
Merged

rulkens merged 1 commit into
mainfrom
chore/app-tour-registry

Conversation

@rulkens

@rulkens rulkens commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Moves the tour registry to src/compositions/appTours.ts as APP_TOUR_REGISTRY (satisfies Record<string, Tour>) and makes TourId keyof it, so adding a tour is one row instead of two edits. The Tour type references TourId and the registry references Tour; this resolves fine under tsc.

The tour content files (demoTour, webShowcase, grandTour, beats) are deliberately left in src/data/animation/tours/ because draft #1070 edits ~30 of them. They move to compositions/tours/ after #1070 lands.

Ledger row: set to DONE (the hand-written union and the core table are gone; the row files are content, not a per-kind table). Tally now 25 DONE, 9 TODO.

The registry test moved with the file (tests/compositions/appTours.test.ts); it checks id/key match, which the type cannot, so it stays.

🤖 Generated with Claude Code

@rulkens
rulkens merged commit 6c8f566 into main Nov 10, 2026
2 checks passed
@rulkens
rulkens deleted the chore/app-tour-registry branch November 10, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant