From 04fabf115ccea31ac504b06cc51d78423b697f60 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 28 Jul 2026 15:07:57 +0200 Subject: refactor: services layer, valibot validation, shared CSS utilities, aria labels, and drizzle migrate - Extract groceries/categories/references services with db injection - Add valibot for form validation and safe numeric id parsing - Fix category delete FK behavior with onDelete: set null + migration - Replace custom migrate.js with drizzle-orm/libsql/migrator - Add shared CSS utility classes in app.css (forms, lists, buttons) - Add aria-pressed and aria-label on interactive elements - Remove redundant app.css imports and unused /stores import - Add integration tests for all services using drizzle migrate helper - Remove smoke test; add db:migrate and db:studio scripts --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 86ce6b4..5046e06 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,13 @@ efficient shopping walk. ## TODO - [ ] Edit grocery category -- [ ] Global code review +- [x] Global code review (services, validation, tests, aria) +- [ ] Keyboard focus +- [ ] Bug: list and catalog show the same items +- [ ] PWA +- [ ] Weird form stickyness that collapse the gap with the navbar +- [ ] Live updates from server +- [ ] Extract color palette ## Deploy -- cgit v1.3