Habit management: every goal and schedule, rename, archive, vacations #7
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/habit-management"
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?
Stacked on #6.
Backend (Habits):
RenameHabitandArchiveHabit. Archiving stops tracking from the user's today, in the tracker's zone:archived_on.WEEK_STARTconstant).Web app (state, works offline): log progress, record a slip, rename, archive, plan and cancel vacations. The domain refuses what the server would, with the same error codes. Cancelling a vacation already under way cuts it short at yesterday, as on the server.
Web app (screens):
@jsverse/transloco-messageformat8.4.0 ("2 days in a row", "1 week in a row").Design system: number, date, segment and chip fields that work as Signal Forms controls; a chip select; a section; a back button and actions slot in the page layout. Ionic's
normalize.cssandtypography.cssnow load in thebaselayer, so Tailwind utilities apply to plain buttons and headings (documented in TOOLING 7.2 and pitfalls).Checked in the browser as the dev user:
The earnings prediction followed each step (+14 / +17 nectar, perfect-day pollen on and off), and the database matched.
Known: messageformat pushes the initial bundle to 950 kB, over the 800 kB budget (a warning, not a failure), and it is CommonJS.
🤖 Generated with Claude Code