Repository navigation
effort detail
github-actions[bot] edited this page Sep 19, 2026
·
1 revision
-
Route:
/e/:slug(legacy/effort/:slug) -
Host Component:
apps/playground/app/pages/EffortDetailPage.tsx -
Domain Models:
Effort(IEffort),Note,Session,EventRecord
-
JournalPageShell(apps/playground/src/panels/page-shells/JournalPageShell.tsx). Shell container for effort definition. -
NoteEditor(apps/playground/src/components/organisms/editor/NoteEditor.tsx). Renders freeform exercise notes, instructions, and technique cues. -
CalendarCard(apps/playground/src/components/atoms/CalendarCard.tsx). Inline calendar showing recent session dates for this movement.
-
useEffortContent(apps/playground/app/hooks/useEffortContent.ts). Loads effort attributes, derivation rules, and markdown body. -
useEffortRegistry(apps/playground/app/contexts/EffortRegistryContext.tsx). Upserts and resolves movement definitions. -
EffortResolver(@bitcobblers/wod-wiki-lang). Resolves inheritance chains and synthetic modifiers.
- Sticky Header: Movement title, MET badge, discipline pill, source indicator (Bundled / User), and Edit button.
- Attributes Section: Structured card displaying primary attributes (MET, discipline factor, intensity tier, aliases).
-
Prose Runway: Markdown instructions and form cues rendered in
NoteEditor. - History Rail (216px right): Recent workout executions involving this movement.
- Navbar: Movement title and discipline pill.
- Content Flow: Vertically stacked attributes card followed by markdown prose.
- Thumb Dock FAB: "Log Effort" or "Start Workout" button.
- Dock Overflow Sheet: Options to edit movement properties, clone effort, or view analytics.
-
Authoring Synchronization:
- Editing properties updates both the parsed registry record and the underlying note body.
- Invalid attributes trigger toast errors while preserving user draft text in place.
-
Recent Sessions Cross-Join:
- Queries
sessionsandeventswhereeffortSlug === slugto populate recent workout performance history.
- Queries