1.7 KiB
Today dashboard refinements
Today shows work hours for the device's current date, Monday–Sunday week and calendar month across all of the owner's customers/projects. Record work opens the current day's work form. Weekly regression coverage includes a week crossing a month boundary, Sunday/Monday exclusion and owner isolation; monthly report tests cover month boundaries and aggregation.
Example habits are named Reading and Walks independently of UI language. The migration renames existing original names for initialized accounts, preserving identifiers/counts and avoiding collisions with existing English names. Custom names are unchanged. Tests cover migration and one-time initialization.
Habit range messages retain their text. The normal indicator uses the Petrol primary text color and weight 600; warning indicators retain red and use the same weight. Local browser inspection confirmed computed colors rgb(8,107,120) and rgb(173,38,53), both weight 600, after incrementing Reading to its daily minimum. The Record work button opened today's form.
Historical guest-only permission to discard data was withdrawn on 2026-09-09 after successful initial account setup. All existing data must now survive migrations, including guest records.
Final production build, all JVM/operational tests and JAR smoke passed. Browser validation of the final JAR showed Today, This week and This month totals (3 h each for the local fixture).
Published b3c4790fe1 after Werkator succeeded in 120 seconds. Verified artifact deployed through tools/remote with result PASS. Read-only public browser verification confirmed distinct day/week/month totals, Record work and English example names; no browser errors. Existing data was retained.