Pranav C
0942d8d107
refactor(gui): handle missing property scenario in a better way
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
cfaa7b64e7
fix(gui): tab switch row insert/update bug
...
- pass correct column list to get primary key
- handle undefined as null in update
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
91bc7840e7
fix(gui): overwrite auto updated field on update
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
2f259a08b8
fix(gui): only overwrite Rollup and Formula cell on row update
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
braks
7744db0edc
chore(nc-gui): lint
2 years ago
Pranav C
b868d23a34
fix(gui):disable deep compare since the data could be non-valid json
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
96db6145fc
fix(gui): avoid overwriting cell value after update
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
8a43a69e13
fix(gui): insert row bug
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
f9cab933b8
fix(gui): pass Row ref to insert method
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
a9429cd059
fix(gui): update rowMeta only when it's defined
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
507780a098
fix(gui): wait until inserting record to avoid duplicate row insertion
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
d230152ed8
fix(gui): allow user to expand row if any ongoing save/update completes
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
braks
95f252ba84
fix(nc-gui): remove `useMetas` from cb fn
2 years ago
Pranav C
f0dd065e79
refactor(gui): group import statements
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
d1397fe12f
fix(gui): whenever tab/view switched save any existing changes in previous view
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
491f9557a3
feat(gui): if bt column is required then mark it as required in header
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
c93e2afda0
feat(gui): save expanded form data only if all required field values provided
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
73d2154f60
fix(gui): extract foreign key value from belongs to
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
ea84797381
fix(gui): save record only after all required fields are provided
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Wing-Kam Wong
23620e817e
refactor(nc-gui): move formatData outside composable
2 years ago
Pranav C
5603c1d9aa
fix(gui): pass sortArr value as argument
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
braks
cd30e58361
chore(nc-gui): lint
2 years ago
braks
4c29fa18ff
refactor(nc-gui): use lazy load and cleanup imports
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
Wing-Kam Wong
c106b8ecc8
chore(nc-gui): remove unnecessary ? operator
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
braks
3320453637
chore(nc-gui): remove `as any` typecasts wherever possible
2 years ago
Wing-Kam Wong
9666c024df
fix(nc-gui): remove unnecessary `?`
2 years ago
Wing-Kam Wong
0d34aa76d0
fix(nc-gui): use default limit from app info if specified
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
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
e4c1d71926
fix(gui): maintain the pagination data on reload
...
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
Wing-Kam Wong
d88e877233
feat(nc-gui): handle empty grouping field column options
2 years ago
Wing-Kam Wong
e14b05d16b
fix(nc-gui): formatKanbanData logic
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
Wing-Kam Wong
671fbcdc16
chore(nc-gui): rename null to Uncategorized
2 years ago
Wing-Kam Wong
7e37d1385b
wip(nc-gui): add formatKanbanData in useViewData
2 years ago
Wing-Kam Wong
c06c58465e
feat(nc-gui): return kanbanData in useViewData
2 years ago
Wing-Kam Wong
20cca98d45
fix(nc-gui): set kanbanData.value instead
2 years ago
Wing-Kam Wong
5eb466276b
fix(nc-gui): add loadKanbanData in useViewData
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
Raju Udava
3fe42c1a25
refactor: i18n updates
...
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2 years ago
Pranav C
b33cdd97b4
fix(gui-v2): keep font color normal even in readonly mode
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Raju Udava
120bdd7c6a
refactor: i18n roles menu
...
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2 years ago
Wing-Kam Wong
e26132a450
refactor(gui-v2): use function declaration instead of const declaration
2 years ago
Wing-Kam Wong
9eeabdf4dc
chore(gui-v2): expose syncPagination
2 years ago
Wing-Kam Wong
09c898c58e
fix(gui-v2): add syncPagination
2 years ago