braks
2684e21ec8
fix(gui-v2): use promise reject when returning api error
2 years ago
braks
61f8386c67
chore(gui-v2): remove unused file
2 years ago
braks
1b9ac87af9
chore(gui-v2): fix import paths
2 years ago
braks
77e9aabc4b
chore(gui-v2,deps): export useGridViewColumnWidth from barrel file
2 years ago
braks
f9dd082d51
chore(gui-v2): move feedback form to useGlobal
2 years ago
braks
3536d38bbc
chore(gui-v2): add name to `useHasMany`
2 years ago
braks
bad6cc6409
chore(gui-v2): mark rolePermissions as const
2 years ago
braks
2520a8ed6c
feat(gui-v2): add proper role permissions type
2 years ago
braks
33d0b9cda8
feat(gui-v2): add option to use global api instance in `useApi`
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
25f2b65412
refactor(gui-v2): move `useApi` related types to separate file
2 years ago
braks
1e56534aaa
chore(gui-v2): correct comment grammar
2 years ago
braks
0af487e6ca
refactor(gui-v2): rename useApi request counter functions
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
0f8ea25102
chore(gui-v2): update import paths for composables
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
braks
6ab8bb86e5
feat(gui-v2): add barrel file to composables dir
2 years ago
Pranav C
ff2698e68f
chore(gui-v2): lint
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
2ae3e76cc5
refactor(gui-v2): style corrections
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
35785b78f4
refactor(gui-v2): type correction and avoid unnecessary callback in watch
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
b4502fd9d8
refactor(gui-v2): replace callback with promise
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
d0e9a98372
feat(gui-v2): focus and select input field on load
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
3ce82329fc
feat(gui-v2): duplicate column name validation
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
412a20fcfa
fix(gui-v2): reload view columns meta when table meta changes
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
346d99237e
feat(gui-v2): integrate with save or update api
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
905c154ca1
feat(gui-v2): close create column dialog on cancel
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
a51c64407d
feat(gui-v2): add column fields properties and set proper alter value
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
b707641c50
feat(gui-v2): add store for column create, bind properties
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
762dc8fbae
feat(gui-v2): add column add option in smartsheet grid view
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
1f74777001
feat(gui-v2): add column menu and edit column option
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Raju Udava
31b2dc9a65
fix: page load issue (pranav)
...
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2 years ago
braks
e9ba536c7d
feat(gui-v2): add `useApi` composable
...
# What's changed?
* useApi provides a loading, error and response ref
* also provides event cb for error and response
2 years ago
braks
c12811ecea
feat(gui-v2): use separate api instances with `useApi`
2 years ago
braks
143d05f628
feat(gui-v2): add `useApi` composable
...
# What's changed?
* useApi provides a loading, error and response ref
* also provides event cb for error and response
2 years ago
braks
1ec9a62fdc
feat(gui-v2): add watch options as arg to useViews
2 years ago
braks
69596db39f
fix(gui-v2): useViewColumns throwing err when col is undefined
2 years ago
braks
5f08832f68
refactor(gui-v2): sort view list on `loadViews`
2 years ago
braks
48373f1ff3
feat(gui-v2): use separate api instances with `useApi`
2 years ago
braks
ad83728ea5
fix(gui-v2): signout in smartsheet page fails
2 years ago
braks
e61dfe31fb
chore(gui-v2): correct tab item type and export enum
2 years ago