braks
0b5ebd41ef
fix(gui-v2): force disable dark mode
2 years ago
braks
c014915aeb
refactor(gui-v2): disable dark mode
...
# What's changed?
* remove color mode toggle from header
* set preferred color scheme to light
2 years ago
braks
1586d3a8c4
refactor(gui-v2): disable dark mode
...
# What's changed?
* remove color mode toggle from header
* set preferred color scheme to light
2 years ago
braks
9f34821268
fix(gui-v2): hide sidebar when not signed in
2 years ago
Braks
64fa0c951e
fix(gui-v2,auth): check if actually signedIn before refreshing
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
f8ffc5bafd
feat(gui-v2): add sidebar switcher to header
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
f149e37d61
feat(gui-v2): add dark mode to state and some styles
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
81546ff3be
chore(gui-v2): remove typecasting in state plugin
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
85a8da8502
fix(gui-v2): detect browser language & match against locale
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
43334a0fab
feat(gui-v2): use reactive timestamp to check token expiry against
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
5974f86f12
feat(gui-v2): watch token expiry and try to refresh before expires
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
6d4c950102
chore(gui-v2): update comment
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
bdb2a03bc3
chore(gui-v2): add comments to `useGlobalState`
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
cd90179bd7
chore(gui-v2): remove unused imports
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
3167da9206
fix(gui-v2): move navigation for signIn/signOut to component level
...
# What's changed?
* navigateTo breaks app when used inside the composable scope (unsure if that is an actual bug with nuxt 3)
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
c27802bf37
feat(gui-v2): extract user from token
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
b2c0f09d35
feat(gui-v2): check expiry in `signedIn` computed
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
c8c1c07dba
feat(gui-v2): add signIn action to global state
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Pranav C
283cbfd391
feat(gui-v2): add formula cell
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Braks
4042a0051a
chore(gui-v2): add types
2 years ago
Braks
4aae2d8356
refactor(gui-v2): change token and user type to accept null value
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
975c424a3b
refactor(gui-v2): add actions & getters to state
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2 years ago
Braks
bc4fa6a731
feat(gui-v2): add colors composable
2 years ago
Braks
0c36e8f16f
refactor(gui-v2): replace `useUser` with global state
...
# What's changed?
* instead of using the useUser composable, we inject a global state containing user and token
2 years ago
Braks
132d8de689
feat(gui-v2): add global state
2 years ago