270 Commits

Author SHA1 Message Date
e59eff8ae7 fix: plan creation was broken 2025-06-02 17:30:48 -04:00
cc66c1f4f5 dev: refactor out into more composable pieces 2024-09-28 10:01:03 -04:00
4ed0b6f8fb feat: Allow restoring deleted inventory items 2024-09-28 10:01:03 -04:00
c77fa24515 refactor: recipe conversion from recipe_entry 2024-09-23 20:10:20 -04:00
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
aba1e114cf maid: cleanup warnings 2024-07-13 20:11:11 -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
548f336e1a dev: use better recipe keys
Having a dedicated object store makes a number of things simpler.
2024-07-12 19:18:24 -04:00
9f3b11a01f dev: migrate recipes from localstorage to indexeddb 2024-07-12 19:12:15 -04:00
f173204d2d dev: use cursor for the get_all_recipes 2024-07-12 18:48:25 -04:00
1f90cc2ef6 feat: migrate user_data and app_state
from localstorage to indexeddb
2024-07-12 18:26:13 -04:00
ed44e929f4 refactor: cleanup and make our upgrade logic more robust 2024-07-12 18:05:20 -04:00
51d165a50b dev: indexeddb indexes on recipe category and serving_count 2024-07-12 17:51:25 -04:00
84cc2a2713 refactor: have two object stores 2024-07-12 01:27:55 -04:00
f75652befa fix: cannot have database at version 0 2024-07-12 00:45:03 -04:00
b93edd2701 dev: use indexdb instead of local storage in the storage layer 2024-07-12 00:45:03 -04:00
4767115da6 dev: Add indexeddb and a helper method for it 2024-07-12 00:45:03 -04:00
fe181fb102 cleanup: a bunch of warnings 2024-07-11 18:28:45 -04:00
113b03016f dev: Handle serving counts in the api 2024-07-11 18:04:48 -04:00
63463fb5d6 build: More fixes and tweaks to unify the builds 2024-07-02 20:55:40 -05:00
3e675b47f4 fix: Unsafe recursive object use 2024-07-01 15:52:37 -05:00
0ba5f18b22 Display current plan date at the top 2024-07-01 15:52:37 -05:00
a320351041 NOTE comment. 2024-07-01 15:52:37 -05:00
874a5fdb57 cargo fmt 2024-07-01 15:52:37 -05:00
94e1987f09 ui: more layout tweaks 2024-07-01 15:52:37 -05:00
a104ef5f47 ui: normalization and font tweaks 2024-07-01 15:52:37 -05:00
dac529e8e8 ui: Typography tweaks 2024-07-01 15:52:37 -05:00
6e0e00c7f3 docs: comments for the event handling in login 2024-07-01 15:52:37 -05:00
8942eb59a5 ui: Menu font sizes 2024-07-01 15:52:37 -05:00
e80953e987 maint: upgrade wasm-bindgen version 2024-07-01 15:52:37 -05:00
c64605f9e7 maint: Use gloo_net directly 2024-07-01 15:52:37 -05:00
d7cea46427 fix: Issue with request blocking occuring on login 2024-07-01 15:52:37 -05:00
45737f24e4 UI: Cleansheet CSS redesign
Initial skeleton and layout is working.
Still needs a bunch of tweaks.
2024-07-01 15:52:37 -05:00
a399858728 maint: Cleanup a bunch of stuff
:wq
2023-11-25 22:22:18 -05:00
1432dcea13 feat: Use a web component
A more ergonomic number spinner on mobile.
A cleaner number spinner interface.
2023-11-25 22:20:42 -05:00
a3aa579fa5 feat: some additional js_lib stuff for logging 2023-11-25 22:20:42 -05:00
50eecf9a7c Bring in web component library 2023-11-25 22:20:42 -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
4cefe42072 Pin serde
This needs to stick around due to https://github.com/serde-rs/serde/issues/2538.
2023-08-19 13:29:11 -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
a57992ab0d Bump version to v0.2.25 2023-04-02 21:01:22 -04:00
03dd38d38d Remove unused css variables 2023-03-29 19:44:05 -04:00
4f3cf8d825 Messaging mechanism 2023-03-28 19:34:37 -04:00
c2b8e79288 Remove extra recipe_title input 2023-03-27 17:35:00 -04:00
3ea6d4fe66 Fix bug with recipe category not updating 2023-03-25 08:55:30 -04:00