Session 48: Log out, History in #223
Labels
No labels
accessibility
area:accounts
area:ai-evals
area:look
area:maps
area:platform
area:rides-progress
area:riding
area:today-plan-coach
area:ui-shell
bot:blocked
bot:failed
bot:pr
bot:waiting
bot:working
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
later
now
owner-check
parked
question
ready
session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/trainer#223
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
48 · Log out, History in
Phase: UI polish · Branch:
session/48-history-nav· Depends on: 46 (the roadbook redesign)The Log page repeats what Plan shows for the current block. Its only actions are Log and Free ride, and the part with lasting value, the full history at
/log/history, hides behind a "See all" link at the bottom that the owner never noticed. This session removes Log as a page, makes History a destination of its own, and finds a home for each thing Log did. Session 49 turns History into a calendar; this one keeps the current History list so the two land separately.Read first
src/components/app-shell.tsx(the nav, the rail's foot),src/routes/_app/log/index.tsx(LogSheet,LOG_ACTIONS, the pending and failed rows),src/routes/_app/log/history.tsxsrc/components/sync-status.tsxandsrc/lib/offline.tsx(queued and refused writes, retry, discard)/log:grep -rn "'/log'\|\"/log\"" src(the strength logger, hand-logged ride, import, Today's "See it in Log", the ride page's back links)DESIGN.md,src/styles/tokens.stylex.ts,.impeccable/surfaces/src-routes-app.mdGoal
/history. Move the route from/log/history, unchanged in content for now (49 replaces it). Ride pages opened from it keep "Back to History"./log/historyredirects to/history./log/strength,/log/ride,/log/import) keep their URLs./logredirects to/today.Rules
railFocusin the shell).Tests
offline.e2e.tsand any flow that started from/log(import, a11y's Log sheet scan) move to their new entry points. A refused write is retried, and another discarded, from the sync bar./logand/log/historyredirect. Axe and the keyboard tab-stop checks pass on every main page.Out of scope
The History calendar (49). Note under Follow-ups whether the Log icon is still used anywhere and can go.
Done when
There is no Log page; History is one tap from anywhere; logging is one tap from the rail on a desk and from Today on a phone; a refused offline write is recoverable from the sync bar. Unit, typecheck, lint, format, audit and e2e pass. End-of-session ritual in
CLAUDE.md.Moved from
prompts/48-log-out-history-in.mdon 2026-11-08.