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