Commit Graph

72 Commits

Author SHA1 Message Date
Fendy Heryanto
05b1f7dd55 fix changed uidt on rollup column 2025-06-19 07:56:49 +00:00
Fendy Heryanto
a37908ae6f infinite table rendering 2025-06-19 03:30:55 +00:00
DarkPhoenix2704
e305992431 chore: cleanup mssql and sync dependencies 2025-06-10 10:33:08 +00:00
Pranav C
41b6e141c4 fix: skip default value setting for attachment 2025-06-04 16:56:36 +00:00
Fendy Heryanto
3bffa35d8a enable @me on frontend 2025-05-22 18:58:45 +00:00
Ramesh Mane
165bb8c6b5 chore(nc-gui): lint 2025-05-22 07:24:19 +00:00
Ramesh Mane
b74a371cf9 refactor(nc-gui): parse formula plain cell value code 2025-05-22 07:24:19 +00:00
Ramesh Mane
2ec4ff631d fix(nc-gui): formual cell value parse issue display issue 2025-05-22 07:24:19 +00:00
Ramesh Mane
e19122c755 fix(nc-gui): formula field parse link text display issue 2025-05-22 07:24:19 +00:00
Ramesh Mane
dbf7c565a9 fix(nc-gui): revert some plan.ts file changes 2025-05-19 11:49:03 +00:00
Ramesh Mane
44b486830e fix(nc-gui): parse numeric field plain cell value issue if value is 0 2025-05-19 11:49:02 +00:00
DarkPhoenix2704
31be062acc fix: edge case with groupby 2025-05-06 05:22:44 +00:00
Ramesh Mane
2b518b7c27 chore(nc-gui): lint 2025-04-22 14:15:58 +00:00
Fendy Heryanto
8f20ab191b Squashed commit of the following: 2025-04-22 14:15:55 +00:00
Fendy Heryanto
c6d5fc28cf refactor validate row filters to nocodb-sdk 2025-04-12 09:23:11 +00:00
DarkPhoenix2704
f3b9b772c4 fix: parse plain cell broken for some fields 2025-04-10 03:52:11 +00:00
Ramesh Mane
8df39afd1d chore(nc-gui): lint 2025-03-14 07:38:43 +00:00
Ramesh Mane
108decc260 fix(nc-gui): review changes 2025-03-11 19:25:21 +00:00
Ramesh Mane
2c460b864e fix(nc-gui): default value sanitization 2025-03-11 19:25:18 +00:00
DarkPhoenix2704
98a765a454 fix: sqlite invalid format for DD/MM/YYYY format 2025-03-11 14:01:37 +00:00
Pranav C
91fc89efa0 fix: handle nested lookup
re https://github.com/nocodb/nocodb/pull/10757

(cherry picked from commit 49760b1b48)
2025-03-11 16:39:11 +05:30
ssweber
19fb16cf40 simplify signature 2025-03-10 15:55:06 -04:00
ssweber
952c0a949c Update dataUtils.ts 2025-03-10 13:31:28 -04:00
ssweber
4ca0a8f7ff Add lookup column type detection for filters
Add getLookupColumnType function to properly identify the underlying type of lookup columns during filter validation. This replaces the previous approach of guessing types at runtime with direct metadata lookup.
2025-03-10 13:25:32 -04:00
ssweber
d913602e2c Re-add accidently deleted lines 2025-03-09 15:30:23 -04:00
ssweber
dec0464e08 fix: handle user-like data in lookup fields for filters
When a lookup field references users, it contains object data with ID properties.
This change routes such fields to the user field processing logic when using
operations like anyof/allof or empty/notempty, preventing errors when the code
tries to call .split() on object data.

This is safe because:
1. It only affects lookup fields with object data, not string data
2. It only applies to specific filter operations that need special handling
3. All other cases continue to use the original processing logic
2025-03-09 15:06:32 -04:00
ssweber
3c21d74e71 Merge branch 'nocodb:develop' into fix-lookup-filter 2025-03-08 15:44:28 -05:00
Anbarasu
a3601f683e fix: datetime lookup bug (#10770) 2025-03-08 12:55:56 +05:30
ssweber
f381900d6d fix: Fix user field filter behavior for 'Lookup' type
Correctly handle 'Lookup' fields as user fields during filtering
2025-03-07 08:34:27 -05:00
Ramesh Mane
b2e504e697 fix: move toSafeInteger to sdk 2025-03-05 14:51:14 +00:00
Ramesh Mane
82acf56f26 fix: add throw error inside serializer fn 2025-03-05 14:51:13 +00:00
Ramesh Mane
607a59efb6 feat(sdk): lookup and rollup colum helper 2025-03-05 14:51:13 +00:00
Ramesh Mane
18fa0b630e feat(sdk): json column helper 2025-03-05 14:51:11 +00:00
Amit Joki
422150b4ee fix: limit the number to safe integers 2025-02-24 05:36:56 +00:00
Ramesh Mane
ac0fd3e42e fix(nc-gui): lookup json field value parse issue 2025-02-17 13:11:40 +00:00
Ramesh Mane
1b27ba5849 fix(nc-gui): lookup time format issue 2025-02-17 13:11:38 +00:00
Ramesh Mane
3a5ec7198b fix(nc-gui): refactor PlainCell component 2025-02-17 13:11:01 +00:00
Ramesh Mane
dc369f274d fix(nc-gui): add meta props in generalUserIcon component 2024-12-27 14:39:59 +05:30
Raju Udava
8d6396d43b Nc org chart extension (#9860)
* feat(extensions): org chart: working nodes and edges

* fix(extensions): org chart: auto select active view

* fix(extensions): org chart: reuse isValidValue

* fix(extensions): org chart: typing and linting

* fix(extensions): org chart: fix edge case

---------

Co-authored-by: amandesai01 <amandesai01@gmail.com>
2024-12-02 08:27:06 +03:00
Mert E.
6724fd2f9d chore: sync various (#9864)
* chore: sync various

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

* test: ws scope

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

* fix(nc-gui): ncSubmenu right icon visibility issue

* fix(nc-gui): use viewTypeAlias in all the places

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
Co-authored-by: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
2024-11-20 21:48:09 +05:30
Pranav C
d4639c379b fix: while populating insert object check row for nested object 2024-11-15 10:52:01 +00:00
Pranav C
2146f93761 fix: add missing await and treat form submit success only if it returns valid response 2024-11-15 10:52:01 +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
Pranav C
6944af013a fix: convert id value to string since it's passed in url path and treated as string 2024-10-25 11:50:29 +00:00
Pranav C
323c5b9a05 fix: missing return 2024-10-22 17:35:10 +00:00
Pranav C
1107111e6d fix: escape _ in id value if composite pk 2024-10-22 17:35:10 +00:00
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
Ramesh Mane
f921535cf2 fix(nc-gui): default value update issue if value is 0 (#8857) 2024-06-25 16:55:05 +05:30
Ramesh Mane
99ecc40f9a Nc Refactor: Gallery view (#8674)
* fix(nc-gui): introduce header icon in gallery view card and update style

* fix(nc-gui): field modal width issue if it is rich text

* fix(nc-gui): hide longtext expanded icon on gallery & kanban view card hove

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

* fix(nc-gui): udpate kanban view card

* fix(nc-gui): udpate gallery & kanban view card display value style

* fix(nocodb): hide cover image in new gallery, kanban view if it is not pv column

* feat(nc-gui): change cover image object fit property change support

* fix(nc-gui): virtual cell card value alignment issue

* fix(nc-gui): gallery view card image navigation issue

* fix(nc-gui): gallerym, kanban card cover image dots navigation overflow issue

* fix(nocodb): use optional chaining to access nested variable

* chore(nc-gui): lint

* fix(nc-gui): long text max line shuld be 4 in card

* test: update open expanded form in gallery test

* fix(nc-gui): add empty card in gallery view if cards length is less than 4

* fix(nc-gui): update gallery view card min width

* fix(nocodb): small changes

* fix(nc-gui): review changes

* fix(nc-gui): add input shadow effect

* fix(nc-gui): update card image navigation buttons icon

* fix(nc-gui): udpate gallery view bg color

* fix(nc-gui): update email, url, phone cell height from card

* fix(nc-gui): update isEmptyRow function logic

* fix(nc-gui): some review changes

* fix(nc-gui): card display value color

* fix(nc-gui): udpate gallery view card min width

* fix(nc-gui): update card shadow & border on hover

* fix(nc-gui): update gallery loader card width

* fix(nc-gui): add min height for card image

* chore(nc-gui): lint

* fix(nc-gui): card rich text height

* fix(nc-gui): align record count in right side in gallery view

* fix(nc-gui): review changes

* fix(nc-gui): shared view show & hide field issue

* chore(nc-gui): lint

* fix(nc-gui): link record test fail issue
2024-06-10 16:38:56 +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