46 Commits

Author SHA1 Message Date
874a5fdb57 cargo fmt 2024-07-01 15:52:37 -05:00
c64605f9e7 maint: Use gloo_net directly 2024-07-01 15:52:37 -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
6421b12e27 Update to the new base64 api 2023-02-27 20:09:12 -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
0a68c3d51c Handle saving and loading for specific plan_dates 2023-01-17 21:06:18 -05:00
80b6126e10 UI for selecting a plan from the list 2023-01-17 19:42:48 -05:00
f808ca8585 Handle messages for selecting a plan_date 2023-01-17 19:21:37 -05:00
be74b24f6b Wire in the new plan api endpoints into HttpStore 2023-01-17 13:31:48 -05:00
36679b6569 Delete unused methods from LocalStore 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
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
c424432def Give localstorage a full implemenation 2023-01-02 20:29:58 -06:00
f3f27a0350 Remove the old State 2023-01-02 20:29:05 -06:00
73c298661a Use StateHandler in the shopping list 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
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
997d95e201 Use the api library on the frontend side 2022-12-22 10:49:50 -05:00
dfe5d668a4 Use v2 of the api in the app 2022-12-19 15:42:35 -05:00
5480074d3a Save the full state each time 2022-11-24 15:32:08 -05:00
db470ddc36 Start caching the inventory data 2022-11-24 10:28:02 -05:00
f4e7c0cf63 remove unused fetch_plans_since method 2022-11-20 09:12:31 -05:00
a1b7f953bb Fix inventory api serialization issues 2022-11-19 19:17:31 -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
efbd5140a8 clean up the event flow in the add recipe page 2022-11-07 16:52:50 -05:00
2926d9042a Add recipe page 2022-11-07 16:10:53 -05:00
5f4b7c3f02 Caching for recipes in the case of network errors 2022-10-27 19:27:39 -04:00
277ae423cb Caching for categories in the case of network errors 2022-10-26 18:36:17 -04:00
b957ed7f3a Fix issues with category text usage 2022-10-26 15:25:01 -04:00
3fde0401b2 Error in recipe component fix
Fixes #15
2022-10-25 16:27:23 -04:00
e77af193aa Refactor state management and http APIs 2022-10-25 15:55:00 -04:00