feat: plan scout evenings from bases #4

Merged
TimCane merged 15 commits from feat/bases into main 2026-06-08 00:04:22 +01:00
TimCane commented 2026-06-08 00:03:29 +01:00 (Migrated from github.com)

Summary

  • add a bases content collection: a base is one activity run on an evening, listing the leaf requirements it covers across any badge, plus duration, equipment and tags
  • /bases library with search and tag filters; /bases/<slug> detail; /bases/new in-app builder that exports an index.md to commit
  • /plan evening planner: a browser-saved cart of bases, a target length with over/under, per-badge coverage, an aggregated kit list, and named saved evenings (reopen/duplicate/delete)
  • the plan is the only source of completion: a requirement is done when a base in your plan covers it, named on the badge page; no separate manual progress
  • home browser and badge pages show what the current plan would complete
  • nav links and a live plan count

Test plan

  • pnpm test (45 tests: plan, evenings, coverage math)
  • pnpm astro check clean; pnpm build builds all pages
  • exercised locally: add/remove bases, save/open evenings, set length, verify badge coverage and kit list
## Summary - add a bases content collection: a base is one activity run on an evening, listing the leaf requirements it covers across any badge, plus duration, equipment and tags - `/bases` library with search and tag filters; `/bases/<slug>` detail; `/bases/new` in-app builder that exports an `index.md` to commit - `/plan` evening planner: a browser-saved cart of bases, a target length with over/under, per-badge coverage, an aggregated kit list, and named saved evenings (reopen/duplicate/delete) - the plan is the only source of completion: a requirement is done when a base in your plan covers it, named on the badge page; no separate manual progress - home browser and badge pages show what the current plan would complete - nav links and a live plan count ## Test plan - `pnpm test` (45 tests: plan, evenings, coverage math) - `pnpm astro check` clean; `pnpm build` builds all pages - exercised locally: add/remove bases, save/open evenings, set length, verify badge coverage and kit list
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
1st-Chertsey-Scout-Group/badge-evening-planner!4
No description provided.