Commit Graph

175 Commits

Author SHA1 Message Date
DarkPhoenix2704
ee41858a60 fix: PR review fixes — evaluate button visibility at data fetch, add include_button_filter_columns param 2026-02-25 18:01:23 +00:00
Pranav C
998d0733ac refactor: tooltip correction 2026-01-20 11:27:30 +00:00
Ramesh Mane
09f9613bc4 revert: unwanted sync changes 2026-01-12 17:19:28 +00:00
mertmit
69a29568c7 chore: sync
Signed-off-by: mertmit <mertmit99@gmail.com>
2026-01-10 00:21:02 +03:00
Ramesh Mane
c93f6e69cc chore(nc-gui): lint 2025-09-16 08:39:20 +00:00
DarkPhoenix2704
eb9371a13e fix: redirect to base home on invalid view Id or dashboardId 2025-09-13 09:09:36 +00:00
DarkPhoenix2704
fa46cbea22 fix: more refactors 2025-09-12 13:38:18 +00:00
Pranav C
f6540d924c fix: avoid sending empty array as filter or sort param 2025-08-28 09:33:04 +00:00
Ramesh Mane
b94b0dbd68 chore(nc-gui): lint 2025-07-25 05:53:44 +00:00
Ramesh Mane
e9d92f9bc9 fix(nc-gui): update hidden field tooltip 2025-07-25 05:53:43 +00:00
Ramesh Mane
7c870f700f chore(nc-gui): lint 2025-07-25 05:53:43 +00:00
Ramesh Mane
3ca4a3460f fix(nc-gui): form field level permissions 2025-07-25 05:53:42 +00:00
Ramesh Mane
9dde1d4dd0 fix(nc-gui): remove console 2025-06-26 06:35:36 +00:00
Ramesh Mane
5ce5b41f97 fix(nc-gui): view search count update issue in normal grid 2025-06-26 06:35:36 +00:00
Fendy Heryanto
be451aed9f force include row columns into getAst 2025-06-19 03:30:58 +00:00
Pranav C
55b2799a22 fix: extract base id from table meta 2025-05-22 16:27:58 +00:00
Ramesh Mane
542820f096 fix(nc-gui): show extra fields in form link record dropdown 2025-03-08 07:00:38 +00:00
Anbarasu
04f49c13d8 feat: infinite scroll (#9403)
* feat: infinite scroll wip

* feat: implement column create

* feat: improve scroll performance and minor bugs

* fix: optimize cache clear fix: preserver selected items from cache clear

* feat: add keyboard support

* fix: get rid of unwanted data

* feat: infinite scroll

* fix: reload visible data

* fix: rowIndex Sync

* fix: row height fix

* fix: performance issues

* fix: small issues

* fix: stablize scrolling

* fix: scroll fails to load new data

* fix: best part is no part remove bunch of manual handling and move to computedProperty

* fix: load data as chunks instead of offset

* fix: deboucne 500 ms

* feat: safe chunk clearing

* feat: working infinite table(wip)

* fix: handle delete selected range of rows

* fix: update types

* fix: nuxt warnings

* fix: table fixes

* feat: undo-redo support for infiniteTable

* fix: fix addEmptyRow

* fix: groupby fixes

* fix: refactor visibleDtaa computed

* fix: cache clear

* fix: invalid offset error

* fix: add empty row elem

* fix: rows not loading at end

* fix: refactor

* fix: more tests passing

* fix: perf optimizations

* fix: couple tests

* fix: row height tests

* fix: row height tests

* fix: row height tests

* fix: sync row comment count

* fix: fixes

* fix: lot of tests

* fix: update the row placeholder columns size calculation

* fix: update the totalRows on loadData

* fix: tests when count is 0

* fix: hide placeholder if rowHeight is small

* fix: not required imo as infinite scroll is implemented

* fix: links tests

* fix: filter tests

* fix: insert after test fix: Row: Create, Update, Delete fix: Row height fix: Create column tests

* fix: error, timezone bug fix: shared view data not loading after 100

* fix: ignore shifting. this fixes errors in rows, which has some mandatory required cells

* fix: keyboardShortcuts test

* fix: project collaboration test

* fix: increase local cache fix: records empty on switching to full screen mode fix: links issue on new records

* fix: row and col margin for improved data rendering

* fix: addEmptyRow to table bottom

* fix: update gridShare test fix: shared view grid feat: new count endpoint public

* fix: undo-redo test failing

* fix: bulkUpdate chore: disabled bulkUpdate tests for now

* fix: slow searchBtn

* fix: limit max selection

* fix: limit selection to 100

* fix: initial chunk load to 100

* fix: couple fixes

* fix: couple fixes

* fix: row expand

* fix: scrollto Top and scrollTo Bottom on Shift Cmd Down/Up

* fix: drop support for cmd A

* fix: failing tests

* fix: error on clicking resize col

* fix: premature fetching

* fix: deleteSelected not working properly

* fix: test build

* fix: test build

* fix: throttled 500

* fix: scroll related issues fix: added transitions

* fix: scroll related issues

* fix: decrease col margin

* fix: increase local cache and update Buffer

* fix: decrease throttle

* fix: improve scroll performance

* fix: improve scroll performance

* fix: improve scroll performance

* fix: fixes

* feat: beta toggle show

* feat: beta toggle show

* fix: hold scroll action

* fix: sync visible data reloadVisibleDataHook

* fix: refactor useBetaFeatureToggle fix: useMultiSelect in table

* fix: dynamically reduce margin while loading records

* fix: some bugs

* fix: data loading in infinitescroll

* fix: shared view and search issues

* feat: betaToggles menu

* fix: scroll showing up in aggregation

* fix: text

* fix: implement shifting in addEmptyRow

* fix: calculate slices on rowHeight modified

* fix: keep invalid cells until another row selected

* fix: remove row if filter gets failed

* fix: update styles

* fix: move filter handling to nocodb-sdk

* fix: user field filter

* fix: sort order

* fix:user field sorting

* fix: update virtual cols

* fix: updated sort handling

* fix: updated sort handling

* fix: updated sort handling for bulkUpdate and undo-redo

* fix: unit tests

* fix: deleteSelectedRecords fails

* fix: chunkstates errors

* fix: sort bugs

* fix: scroll position

* fix: delete selectedrange of records

* fix: improved chunk management

* fix: sync toggle states across tabs

* fix: sync between tabs

* fix: limit issues

* fix: update issues

* fix: zIndex

* fix: minor fixes

* fix: cmd arrow issue

* fix: bulkdelete index issues

* fix: empty rows at top

* fix: queue add new record behaviour

* fix: resolve rowObj addEmptyRow

* fix: typo

* fix: clear indexes

* fix: reload if width is zero

* fix: manual handling

* fix: remove console

* fix: prefetch when scroll from below

* fix: refactor fixes

* fix:undo-redo with sort

---------

Co-authored-by: mertmit <mertmit99@gmail.com>
2024-11-08 11:38:47 +05:30
Ramesh Mane
93734e5b03 Nc feat: form view conditional fields (#9433)
* chore(nocodb): add fk_parent_column_id in filter schema

* feat(nocodb): form view field level filter support

* fix(nc-gui): add migration for `fk_parent_column_id` filter property

* fix: add support to fetch all view filters

* fix(nc-gui): filter castType issue

* fix(nc-gui): form field title autofocus issue

* fix(nc-gui): small changes

* fix(nc-gui): update local form view filter on updating filter

* fix(nc-gui): add validate field visibility function

* fix(nc-gui): toggle eye icon based on field conditional visibility

* fix(nc-gui): show tooltip on hover form field visibility icon

* fix(nc-gui): show unique errors

* fix(nc-gui): sort form view field issue

* fix(nc-gui): add error handleling in form conditional field

* fix(nc-gui): validate field on reorder

* fix(nc-gui): disable add new filter if form field is first

* fix(nc-gui): disable undo redo filters in form view

* fix(nc-gui): move form filter class to ee

* fix(nc-gui): prevent unwanted api call on form field select

* fix(nc-gui): remove unwanted console

* feat(nc-gui): shared form view conditional fields

* fix(nc-gui): form filter cache issue

* fix(nc-gui): delete form filters by fk_parent_col_id

* fix(nc-gui): form view duplicate filters

* fix(nc-gui): column meta copy issue while duplicating form view

* fix(nc-gui): review changes

* docs: show on conditions

* fix(nc-gui): remove merge conflict code part

* fix(nc-gui): show first validation error in visible form columns on hover over config error

* fix(nc-gui): form view filter validate link field issue

* fix(nc-gui): duplicate form column filters on duplicating table

* fix(nc-gui): rename form field filters label to conditions

* fix(nc-gui): minor changes

* chore(nc-gui): lint

* fix(nocodb): migration conflict issue

* fix(nc-gui): currency field ui issue in filter input

* fix(nc-gui): rating field overflow issue in filter menu

* fix(nc-gui): form conditional field oss visibility issue

* test(nc-gui): form conditional field test

* fix(nc-gui): typo error

* chore(nc-gui): lint

* fix(nc-gui): filter input width issue

* fix: pw test fail issue

* fix(nc-gui): update pw test

* fix(nc-gui): show field field config error in form field list

* fix(nc-gui): grayed out form field list icon color

* fix(nc-gui): give precedence to hidden pre-filled fields over conditional fields

* fix(nocodb): use string type instead of any

* fix(nocodb): typo mistake

* fix(nocodb): use stringifyMetaProp instead of JSON.stringify

* fix(nc-gui): remove lazy loading from child components of form field settings

* fix(nc-gui): increase gap between plus & delete btn from group filter menu

* fix(nc-gui): max callstack issue after adding group filter from form view

* fix(nc-gui): increase min width of filter dropdown in form view

* chore(nc-gui): lint

* fix(nc-gui): required virtual field validation issue in shared form

* fix(nc-gui): delete conditionally hidden field data while submiting form

* fix(nc-gui): handle bt or oo cell conditional field validation issue

* chore(nc-gui): lint

* fix(nc-gui): new is utils file function name conflicts

* fix(nc-gui): remove console

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-09-17 16:15:53 +05:30
Raju Udava
c9f56650e7 fix: load table even if formula error is present (#9299)
Co-authored-by: mertmit <mertmit99@gmail.com>
2024-08-28 20:58:44 +03:00
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