62 Commits

Author SHA1 Message Date
6a5046d3c0 maid: formatting 2024-09-23 20:09:46 -04:00
8000b7d317 feat: show serving count in the UI in all the places 2024-07-25 15:50:19 -04:00
9126d434d5 fix: Turns out that indexed db doesn't support Map
Had to modify the wasm-bindgen serialization to use objects instead
of the Map type.
2024-07-12 21:54:26 -04:00
b93edd2701 dev: use indexdb instead of local storage in the storage layer 2024-07-12 00:45:03 -04:00
a320351041 NOTE comment. 2024-07-01 15:52:37 -05:00
a399858728 maint: Cleanup a bunch of stuff
:wq
2023-11-25 22:22:18 -05:00
Augie Fackler
e30555aabe cleanup: remove redundant clone
```
warning: call to `.clone()` on a reference in this situation does nothing
   --> web/src/app_state.rs:441:86
    |
441 | ..., &local_store, original.clone()).await
    |                            ^^^^^^^^ help: remove this redundant call
    |
    = note: the type `sycamore::reactive::Signal<AppState>` does not implement `Clone`, so calling `clone` on `&sycamore::reactive::Signal<AppState>` copies the reference, which does not do anything and can be removed
```
2023-11-25 11:17:25 -05:00
0b7f513f27 fix: Issue when loading user state from local storage 2023-09-23 13:44:16 -04:00
db03d603c3 Store the use_staples setting in localstore 2023-07-24 20:56:30 -04:00
2ea0339ad1 LinearSignal as a helper type 2023-07-24 19:37:31 -04:00
b496cf9568 Store app state atomically as one json blob 2023-07-22 16:14:23 -05:00
806fdd2721 When we select a plan date store that date in the app_state 2023-05-31 15:56:16 -04:00
4f3cf8d825 Messaging mechanism 2023-03-28 19:34:37 -04:00
ba825258bb Utilize the plan_table for listing, deleting, and saving meal plans 2023-03-21 17:01:05 -04:00
2f6375e381 Sort out recipe saving 2023-02-04 12:29:49 -05:00
b95b297deb Sort the meals in the meal plan by category 2023-02-04 12:06:16 -05:00
2267744087 Various bugfixes 2023-01-18 20:58:25 -05:00
47183b6e7a Add plan deletion to the UI 2023-01-18 20:06:03 -05:00
7549decc71 Save plans for date via api 2023-01-18 07:34:05 -05:00
f808ca8585 Handle messages for selecting a plan_date 2023-01-17 19:21:37 -05:00
3f0836dad2 Load plan_dates during the load state phase 2023-01-17 13:44:09 -05:00
ae7aea8c5b Add some logging around synchronization 2023-01-08 18:39:07 -05:00
7559aae9d0 On the fly recipe parse checks 2023-01-07 17:28:37 -05:00
a6a5edcc40 Load plan from local_store if http fetch fails 2023-01-07 17:16:30 -05:00
9af13c5bb4 UI for recipe deletion 2023-01-07 17:16:30 -05:00
c16b5bab7c Store staples seperately from recipes 2023-01-06 16:50:32 -05:00
66a558d1e6 New UI for ingredient category management 2023-01-05 23:02:36 -05:00
96b03cb14a API naming consistency save_ -> store_ 2023-01-05 13:09:06 -05:00
30293878fc API naming consistency get_ -> fetch_ 2023-01-05 13:06:19 -05:00
19c75930cc Remove calls to the v1 api. 2023-01-05 13:05:34 -05:00
d9618aac35 Load user account data from server 2023-01-05 11:12:10 -05:00
e859455db0 Properly cache items during load state 2023-01-04 18:36:33 -05:00
dd9ce0fca2 Properly delay the navigation until state has loaded 2023-01-04 18:11:35 -05:00
165719520a Fix various errors 2023-01-02 20:29:58 -06:00
0f28b758fa Update our local cache in the StateMachine 2023-01-02 20:29:58 -06:00
77cae25c74 Fix infinite signal loop in shopping list 2023-01-02 20:29:58 -06:00
a39ed5589f Get rid of unnecessary create_effect calls 2023-01-02 20:29:58 -06:00
f3f27a0350 Remove the old State 2023-01-02 20:29:05 -06:00
0b7ff32d42 Cleanup more unused after refactors 2023-01-02 20:29:05 -06:00
4b2563509b Use StateHandler in Categories 2023-01-02 20:29:05 -06:00
1888e5328f Use StateHandler in AddRecipe 2023-01-02 20:29:05 -06:00
f3425dedeb Cleanup Unused code after state management refactors 2023-01-02 20:29:05 -06:00
8bcafc385d Allow async using spawn_local_scoped 2023-01-02 20:29:05 -06:00
e77fe40d75 Introduce a save state message 2023-01-02 20:23:39 -06:00
e21353eeba use new state handler in RouteHandler 2023-01-02 20:23:39 -06:00
02536d63d8 Implement a sycamore-state Handler for Kitchen 2023-01-02 20:23:39 -06:00
7343c77a04 User user_data response to show the user id in the header 2022-12-22 14:43:30 -05:00
5480074d3a Save the full state each time 2022-11-24 15:32:08 -05:00
60a1945fe8 Store inventory details 2022-11-19 18:19:12 -05:00
a5e8575ef9 Meal Plan Storage API and UI
Closes #20
2022-11-19 14:07:19 -05:00