Difficulty and estimated duration for guides (#92) #110
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/92-difficulty-and-duration"
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?
Closes #92
Summary
A guide gets an optional Difficulty (easy / medium / hard) and Estimated Duration (minutes, entered as hours + minutes), set in the guide's properties and shown as badges.
Without values nothing is shown. No filtering or sorting (out of scope). GLOSSARY: new entries Difficulty and Estimated Duration.
Evidence
effort.test.ts, the newGuideListingbadge tests, the extendedproperties.test.tsfail (no module / no fields)After:
vitest run→ 50 files, 404 tests passed;tsc --noEmitandeslintcleandifficulty: "medium", estimatedMinutes: 90shows the badges "Mittel" and "ca. 1 h 30 min" under the title; read view and tile checked in the dev server.Merge Danger
Door: two-way
Additive migration: two nullable columns on
Guide, no backfill.Blast Radius: small
ChoiceGroupgained an optionalstackedlayout and an optionaldescription; visibility and page status groups render as before. Note for #93: difficulty and duration are saved with the properties (immediately, without version bump) and must move to the versioned content save when the working copy lands.🤖 Generated with Claude Code