<feed xmlns='http://www.w3.org/2005/Atom'>
<title>home-sveltekit/drizzle/meta/0001_snapshot.json, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kagamino.dev/home-sveltekit/atom?h=main</id>
<link rel='self' href='https://git.kagamino.dev/home-sveltekit/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/home-sveltekit/'/>
<updated>2026-07-28T13:07:57Z</updated>
<entry>
<title>refactor: services layer, valibot validation, shared CSS utilities, aria labels, and drizzle migrate</title>
<updated>2026-07-28T13:07:57Z</updated>
<author>
<name>Martin Kagamino Lehoux</name>
<email>martin@lehoux.net</email>
</author>
<published>2026-07-28T13:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/home-sveltekit/commit/?id=04fabf115ccea31ac504b06cc51d78423b697f60'/>
<id>urn:sha1:04fabf115ccea31ac504b06cc51d78423b697f60</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>refactor: rename brand to reference everywhere</title>
<updated>2026-07-27T19:07:48Z</updated>
<author>
<name>Martin Kagamino Lehoux</name>
<email>martin@lehoux.net</email>
</author>
<published>2026-07-27T19:07:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/home-sveltekit/commit/?id=d9a200cd35a3d06173846a45c9f58acb1adf61aa'/>
<id>urn:sha1:d9a200cd35a3d06173846a45c9f58acb1adf61aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: product references + grocery detail page</title>
<updated>2026-07-27T17:53:11Z</updated>
<author>
<name>Martin Kagamino Lehoux</name>
<email>martin@lehoux.net</email>
</author>
<published>2026-07-27T17:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/home-sveltekit/commit/?id=e075698891d653330b5d5d0f80c2c3495aee6262'/>
<id>urn:sha1:e075698891d653330b5d5d0f80c2c3495aee6262</id>
<content type='text'>
- references table (brand, price, unit, quality_score) with FK to groceries
- /grocery/[id] page for managing references per item
- Unit dropdown (€/kg, €/L, €/u) defaulting to €/kg
- → link on all items navigates to detail page
- Delete item moved from catalog to detail page
</content>
</entry>
<entry>
<title>feat: separate categories table + /categories management page</title>
<updated>2026-07-27T16:31:26Z</updated>
<author>
<name>Martin Kagamino Lehoux</name>
<email>martin@lehoux.net</email>
</author>
<published>2026-07-27T16:31:26Z</published>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/home-sveltekit/commit/?id=e14717b2e7853705469275d64023bb902b195ebb'/>
<id>urn:sha1:e14717b2e7853705469275d64023bb902b195ebb</id>
<content type='text'>
- Categories table (id, name unique) with FK from groceries.category_id
- /categories page for add/delete categories
- Main page uses native &lt;select&gt; dropdown for category
- Categories grouped by name in list/catalog views
- Regenerated drizzle migrations from scratch
</content>
</entry>
<entry>
<title>feat: catalog section + deduplicate items by name</title>
<updated>2026-07-27T15:18:40Z</updated>
<author>
<name>Martin Kagamino Lehoux</name>
<email>martin@lehoux.net</email>
</author>
<published>2026-07-27T15:18:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kagamino.dev/home-sveltekit/commit/?id=6722589b515ccee267212cf783fc0ebbaa20cd90'/>
<id>urn:sha1:6722589b515ccee267212cf783fc0ebbaa20cd90</id>
<content type='text'>
- Show all items split into List (unchecked) and Catalog (checked) sections
- Tapping a catalog item unchecks it (returns to list)
- Add action now upserts: unchecks existing item instead of creating duplicate
- UNIQUE constraint on groceries.name as defense-in-depth
- Tests for dedup behavior (insert, re-add from catalog, no-op on list)
</content>
</entry>
</feed>
