Action | Type | Resolved On |
|---|---|---|
| Auto Due | UX | 2025-12-22 |
This UX improvement automatically suggests a due date when creating goals, particularly for weekly goals. The suggested due date is set to the Sunday of the specified week, providing a natural deadline for weekly planning and review.
This streamlines the goal creation workflow by eliminating the need to manually select a due date in most cases, while still allowing users to override the suggestion if needed.
Updated Components:
src/components/planner/benben/create/NewGoal.astro - Auto-calculate and pre-populate due datesrc/components/planner/benben/Week.astro - Pass week number to NewGoal componentLogic: When creating weekly goals:
startOfYear + addWeeks + endOfWeekYYYY-12-31 as the due date instead of SundayWeekNum() logic in src/lib/weekly.ts for December wrappingExamples:
16c5527 - Implement Auto Due UX improvement for weekly goalse8d56ba - Fix auto-due date calculation to use specified week numberb0614ab - Use Dec 31 as auto-due date for last week of year