From 3148742b323ab71f1ef768a2f4dc353c00944034 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 8 Sep 2026 09:25:03 +0200 Subject: Share grocery row component and list-page form actions - GroceryRow.svelte renders the toggle row (checkbox, name, best ref, arrow link) for both the list and catalog pages - grocery-actions.ts grows full form actions: addCategoryAction, addGroceryAction, addGroceryAndEditAction, deleteByIdAction; the categories/groceries route servers become thin wrappers --- src/routes/groceries/catalog/+page.svelte | 49 +++++-------------------------- 1 file changed, 8 insertions(+), 41 deletions(-) (limited to 'src/routes/groceries/catalog/+page.svelte') diff --git a/src/routes/groceries/catalog/+page.svelte b/src/routes/groceries/catalog/+page.svelte index 59e2018..2b92a35 100644 --- a/src/routes/groceries/catalog/+page.svelte +++ b/src/routes/groceries/catalog/+page.svelte @@ -1,7 +1,7 @@