Commit Graph

10 Commits

Author SHA1 Message Date
braks
9955886ea1 fix(nc-gui): initial right sidebar state open 2022-09-28 13:30:40 +02:00
braks
0546e42d35 fix(nc-gui): merge sidebar storage defaults 2022-09-28 13:30:40 +02:00
braks
2f925e008f fix(nc-gui): right sidebar state not restored 2022-09-28 13:30:40 +02:00
braks
4c29fa18ff refactor(nc-gui): use lazy load and cleanup imports 2022-09-28 13:30:40 +02:00
braks
27005af74c refactor(nc-gui): simplify useSidebar and update comments 2022-09-23 09:59:33 +02:00
braks
1fd6e08b1c refactor(nc-gui): remove unnecessary injection state from useSidebar 2022-09-23 09:59:33 +02:00
braks
0a1e224273 fix(nc-gui): cleanup sidebar state on scope dispose 2022-09-15 20:59:56 +02:00
braks
d3a4bca8f3 feat(nc-gui): store sidebar states separately by id
# What's changed?

* use a sidebar id to identify the state
* use in memory storage to store the states
* use local storage to store persistent states
* add MemStorage class
2022-09-15 12:59:27 +02:00
braks
0567b47afc fix(nc-gui): right sidebar collapse not working
# What's changed?

* use sync ref to sync sidebar state to storage
* use cb function for toggle
2022-09-15 10:53:45 +02:00
Wing-Kam Wong
f97ea536b4 chore: move nc-gui-v2 to nc-gui 2022-09-06 12:00:09 +08:00