Muhammed Mustafa
9a0bd9f4c3
refactor/gui-v2-added Api snippet
2 years ago
braks
bd96a78ce0
feat(gui-v2): add `useSidebar` composable
...
# What's changed?
* replace global sidebar state with `useSidebar` composable
2 years ago
Pranav C
f0fff78f15
fix(gui-v2): merge any missing default values with localstorage
...
- this to avoid missing properties when adding new state variables
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
525ed41ea4
feat(gui-v2): persist autosave option in localstorage
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
braks
f9dd082d51
chore(gui-v2): move feedback form to useGlobal
2 years ago
braks
706c7e3c6f
chore(gui-v2): correct loading setter
2 years ago
braks
db3142729b
feat(gui-v2): add `refreshToken` to global actions
2 years ago
braks
c39710b1fa
refactor(gui-v2): use `useCounter` to count running requests
2 years ago
braks
b99d496ce0
chore(gui-v2): cleanup
2 years ago
braks
f2229e9bac
chore(gui-v2): add comments to `useApi`
2 years ago
braks
e8a8170c6e
chore(gui-v2): correct usage of `useGlobal`
2 years ago
braks
82786c6802
chore(gui-v2): inject useGlobal into nuxtApp
2 years ago
braks
8098f3fb57
chore(gui-v2): cleanup
2 years ago
braks
adcb588ccd
feat(gui-v2): add global state for running requests and loading
2 years ago
braks
816d8c50b9
feat(gui-v2): add refs for running requests and error to global
2 years ago
braks
8ed92af4c2
refactor(gui-v2): rename `GlobalState` to `UseGlobalReturn`
2 years ago
braks
f47319a2ca
refactor(gui-v2): move useGlobal types to useGlobal dir
2 years ago
braks
ec3b7af0ce
refactor(gui-v2): replace `useGlobalState` with `useGlobal`
...
# What's changed?
* `useGlobal` replaces `useGlobalState`
* split into actions, getters, state
* injects into nuxt app on init (regardless where it's called)
2 years ago