Commit Graph

29 Commits

Author SHA1 Message Date
Nils-Johan Gynther 000a28bea4 feat: finalize category seeding process and remove obsolete product categorization logic
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-09 15:20:16 +02:00
Nils-Johan Gynther 5b6d44b555 feat(receipt-import): enhance receipt processing with new category rules and add unit tests
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 19:55:32 +02:00
Nils-Johan Gynther 6abedff07a feat(seed): add new categories for Delikatesschark, Sylt, mos & marmelad, and Hårdost lagrad 2026-05-03 18:20:09 +02:00
Nils-Johan Gynther a555e74201 feat(receipt-import): add function to ignore specific receipt names and filter out ignored items
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 18:18:07 +02:00
Nils-Johan Gynther fa7f225ee5 feat(receipt-import): enhance bread category detection and improve session management
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 16:34:15 +02:00
Nils-Johan Gynther 98e065a3e2 feat(seed-script): enhance category mapping with dynamic subcategory checks 2026-05-03 12:44:51 +02:00
Nils-Johan Gynther 00ec332136 refactor(init-script): simplify initialization script for Prisma migrations 2026-05-03 12:40:25 +02:00
Nils-Johan Gynther d47d6466a8 fix(deploy): update seed script references to use full seed_all.sql 2026-05-03 11:38:38 +02:00
Nils-Johan Gynther b2eb870ec7 feat(receipt-import): add refresh categories endpoint and UI integration
Co-authored-by: Copilot <copilot@github.com>
2026-05-03 10:48:06 +02:00
Nils-Johan Gynther 4e568b4d2e feat(migration): enforce ownerId requirement in Product table
- Removed all products without an owner to maintain data integrity.
- Updated ownerId column to be non-nullable.
- Modified foreign key constraint for ownerId to use ON DELETE CASCADE.
2026-05-02 19:05:33 +02:00
Nils-Johan Gynther ec24f49836 feat(categories): add new categories for Kondis & fika and Kaffebröd, and Te & choklad 2026-05-02 17:44:01 +02:00
Nils-Johan Gynther 1604751b65 feat(receipt-import): add rule-based category suggestion logic for items
feat(migrations): add new categories for lactose-free products and allergy options
2026-05-02 16:42:33 +02:00
Nils-Johan Gynther 96b98cdc2f feat: expand category structure in seed_all.sql with new categories and subcategories 2026-04-20 10:15:01 +02:00
Nils-Johan Gynther 924ef649fc refactor: reorganize seed_all.sql for improved clarity and structure 2026-04-19 23:13:09 +02:00
Nils-Johan Gynther c589447cf8 fix: add LIMIT clause to product category updates for 'Skafferi' to ensure single result 2026-04-19 22:58:14 +02:00
Nils-Johan Gynther 27af419320 fix: remove 'Övrigt' category and limit product category updates to a single result 2026-04-19 22:57:03 +02:00
Nils-Johan Gynther 89f70c74e5 fix: add LIMIT clause to category selection for 'Läsk' to ensure single result 2026-04-19 22:48:55 +02:00
Nils-Johan Gynther e7a1606816 Refactor code structure for improved readability and maintainability 2026-04-19 22:46:10 +02:00
Nils-Johan Gynther 7538117c26 fix: update product seed data by adding vinegar and correcting insertion method for fresh herbs 2026-04-19 22:25:04 +02:00
Nils-Johan Gynther 3270fab2fc Implement feature X to enhance user experience and optimize performance 2026-04-19 22:24:10 +02:00
Nils-Johan Gynther ee2da83c71 feat: add initial product seed data for various categories 2026-04-19 22:11:04 +02:00
Nils-Johan Gynther a069d7d3d7 fix(categories): update 'Kött' category name to 'Kött och fågel' 2026-04-18 15:16:02 +02:00
Nils-Johan Gynther 00dc0d6c69 fix(docs): update NEXT_STEPS, README, and TEKNISK_BESKRIVNING with user role management details and new category structure 2026-04-18 14:41:04 +02:00
Nils-Johan Gynther 6cec7ca6dd feat(seeds): add seed_product_categories.sql for product-category mapping 2026-04-18 08:41:57 +02:00
Nils-Johan Gynther a763f65654 feat(categories): add category seeding functionality and update deployment script 2026-04-17 22:57:53 +02:00
Nils-Johan Gynther 543059f405 feat(products): restore seed data for product initialization 2026-04-17 21:30:53 +02:00
Nils-Johan Gynther befa15609a feat(database): add script to reset product data and related tables 2026-04-17 21:20:45 +02:00
Nils-Johan Gynther 3f4fe890df feat: update Recipe model to use TEXT type for description and add seed data for products 2026-04-16 18:53:48 +02:00
nilsjohan 962f4e4be5 Recipe-app main 2026-04-09 09:14:39 +02:00