braks
9955886ea1
fix(nc-gui): initial right sidebar state open
2 years ago
braks
0546e42d35
fix(nc-gui): merge sidebar storage defaults
2 years ago
braks
2f925e008f
fix(nc-gui): right sidebar state not restored
2 years ago
braks
4c29fa18ff
refactor(nc-gui): use lazy load and cleanup imports
2 years ago
braks
27005af74c
refactor(nc-gui): simplify useSidebar and update comments
2 years ago
braks
1fd6e08b1c
refactor(nc-gui): remove unnecessary injection state from useSidebar
2 years ago
braks
0a1e224273
fix(nc-gui): cleanup sidebar state on scope dispose
2 years ago
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
2 years ago
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
2 years ago
Wing-Kam Wong
f97ea536b4
chore: move nc-gui-v2 to nc-gui
2 years ago
Wing-Kam Wong
05351b43be
feat(gui-v2): extend localStorage in useSidebar
2 years ago
braks
6a076ce363
feat(gui-v2): add `base` layout
2 years ago
braks
4f33346a30
feat(gui-v2): add header
2 years ago
braks
313876a14e
feat(gui-v2): add `provideSidebar`
2 years ago
braks
1521d693cb
feat(gui-v2): add toggle for tree view sidebar
2 years ago
braks
bd96a78ce0
feat(gui-v2): add `useSidebar` composable
...
# What's changed?
* replace global sidebar state with `useSidebar` composable
2 years ago