Commit Graph

299 Commits

Author SHA1 Message Date
Ramesh Mane
17aef940ae fix(nocodb-sdk): export column helper and update imports 2025-03-05 14:51:10 +00:00
Mert E.
2a4b192e73 feat: sync fw (#10671)
* feat: sync table init

* feat: sync table (WIP)

* feat: oauth flow for github

* feat: sync feature flag

* feat: progress for sync

* feat: revise sync status

* feat: incremental support for sync

* feat: disable insert & delete operations on synced tables

* feat: handle synced & readonly on frontend

* test: apply system column order (always initial)

* test: change wrong index

* fix: PR requested changes

* test: overlapping variable names
2025-02-28 16:43:49 +03:00
Fendy Heryanto
53b8aa4674 use same conversion for lat long limit input into 10 digit after decimal 2025-02-26 01:48:28 +00:00
Fendy Heryanto
ef1d7464ad better paste handle 2025-02-24 08:56:10 +00:00
Fendy Heryanto
aaf504c5b7 handle paste on geo data editor 2025-02-24 08:56:10 +00:00
Fendy Heryanto
d27eb9d80a fix handle original correct value too 2025-02-24 08:56:09 +00:00
Fendy Heryanto
870e40d1c8 handle geodata paste 2025-02-24 08:56:09 +00:00
Amit Joki
422150b4ee fix: limit the number to safe integers 2025-02-24 05:36:56 +00:00
DarkPhoenix2704
6eb55d52b4 fix: lint 2025-02-17 13:11:10 +00:00
DarkPhoenix2704
51d39c367e feat: fill handler and ai Fill 2025-02-17 13:10:55 +00:00
DarkPhoenix2704
c0a9165325 feat: row & cell contexts 2025-02-17 13:10:53 +00:00
Fendy Heryanto
2aaccaa8f9 fix duration copy paste 2025-02-17 04:40:23 +00:00
Fendy Heryanto
3b8ff4a505 set value = null if conversion failed add select options if not exists 2025-02-17 04:40:23 +00:00
Fendy Heryanto
86a610470c add regions add value and missing options in error validation ignore empty string or undefined 2025-02-17 04:40:23 +00:00
Fendy Heryanto
b6863c2a39 change error to have no string param when suppressed 2025-02-17 04:40:23 +00:00
Fendy Heryanto
d445baf41b suppress error and set empty value when paste for most fields except computed and select 2025-02-17 04:40:23 +00:00
Fendy Heryanto
f707d61a24 validate using validator if meta.validate 2025-02-17 04:40:23 +00:00
Fendy Heryanto
7593b56cf9 also handle currency, percent and decimal 2025-02-17 04:40:23 +00:00
Fendy Heryanto
fe372ed83e handle paste for UITypes JSON 2025-02-17 04:40:22 +00:00
Ramesh Mane
18c4fcbaa3 fix(nc-gui): replace <br /> with <br> 2025-01-31 08:58:23 +00:00
Ramesh Mane
7f0cb1816a fix(nc-gui): disable keyboard navigation if link record dropdown open 2024-12-16 14:17:12 +00:00
mertmit
9109852aa7 chore: missing ch
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-12-12 15:17:19 +05:30
Mert E.
818d9344e9 chore: preps (#9994)
* chore: preps

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

* test: fix unit

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

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
2024-12-09 11:15:36 +03:00
Ramesh Mane
52faf2f3b6 fix(nc-gui): disable link cell paste if link record dropdown is open (#9887) 2024-11-26 11:14:19 +05:30
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
DarkPhoenix2704
dee2e38331 fix: remove selection 2024-11-11 07:00:55 +00:00
DarkPhoenix2704
5c6b198206 feat: row expansion 2024-11-11 10:13:21 +05:30
DarkPhoenix2704
9686e74d37 fix: copy row is broken in infinite scroll 2024-11-08 09:46:21 +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
fec885ce26 refactor: skip cell paste for custom link 2024-07-22 18:53:19 +00:00
Ramesh Mane
e50e236014 fix(nc-gui): pasteCol is not defined #3287 2024-07-05 16:47:00 +05:30
Pranav C
f11734f967 refactor: review comments 2024-06-18 19:06:18 +00:00
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
mertmit
593262ab88 fix: active border 2024-05-03 20:31:07 +00:00
Mert E
fed1c7ba5c feat: virtual scroll for grid (#8356)
* feat: virtual scroll for grid

* feat: improve virtual scroll

* fix: remove unused expose & ref

* feat: move row ltar helpers to parent level

* fix: use shared composable for useMetas

* fix: column add issue

* fix: reload issue

* feat: move cell state to computed

* chore: lint

* fix: null check for sticky field

* fix: PR requested changes

* fix: shared views

* fix: provide row store calls

* test: avoid all rows selector

* fix: group by

* fix: include isVirtualCol in cellMeta

* fix: split colMeta and cellMeta

* chore: lint

* test: edit column flakiness

* test: renderColumn for dashboard grid

* test: user column test flakiness
2024-04-29 14:22:21 +05:30
Mert E
6efbe449cc fix: copyTable fallback to useCopy with plain text for insecure context (#8346)
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-04-28 08:43:02 +05:30
Ramesh Mane
be0f763fba Nc fix(nc-gui): Copying and pasting from Excel overwrites one additional row cell (#8317)
* fix(nc-gui): copy paste from excel overwrites extra cell from next row

* fix(nc-gui): remove \n from clipboard data if it occured only once at the end

* fix(nc-gui): small changes

* Update index.ts

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-04-23 08:58:13 +05:30
Ramesh Mane
9a473ce29d fix(nc-gui): multi selected cell should not go away on press esc 2024-04-08 12:18:09 +00:00
Ramesh Mane
e15831da2e refactor(nc-gui): on esc clear selectedRange cell code 2024-04-08 12:18:09 +00:00
Ramesh Mane
115513a762 fix(nc-gui): pw test fail issue 2024-04-08 12:18:09 +00:00
Ramesh Mane
71c97b3f4a fix(nc-gui): selected cell should not go away on pressing esc multiple times 2024-04-08 12:18:09 +00:00
Ramesh Mane
1b8c47e2b0 Nc fix(nc-gui): allow copy paste email id from gmail in team & settings, for example, abc <abc@gmail.com> (#7963)
* fix(nc-gui): allow copy paste email id from gmail

* fix(nc-gui): skip display error & add only valid emails if user copy paste bulk emails in team & settings invite input element

* fix(nc-gui): add a comment explaining the regex pattern for email validate/extract

* fix(nc-gui): allow copy paste emailid from gmail in team & settings oss

* fix(nc-gui): add support to extract email from pasted string in email cell if accept only email is true
2024-03-27 00:36:57 +05:30
Pranav C
0e13bff899 Nc feat/one to one (#7915)
* feat: one-to-one relation - wip

* feat: one-to-one relation

* feat: one-to-one relation - link, unlink, list, excluded list, single query

* fix: pass proper fk value

* feat: add non-single-query support

* feat: filter, sort and delete

* fix: ui - keep only one as linked record in ui - similar to bt

* fix: initial column name correction

* fix: field modal related fixes

* fix: nested insert related bugs

* fix: nested insert corrections

* fix: formula support

* fix: delete cell data

* fix: invalid offset issue

* fix: form submit issue

* fix: return first element - oo relation

* fix: Lookup column rendering

* fix: add link api correction

* fix: sort and group by menu correction

* chore: lint

* refactor: spacing between radio buttons

* fix: undo/redo support with delete key

* fix: formula related issues

* fix: duplicate related issues

* fix: ui label and icon color

* chore: lint

* chore: reset page if offset is beyond offset(temporary solution)

* refactor: suggested review changes

* refactor: suggested review changes

* chore: lint

* fix: missing await

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

* refactor: add comments

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

---------

Signed-off-by: Pranav C <pranavxc@gmail.com>
2024-03-20 17:50:52 +05:30
աӄա
d2bcb12921 fix(nc-gui): incorrect maxAttachmentSize (#7900) 2024-03-19 14:46:02 +05:30
Ramesh Mane
40a101aac2 chore(nc-gui): lint 2024-02-29 12:23:01 +00:00
Ramesh Mane
283fac5c53 fix(nc-gui): combine date & dateTime convertCellData switch statement 2024-02-29 12:23:01 +00:00
Ramesh Mane
2bb85cc8c3 fic(nc-gui): copy date and paste in dateTime field 2024-02-29 12:23:00 +00:00
Ramesh Mane
c835be96b3 fix(nc-gui): copy paste datetime with unknown format 2024-02-29 12:23:00 +00:00
Ramesh Mane
353f83a13f fix(nc-gui): date copy paste issue with unknown format 2024-02-29 12:23:00 +00:00
Raju Udava
9c05dfb692 Merge pull request #7703 from nocodb/nc-fix/edit-issue-on-max-rowheight
Nc fix: URL and LongText cell double click edit enable issue
2024-02-23 18:34:20 +05:30