braks
8bfe3cbb95
refactor(nc-gui): use shared composable instead of injection state for roles
2 years ago
braks
58210be87a
refactor(nc-gui): remove `useInjectionState` from `useUIPermission`
2 years ago
braks
9f387b6342
chore(nc-gui): remove unused var
2 years ago
braks
010d5ad51b
chore(nc-gui): rename variable
2 years ago
braks
4bd0dccc8d
refactor(nc-gui): cancel permission check if prematurely caught
2 years ago
braks
84b9f8b10f
refactor(nc-gui): use injection state for `useUIPermission`
2 years ago
braks
95485d6f1d
feat(nc-gui): add `useRoles` composable
2 years ago
braks
e7ec02c160
refactor(nc-gui): return permission check if preview permission found
2 years ago
braks
92110603ee
refactor(nc-gui): stop duplicating allRoles & check preview permissions separately
2 years ago
braks
96d12f6f80
refactor(nc-gui): use computed value in all permissions state
2 years ago
braks
e56282fec2
refactor(nc-gui): replace computed with useState to prevent unnecessary duplicates
2 years ago
braks
be0b641f36
chore(nc-gui): add generic to narrow roles type
2 years ago
braks
9a43bfa787
refactor(nc-gui): use enum for role permission keys
2 years ago
braks
26ca9dcf1a
chore(nc-gui): remove unused composable
2 years ago
braks
ea946edd87
chore(nc-gui): cleanup types
2 years ago
braks
27791f5054
refactor(nc-gui): clean up permission types
2 years ago
braks
e19b0a79ca
chore(nc-gui): update previewAs type
2 years ago
Muhammed Mustafa
3679100c4d
feat(nc-gui): Added types for metasWithIdAsKey in useMetas
2 years ago
Muhammed Mustafa
1f29380b7a
feat/Minor cleanup
2 years ago
Muhammed Mustafa
e3ef8a8ff0
feat/Added basic erd support
2 years ago
Pranav C
3209b551c6
fix(gui): trigger initial data load from grid
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
15b361591e
fix(gui): avoid data reload on filter load
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
bdbf0c13ad
fix(gui): load comments count only in grid
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
d9e2133e61
feat(gui): add copy record url option in expanded form
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
6419934255
wip(gui): url for expanded row
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
6543b87429
refactor(gui): use table list to verify tables loaded successfully
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
cc684f7c43
fix(gui): create new object to avoid updating same object ref
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
30440d94d9
fix(gui): get table meta only after loading project table list
...
re #3702
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
braks
255d90686d
refactor(nc-gui): remove user from local storage
2 years ago
braks
3cf5d5f860
fix(nc-gui): reset roles on app load
2 years ago
Pranav C
65e327e1a9
fix(gui): add fallback for copy to clipboard
...
re #3598
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
07e248dc69
refactor(gui): move 404 page
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
ed2d640da4
enhancement(gui): add not found page for handling invalid base url
...
re #3648
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
3680b14ee7
chore(gui): lint
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
mertmit
546cf3cd5f
fix(nc-gui): improved handling of dtxp/dtxs
...
Signed-off-by: mertmit <mertmit99@gmail.com>
2 years ago
braks
1c7883d165
refactor(nc-gui): pass `showLoading` as prop to ColumnFilter
2 years ago
braks
5320a313bc
refactor(nc-gui): hide loading spinner when reloading from view filters
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
braks
16b238fd8b
fix(nc-gui): remove injection usage in callback
...
# What's changed?
* update EditOrAdd form style
* remove injection use on callbacks
* fixes errors thrown while changing column type
* use `unref`
2 years ago
braks
2827784c37
fix(nc-gui): defer loading subpages until project is ready
2 years ago
braks
52c311f7e3
fix(nc-gui): project state not properly reset
...
# What's changed?
* try loading project when clicking on list item
* reduces potential waiting times
* only load project if no request is running already
* move fetching project to parent page to prevent multiple loads
2 years ago
Pranav C
21b2c1c3c4
fix(gui): on airtable import scroll to the end on progress
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
braks
47788a6664
fix(nc-gui): use correct return of fetch result
2 years ago
braks
bef059f99c
fix(nc-gui): remove if clause that prevent view from loading
2 years ago
braks
ba8ee402dc
fix(nc-gui): auth tab constantly re-opening
...
* Only reload project if it's not loaded already
* Prevent tab from re-opening
2 years ago
braks
8804bea441
fix(nc-gui): fetch view data regardless if meta is present
2 years ago
Raju Udava
0ab1af10b4
fix: shared view meta validation during load
...
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2 years ago
braks
81db2c8435
chore(nc-gui): fix type issues and set proper ref types
2 years ago