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
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
braks
3320453637
chore(nc-gui): remove `as any` typecasts wherever possible
2 years ago
braks
2b780cc3e0
fix(nc-gui): set default values for `useState` and fix type issues
2 years ago
braks
e84b8b2272
refactor(nc-gui): defer loading project to subpage
2 years ago
Pranav C
a3bc1b0a40
chore(gui): lint
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
braks
38a9cb6c44
refactor(nc-gui): update useCellUrlConfig composable
2 years ago
Raju Udava
5bc43c0ac5
chore(CY): fix modal - class name map
...
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2 years ago
braks
84e7ca3811
chore(nc-gui): narrow down language types
2 years ago
braks
e31e1ad182
fix(nc-gui): lazy load languages for initial load perf
2 years ago
Pranav C
30788e3ee1
fix(gui): on add/edit column form validation failure keep the form open
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
7da60b4885
fix(gui): on delete failure from child list show error message
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
68434c63d7
fix(gui): remove row if user is not saving record from expanded form
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
2e1bfba0b8
fix(gui): always get latest meta before deleting a table
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
48a1e36faf
chore(gui): lint
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
3bdcbb8e98
fix(gui): sync LTAR data on switching tab
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
173b0219d4
chore(gui): lint
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
e4c1d71926
fix(gui): maintain the pagination data on reload
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
0e52eaff88
wip: reload only the related row
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
1cb3b05114
fix(gui): avoid linking if new record
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
cbf6cc567f
fix(gui): on updating/saving in nested level expanded-form reload all ancestor level data
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
08e1db23fd
fix(gui): after save maintain the relation data in expanded-form
...
re #3566
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
ff13ea4c51
fix(gui): save row on switching tables
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
61662d319f
chore(gui): lint
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
335b4a993a
fix(gui): maintain the pagination data on reload
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
bb2dced5a7
wip: reload only the related row
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
20a4af26b0
fix(gui): avoid linking if new record
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
e6b3d9aefd
fix(gui): on updating/saving in nested level expanded-form reload all ancestor level data
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
c1c5ab9d2b
fix(gui): after save maintain the relation data in expanded-form
...
re #3566
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Denis
1615ee0eab
refactor(gui): useCellUrlConfig composable
2 years ago
Pranav C
a828a4be43
fix(gui-v2): use relative path as base url to avoid issue when using proxy
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
21a306030c
chore(gui-v2): base url correction ( #3510 )
...
* chore(gui-v2): base url correction
- support nocodb serving under a nested path
Signed-off-by: Pranav C <pranavxc@gmail.com>
* chore(gui-v2): initial base url correction
Signed-off-by: Pranav C <pranavxc@gmail.com>
* fix(gui-v2): redirect to dashboard with relative path
Signed-off-by: Pranav C <pranavxc@gmail.com>
* fix(gui-v2): make plugin path relative
Signed-off-by: Pranav C <pranavxc@gmail.com>
* fix(gui-v2): redirect path correction
Signed-off-by: Pranav C <pranavxc@gmail.com>
* fix: allow download option migration handling
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
* fix(gui-v2): redirect old base url to new path
Signed-off-by: Pranav C <pranavxc@gmail.com>
* fix(gui-v2): redirect old base ur with some view/table open
Signed-off-by: Pranav C <pranavxc@gmail.com>
* fix(gui-v2): handle old tab url and navigate to the new url
Signed-off-by: Pranav C <pranavxc@gmail.com>
* chore(gui-v2): cleanup
Signed-off-by: Pranav C <pranavxc@gmail.com>
Signed-off-by: Pranav C <pranavxc@gmail.com>
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2 years ago
Wing-Kam Wong
f97ea536b4
chore: move nc-gui-v2 to nc-gui
2 years ago