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:
+1
-1
@@ -6,7 +6,7 @@ import react from '@vitejs/plugin-react'
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
define: {
|
||||
__APP_VERSION__: JSON.stringify('1.5.0'),
|
||||
__APP_VERSION__: JSON.stringify('1.5.1'),
|
||||
__APP_VERSION_DATE__: JSON.stringify('2026-05-10'),
|
||||
},
|
||||
server: {
|
||||
|
||||
Reference in New Issue
Block a user