Commit Graph

155 Commits

Author SHA1 Message Date
Pranav C
5b3ca9ebf5 chore: lint 2024-07-30 20:35:34 +00:00
Pranav C
96f8a915f1 fix: proper null value and exception handling 2024-07-30 20:35:34 +00:00
Ramesh Mane
b224397656 fix: Audit records only available for super user (#8882)
* fix(nc-gui): audit record access issue for oss base creator

* fix(nocodb): use user created_at instead of project user created_at

* fix(nc-gui): show comment from start instead of bottom

* fix(nc-gui): enable record audit logs for all user roles

* fix: enable comment & audit list for viewer

* fix(nc-gui): enable grid row comment count

* fix(nc-gui): update empty comment state text

* chore(nc-gui): lint

* Update en.json

* chore(nc-gui): lint

* fix(nc-gui): remove padding and add hover effect in audit record logs

* fix(nc-gui): comment/audit user role info issue

* fix(test): update share base comment drawer test case

* fix(nc-gui): record audit item line height issue

* fix(nc-gui): truncate record comment/audit user name

* fix(nc-gui): text truncate issue

* fix(nc-gui): update base user map on updating base user role

* fix(nc-gui): update grid row count on adding/removing comment

* fix(nc-gui): skip loading row audits in ee & after adding/updating comment

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-06-28 17:56:41 +05:30
Raju Udava
c747a63971 Nc fix/shared view opt query (#8833)
* fix: use opt-query for shared view

* fix: avoid duplicate api call if page size different from default

---------

Co-authored-by: Pranav C <pranavxc@gmail.com>
2024-06-23 17:51:10 +05:30
Raju Udava
e3aeae43f5 Nc staing/issues (#8681)
* fix: disable calendar for mobile view fix: disable loading state for notifications polling

* fix: unwanted mutation

---------

Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
2024-06-12 15:19:33 +05:30
Pranav C
5e1dd6231d fix: shared form pagination related issues (#8451) 2024-05-10 16:37:09 +05:30
Ramesh Mane
f85240848d Nc feat/form validation (#8409)
* feat(nc-gui): custom validation setup

* fix(nc-gui): custom validation table rounded issue

* fix: add custom field validation type

* fix(nc-gui): updated custom validator

* feat(nc-gui): custom validation working state

* fix(nc-gui): udpate default warning msg

* chore(nc-gui): lint

* fix(nc-gui): grayed out errors if input is focused

* fix(nc-gui): input ring issue

* fix(nc-gui): increase max height of validator select dropdown

* fix(nc-gui): validator select dropdown item text color

* fix(nc-gui): regex validation condition update

* fix(nc-gui): add missing string validation types

* fix(nc-gui): remove unwanted code

* fix(nc-gui): move custom validation to ee

* refacor(nc-gui): form view code

* refactor(nc-gui): separate out formviewstore for ce & ee

* fix(nc-gui): move all validations to another file

* feat(nc-gui): add validation input component

* feat(nc-gui): add time, month types

* fix(nc-gui): add form field limit validations

* fix(nc-gui): add limit link record validation

* fix(nc-gui): add phonenumber & url validation type

* feat(nc-gui): add email, url & phone number validators

* fix(nc-gui): non working phone, email, url validation

* chore(nc-giu): lint

* feat(nc-gui): add attchment type validation

* chore(nc-gui): lint

* fix(nc-gui): add form field validation in shared form

* fix(nc-gui): add form field validation in shared form oss

* fix(nc-gui): oss validation conflict

* fix(nc-gui): enter number validation function

* fix(nc-gui): add config validators

* fix(nc-gui): validation config error handling

* fix(nc-gui): placeholder issue

* fix(nc-gui): custom validation config error handling

* fix(nc-gui): allow negative value validation

* fix(nc-gui): add tooltip for required field switch

* fix(nc-gui): refactor field validation from builder side

* chore(nc-gui): lint

* fix(nc-gui): update number validation logic

* fix(nc-gui): rating field alignment issue

* fix(nc-gui): small changes

* fix(nc-gui): required field validation issue

* fix(nc-gui): allow click on title to enable field config

* feat(nc-gui): business email validation support

* fix(nc-gui): add remove image btn in cell itself

* fix(nc-gui): small changes

* fix(nc-gui): survey form required field validation issue

* fix(nc-gui): error field border issue

* fix(nc-gui): currency validation input cell prefix issue

* fix(nc-gui): remove console

* chore(nc-gui): lint

* fix: information text

* fix(nc-gui): remove contains & doesn't contain option from phone number custom validation

* fix(nc-gui): attachment merge conflict

* fix(nc-gui): attachment cell expand btn size

* fix(nc-gui): PR review changes

* fix(nc-gui): lint

* fix(nc-gui): updated form config heading text color

* fix(nc-gui): small changes

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-09 22:17:50 +05:30
Mert E
89f0895de3 fix: experimental frontend optimizations (#8427)
* fix: get rid of barrel files

* chore: get rid of explicit imports

* fix: use explicit import for classes and enums

* fix: use explicit import for enum & class & aliases

* fix: build issues
2024-05-08 15:55:09 +05:30
Mert E
0373152157 fix: wire up shouldShowLoading (#8370)
* fix: wire up shouldShowLoading

* chore: bump ioredis version

Signed-off-by: mertmit <mertmit99@gmail.com>

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
2024-05-03 14:17:59 +05:30
Pranav C
4e51cd6569 fix: typo correction 2024-04-17 11:07:21 +00:00
Pranav C
3dad9e64c2 refactor: exclude page info in response if previous request missing page info 2024-04-17 11:07:21 +00:00
Pranav C
0cbc56464e fix: handle pagination offset in gui 2024-04-17 11:07:21 +00:00
Pranav C
1f1319a38c refactor: count fallback in singleQuery 2024-04-17 11:07:21 +00:00
Ramesh Mane
b9bfbeab57 fix(nc-gui): hide system columns in shared form 2024-03-09 11:51:10 +00:00
Ramesh Mane
b61fbef9bd chore(nc-gui): small changes 2024-02-27 12:39:21 +00:00
Ramesh Mane
7bb44133ac fix(nc-gui): form view column meta missing issue 2024-02-24 14:42:30 +00:00
Ramesh Mane
d3a91470fc fic(nc-gui): column meta data is missing in formview columns 2024-02-24 14:42:29 +00:00
Ramesh Mane
f0e2411798 fix(nc-gui): new added field reorder issue in form view 2024-02-22 16:17:59 +00:00
Pranav C
4ee587757d fix: unhandled exception - show error message if list api failed 2024-01-10 18:04:31 +05:30
Aashish Agrawal
419a9acf48 search added in shared view 2023-12-25 15:18:10 +05:30
Ramesh Mane
01b3df1702 fix: remove unwanted console from useViewData 2023-12-22 12:29:12 +05:30
Pranav C
2f4b7be339 fix: if cancelled error skip it cancelled to avoid unnecessary call 2023-12-14 06:15:47 +00:00
Muhammed Mustafa
3f500384b0 fix: Fixed skelton loading issue 2023-11-28 11:06:42 +05:30
Muhammed Mustafa
3b4b15d57f fix: Show skelton loader immediatly when a table is opened 2023-11-22 15:17:29 +00:00
sreehari jayaraj
33893b88c3 fix: expanded form ui changes 2023-10-06 12:56:48 +00:00
sreehari jayaraj
3f2efaa40e fix: pagination on previos page load 2023-10-06 12:56:48 +00:00
sreehari jayaraj
6ac5b8b96a fix: expanded form continuous paging 2023-10-06 12:56:48 +00:00
mertmit
c011e70540 feat: change page abort 2023-10-05 04:30:57 +00:00
WK Wong
8f09668d0f fix(nc-gui): lint issues 2023-10-03 11:31:26 +08:00
WK Wong
55259c89b9 chore(nc-gui): lint 2023-10-03 11:24:03 +08:00
Pranav C
e790abdbaf refactor: rename project and base
- Rename `Project`  => `Base`
- Rename `Base` => `Source`
- Remove `db` from data/meta api endpoints
- Add backward compatibility for old apis
- Migrations for renaming table and columns

Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-10-02 23:52:18 +05:30
Muhammed Mustafa
f83378fe36 fix: Added events 2023-10-02 11:43:07 +00:00
Muhammed Mustafa
1bdc1fa8cc fix: Added generic pagination 2023-09-26 15:25:05 +00:00
Muhammed Mustafa
4ecf87075f fix: Added active table to useViewData so it defaults openedtable 2023-09-22 15:23:15 +00:00
mertmit
b2eadae74f fix: refactor isUIAllowed and move to useRoles composable 2023-09-19 12:12:36 +00:00
mertmit
a930f7d242 fix: revise frontend acl 2023-09-19 12:12:35 +00:00
Pranav C
33ee9bfa62 feat: Improved UI (#6222)
* feat: Improved ui (#6156)

* refactor: revert

Signed-off-by: Pranav C <pranavxc@gmail.com>

feat: shared base

Signed-off-by: Pranav C <pranavxc@gmail.com>

fix: remove duplicate import statement

Signed-off-by: Pranav C <pranavxc@gmail.com>

fix: disable starred & license menu

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: fix airtable wait issue

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: enable mysql in ci

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: fix checkbox order for sqlite

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: disable quick tests

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: fix dbType env variable for CI

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: workspace API access error fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: enable SQLite CI CD

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: use DB_TYPE env variable

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: enable SQLite UT

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: isHub cleanup

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: add check for EE Timezone spec

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

chore: cleanup

Signed-off-by: Pranav C <pranavxc@gmail.com>

chore: cleanup

Signed-off-by: Pranav C <pranavxc@gmail.com>

test: EE check fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

chore: test correction

Signed-off-by: Pranav C <pranavxc@gmail.com>

chore: sync latest changes

Signed-off-by: Pranav C <pranavxc@gmail.com>

test: set EE=false

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: set NC Edition to community in workflow file

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

chore: update sdk build command

Signed-off-by: Pranav C <pranavxc@gmail.com>

refactor: i18n and other changes

Signed-off-by: Pranav C <pranavxc@gmail.com>

feat: new ui

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: sync tests

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: lint

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: shared view/base related bugs

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: checkbox verification sort order fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: fix sqlite reset

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: enable selfhosted runners

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: table ops (draft)

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* Docs: screenshots for table-operations.md

* refactor: introduce missing buttons

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: get all fields

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: UT fix- new data API response

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: EE is false

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: webhook lookup as string in CE

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* fix: include created_at and updated_at

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: fix UT newDataAPI response for PG

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* fix: separate api for webhook related plugins

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: msyql filter corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: mysql group by test corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: fix datatype for rating field in groupby spec for pg

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: kanban datatype correction

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: column edit for mysql- rating field

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: misc fixes

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: enable 4 workers

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: enable 2 workers per shard only

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: table CRUD

* Rename table-operations.md to table-crud.md

* Create column-crud.md

* docs: row CRUD

* Rename row.md to row-crud.md

* docs: project crud

* docs: toolbar (skeleton)

* refactor: single page UI and bug fixes

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: sync tests playwright

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: add missing dependency

Signed-off-by: Pranav C <pranavxc@gmail.com>

* feat: single page ui, test corrections

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: tests

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: project rename test correction

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: remove only

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: remove wrong import statement

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: delete option not visible in project context menu

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: move ws access within isEE()

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: fix groupby

* test: groupby fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: signup & landing page

* docs: project crud

* docs: project-crud misc

* docs: toolbar fields

* docs: toolbar / filters

* docs: toolbar / group by

* docs: toolbar / sort

* docs: toolbar / row height

* docs: filters additional options

* docs: file re-order

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: add links to column types

* docs: code snippets

* docs: links

* docs: lookup

* docs: rollup

* docs: formula

* docs: primary key

* docs: display value

* docs: development setup

* docs: swagger

* fix(nc-gui): encodeURIComponent for row id

- closes: #6202

* docs: language

* docs: expanded record

* docs: import airtable

* docs: airtable

* docs: webhook

* docs: revert file rename

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: account settings

* docs: audit

* docs: meta management

* docs: project settings

* docs: shared base

* docs: shared view

* docs: meta sync

* docs: team-auth

* docs: views

* docs: fix URL

* docs: URL corrections

* fix:  shared base, view related bugs

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: EE check for WSaccess

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: exclude EE tests

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* fix: missing project delete

closes #6215

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: merge existing project meta  if found

closes #6216

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: merge existing project meta  if found

closes #6216

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>
Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>

* refactor: docs and other bug fixes

Signed-off-by: Pranav C <pranavxc@gmail.com>

* feat: populate default project on super admin signup

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: include created project details in signup response if avail, missing Dockerfile

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: use custom function for resolving ts path aliases

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: add missing generate script

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: webpack build correction - ts path resolve

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: mertmit <mertmit99@gmail.com>
Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>
2023-08-24 02:58:19 +05:30
mertmit
c2906b6222 fix: clear selection if add row cancelled
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-07-01 14:11:51 +03:00
Raju Udava
283a0e6e41 Merge branch 'develop' into feat/ui-bulk-update
merge develop
2023-06-23 08:58:24 +05:30
mertmit
64e37fa344 feat: recover LTAR when undoing delete
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-21 18:39:26 +03:00
mertmit
ae252a4045 feat(nc-gui): bulk update records
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-20 02:04:41 +03:00
mertmit
b4d06d3a94 fix: add undo after api call
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-19 21:54:58 +03:00
mertmit
4deb2a1f0b fix: avoid adding undo if delete fails
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-13 18:38:50 +03:00
mertmit
33bbb383ee fix: bulk update only pasted columns
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-11 01:29:01 +03:00
mertmit
7a5a34c0b8 refactor: function name for bulk update
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-11 01:29:01 +03:00
mertmit
3e72b16702 feat: multiple paste
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-11 01:29:01 +03:00
mertmit
a74f099c67 feat: delete selected range of rows
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-03 15:26:21 +03:00
Wing-Kam Wong
71f6887bdd Merge branch 'develop' into enhancement/audits 2023-04-04 13:01:36 +08:00
Pranav C
f23f454341 fix(gui): switching between tabs or closing tab performance issue
- Use a better approach to pass cell(td) element to attachment component

Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-04-03 21:48:57 +05:30
Wing-Kam Wong
d85e01f336 refactor(nc-gui): remove audit calls from frontend side 2023-04-03 19:51:23 +08:00