Commit Graph

77 Commits

Author SHA1 Message Date
Pranav C
f6540d924c fix: avoid sending empty array as filter or sort param 2025-08-28 09:33:04 +00:00
Ramesh Mane
238adbafbe chore(nc-gui): lint 2025-07-17 14:33:13 +00:00
Ramesh Mane
da2f17e76f fix(nc-gui): import issue 2025-07-17 14:33:13 +00:00
Ramesh Mane
13e2384e10 fix(nc-gui): format aggregation value based on column type 2025-07-17 14:33:13 +00:00
Ramesh Mane
0eddf31077 fix(nc-gui): plain cell parser issue 2025-07-17 14:33:13 +00:00
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