v1.5.1: Show completed plan in Top Plans

Once every elective set is pinned, the Top Plans panel now renders the
user's completed selection as a single "Your Plan" card showing the
achievement count and pinned courses. Previously the panel went blank
because the all-pinned branch in useAppState cleared topPlans, even
though the spec strip was already showing the achievement.

Synthesizes a single PlanOutcome from pinnedAssignments +
optimizationResult.achieved + the priority scorer; TopPlans detects the
all-pinned state via ELECTIVE_SETS.every(...) and bypasses the
length>0 filter so a 0-spec completed plan still renders honestly.
This commit is contained in:
2026-05-10 11:57:56 -04:00
parent 3a5ebaa17a
commit cb2024f857
10 changed files with 246 additions and 5 deletions
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## v1.5.1 — 2026-05-10
### Changes
- **Top Plans surfaces the completed plan** — once every elective set is pinned, the panel renders the user's completed selection as a single "Your Plan" card showing the achievement count and the 12 pinned courses. Previously the panel went blank with a misleading "No plans yet…" placeholder, even though the spec strip was already showing the achievement.
- **0-spec completed plan still renders** — when the pinned selection happens to achieve no specializations, the plan card now shows `0` achievements honestly instead of falling back to the search-style placeholder.
- **Header copy** — the panel header switches to "Your Plan" (singular, no "ranked by specs achieved" subtitle) when selection is complete; reverts to "Top Plans" on unpin.
## v1.5.0 — 2026-05-10
### Changes