You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.6 KiB
1.6 KiB
Plan
Status: ready_for_implement
Goal: implement ROADMAP.md Priority 3 — show the "Laundry done" status text in green (#1a7f37). T-001..T-004 are done and unchanged in behavior.
Scope
- CSS-only change in the page plus docs and a test. No backend, JSON contract, status rule or message text changes.
- Out of scope: dark mode, other state colors, layout changes.
T-005 — Green "Laundry done" text
Background: internal/web/static/index.html sets the #status element's class to data.state, so the done state gets class done (currently unstyled, i.e. default #111).
Files to change
internal/web/handler_test.go(tests first): inTestPageAndRouting, add.done { color: #1a7f37; }(match the exact rule text used in the page) to the list of expected page substrings. Rungo test ./internal/weband confirm it fails before the page change.internal/web/static/index.html: add.done { color: #1a7f37; }next to the existing.running/.waitingrules (around line 12).README.md: in the status table (line ~26) change the "Laundry done" color from "Default text color" to "Green". Check the rest of the README for any other mention of the done color and keep it consistent.ROADMAP.md: already updated by the planner (Priority 1 table row and Priority 3); no further edit needed.
Validation
go fmt ./...,go vet ./...,go test ./....- Optional smoke: run the service, force a done state, and confirm the text renders green on a 360px viewport.
Commit message
feat(web): show "Laundry done" status text in green