From e8b71cafacb544c83d39f801ea45b34978cde613 Mon Sep 17 00:00:00 2001 From: jableader Date: Sun, 13 Oct 2024 19:19:36 +1100 Subject: [PATCH] Squashed commit of the following: commit 0d4681feccfcc3fdb0894d21eba30a7a5a2897e4 Author: jableader Date: Sun Oct 13 19:19:08 2024 +1100 Split lists functional commit 6506f639faaf1c46130d8ae2d2ac2af842c7f332 Author: jableader Date: Sun Oct 13 18:22:23 2024 +1100 View previous shops commit 499b72dc19760eabd72f1de1942bcbf3e9ec121f Author: jableader Date: Sun Oct 13 18:02:22 2024 +1100 Able to save commit fa706d0500eebc748b61d449fc234227338cae5a Author: jableader Date: Sun Oct 13 14:15:54 2024 +1100 Empty overlapping shops works commit 33138d7cca78654903d74fcd53e79eef8734f58d Author: jableader Date: Fri Oct 4 17:53:52 2024 +1000 Works against old api --- src/assets/house-check.svg | 4 + src/assets/shopping-cart.svg | 4 + .../shopping/CurrentShoppingListPage.vue | 157 +++++++++++---- .../shopping/PurchasedShoppingListPage.vue | 11 +- src/components/shopping/ShoppingListItem.vue | 48 ++++- src/components/shopping/shopping.js | 183 ++++++++---------- src/data.js | 64 +++--- src/main.js | 2 +- src/units.js | 67 ++++--- 9 files changed, 326 insertions(+), 214 deletions(-) create mode 100644 src/assets/house-check.svg create mode 100644 src/assets/shopping-cart.svg diff --git a/src/assets/house-check.svg b/src/assets/house-check.svg new file mode 100644 index 0000000..3bfe1b2 --- /dev/null +++ b/src/assets/house-check.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/assets/shopping-cart.svg b/src/assets/shopping-cart.svg new file mode 100644 index 0000000..0b4748b --- /dev/null +++ b/src/assets/shopping-cart.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/components/shopping/CurrentShoppingListPage.vue b/src/components/shopping/CurrentShoppingListPage.vue index baa2b14..105154c 100644 --- a/src/components/shopping/CurrentShoppingListPage.vue +++ b/src/components/shopping/CurrentShoppingListPage.vue @@ -1,37 +1,117 @@ @@ -39,7 +119,7 @@