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