Commit Graph

50 Commits

Author SHA1 Message Date
Ramesh Mane
6e840015cc fix(nc-gui): console warnings 2025-03-11 19:25:19 +00:00
Ramesh Mane
f29b9bfc6e fix(nc-gui): add cell expand shortcuts to links and bt, oo cell 2025-03-11 19:25:19 +00:00
Ramesh Mane
1a91d32cf2 fix(nc-gui): add cellClickHook in canvas editable cell 2025-02-26 08:02:21 +00:00
Amit Joki
a4845b1a39 feat: has many, many to many, belongs to, one to one and links dropdown should close on first escape 2025-02-17 13:11:39 +00:00
Amit Joki
224dc599c7 fix: readonly condition 2025-02-17 13:11:20 +00:00
DarkPhoenix2704
c942f97c44 fix: links keyboard interaction 2025-02-17 13:11:19 +00:00
Ramesh Mane
5a1b9d4add fix(nc-gui): link cell font weight issue 2025-02-17 13:11:18 +00:00
DarkPhoenix2704
4980263831 fix: selection getting cleared after fill handler fix: json, barcode, qrcode dropdown opens in expanded form fix: fillHandler circle location is incorrect 2025-02-17 13:11:11 +00:00
Amit Joki
6e36598b5a fix: check for isUnderLookup 2025-02-17 13:11:06 +00:00
Amit Joki
2b1d327679 feat: use forcedNextTick instead of setTimeout 2025-02-17 13:10:58 +00:00
Amit Joki
261c3cdec5 fix: make sure the cells mounted are part of canvas edititable cell wrapper 2025-02-17 13:10:58 +00:00
Amit Joki
d672f5a4f9 feat: make barcode look same on canvas render and edit render 2025-02-17 13:10:58 +00:00
Amit Joki
e10768f46f feat: get element under mouse position to determine the action to take 2025-02-17 13:10:58 +00:00
Amit Joki
e0207f776e feat: show links modal on click and show + icon on canvas cell hover 2025-02-17 13:10:57 +00:00
Ramesh Mane
b1e7793dcb fix(nc-gui): rename useSelectedCellKeyupListener to useSelectedCellKeydownListener 2025-01-28 13:18:33 +00:00
Ramesh Mane
5dda4c7d37 Nc fix: misc UI fixes (#8827)
* fix(nc-gui): external source text bold issue

* fix(nc-gui): make new record btn sticky to left in groupby

* fix(nc-gui): add some padding after add column header btn

* fix(nc-gui): links cell margin issue

* fix(nc-gui): groupby table footer issue

* chore(nc-gui): lint

* fix(test): pw test fail issue

* fix(test): pw test fail issue

* fix(test): remove only from test
2024-06-22 20:28:26 +05:30
Ramesh Mane
d4fa6a8174 Nc fix: linked records dropdown followup (#8415)
* fix(nc-gui): update link record dropdown border radius

* fix(nc-gui): move link/unlink btn to the right side

* fix(nc-gui): update placeholder text color

* fix(nc-gui): reduce link record dropdown bottom bar padding x

* fix(nc-gui): update expanded form save btn text in create new record from link record

* fix(nc-gui): grid active cell border issue

* fix(nc-gui): link record dropdown trigger & dropdown spacing

* fix(nc-gui): link record footer btn size

* fix(nc-gui): link record loading state

* fix(nc-gui): update link record search input icon

* fix(nc-gui): update link record item skeleton

* fix(nc-gui): update grid row hover & selected state bg color

* fix(nc-gui): add tooltip on hover over expand icon

* fix(nc-gui): link record tooltip issue

* fix(nc-gui): update search query empty state status

* fix(nc-gui): bt cell ui fixes

* feat(nc-gui): resizable link record dropdown

* fix(nc-gui): external DB, fields re-order to re-align sub fields needs a fix

* chore(nc-gui): lint

* fix(nc-gui): bt & oto cell unlink & link btn visibility issue

* fix(nc-gui): pr review changes

* fix: docs

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-08 17:19:39 +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
Ramesh Mane
b4bde7336f Nc feat/link record dropdown (#8345)
* feat(nc-gui): link record dropdown setup

* fix(nc-gui): move link record pagination to the bottom

* feat(nc-gui): link record new design

* fix(nc-gui): update bank state subtitle

* fix(nc-gui): small changes

* fix(nc-gui): update skeleton of link records item

* fix(nc-gui): ui break issue

* fix(nc-gui): increase z index of link dropdown overlay

* fix(nc-gui): update link record dropdown header

* fix(nc-gui): update link record dropdown

* fix(nc-gui): new changes

* fix: remove margin

* fix(nc-gui): unlinked records empty state alignment

* fix(nc-gui): make tooltip text size 14px

* fix(nc-gui): reduce subtext font size

* fix(nc-gui): link record item rich text cell alignment issue

* fix(nc-gui): on esc link record dropdown should close

* fix(nc-gui): update link record header and footer height

* fix(nc-gui): add link record dropdown for bt cell

* fix(nc-gui): fix invalid offset issue

* fix(nc-gui): link record z index issue

* fix: PW link unlink corrections

* fix(nc-gui): link record dropdown close on outside issue in expanded form

* fix(nc-gui): close dropdown after adding link in bt cell

* fix(nc-gui): allow close link record dropdown on esc

* fix(nc-gui): add link record dropdown in mm component

* fix(nc-gui): add link record dropdown in hm component

* fix(nc-gui): add link record dropdown in oo component

* fix: auto close for BT

* fix: ltar modal operations

* fix: close link modal

* fix: PW tests (wip)

* test: fix link modal close in share view

* test: fix LTAR in cell handling

* fix(nc-gui): reduce link items skeleton height

* fix(nc-gui): expanded form open issue on clicking bt cell record

* fix(nc-gui): hide back btn if user directly opens record list dropdown

* fix(nc-gui): reset offset when user opens link record dropdwon and switch between linked and unlinked records

* fix(nc-gui): link record item height

* fix(nc-gui): linked record list reload issue on link/unlink

* fix(nc-gui): link record item subtext fields width should be same

* fix(nc-gui): email, url cell truncate text issue

* fix(nc-gui): shared form link record dropdwon ui

* chore(nc-gui): lint

* fix(nc-gu): small changes

* fix(nc-gui): ai review changes

* fix(nc-gui): link record list offset issue

* fix(nc-gui): show plus btn in bt cell even if it is not blank

* fix(nc-gui): barcode visiblility issue in link record dropdown

* fix(nc-gui): do not focus links cell plus btn on close dropdown

* fix(nc-gui): text color

* fix(nc-gui): skip showing qr code null value

* fix(nc-gui): virtual cell margin left issue in link record dropdwon

* fix(nc-gui): link record subtext order should be same as default view col order

* chore(nc-gui): lint

* refactor(nocodb): add default view column order in col meta

* fix(nc-gui): update default view order on reordering column from fields menu

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-01 12:42:28 +05:30
Anbarasu
031d261a1d fix(nc-gui): Update offset of LinkedRecords in accordance with links and unlinks (#7841)
* fix(nc-gui): update links

* fix(nc-gui): update offset

* fix(nc-gui): offset reset

* fix: offset issue

* fix: loading state not working

* fix: tests

* fix: failign tests

* fix: update offset if same or greater than count
2024-03-14 09:16:39 +05:30
Ramesh Mane
22220fd238 fix(nc-gui): link record expanded form fields spacing issue 2024-01-20 11:37:17 +00:00
Ramesh Mane
9a39e84676 fix(nc-gui): json & virtual fields spacing issue 2024-01-20 11:37:16 +00:00
Ramesh Mane
e3e3e7d73e fix: lint errors 2023-12-27 00:19:45 +05:30
Ramesh Mane
8e7aaf8d16 fix: field alignment issue in expanded form 2023-12-27 00:10:45 +05:30
Muhammed Mustafa
92e37cffe1 fix: Fixed issue with focus for Mulit select, single select, percent, Links, belongs to and disabled for Barcode and QRCode and minor fixes 2023-12-22 10:31:06 +00:00
Raju Udava
cf55f8aadb merge fix 2023-12-22 10:31:05 +00:00
Muhammed Mustafa
347f882726 fix: Removed abilty to toggle link in links modal in readonly mode 2023-11-25 04:19:43 +00:00
Muhammed Mustafa
4123ff0d12 fix: Added readonly mode to expanded form cells 2023-11-25 04:19:43 +00:00
Muhammed Mustafa
84ee0fa136 fix: Remvoed isLocked logic from all cell types 2023-11-23 07:02:56 +00:00
Pranav C
831c5ddb28 fix: show links count based on row state for new row
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-10-30 18:59:32 +05:30
Muhammed Mustafa
cfe6c234ee fix(nc-gui): Fixed issue with lookup when combined with links 2023-10-07 04:43:05 +00:00
Muhammed Mustafa
37ab1c3ee1 fix(nc-gui): Fixed issue with lookup when combined with links 2023-10-07 04:43:05 +00:00
sreehari jayaraj
7e19c95cb2 refactor 2023-10-06 12:05:07 +05:30
sreehari jayaraj
e913c11841 fix: refactor 2023-10-06 11:55:29 +05:30
sreehari jayaraj
da0a81bb3e fix: skelton missing in link modal 2023-10-06 10:26:30 +05:30
mertmit
40588a607e fix: links 2023-10-05 04:30:56 +00:00
mertmit
693c389e2f fix: only render cell modals on demand 2023-10-05 04:30:56 +00:00
Muhammed Mustafa
38802e1023 fix(nc-gui): Attachment cell doesnt expand in mobile mode 2023-10-03 18:04:12 +00: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
sreehari jayaraj
cceb2b8486 fix: exact number of skeltons on initial load 2023-10-02 18:15:12 +05:30
Muhammed Mustafa
1c15559742 fix: Added event to Links modal 2023-10-02 11:43:07 +00:00
Muhammed Mustafa
97fd7bfbec fix: i18n for Link cell and record 2023-09-28 21:14:35 +05:30
DarkPhoenix2704
3c6636f100 fix: small fix 2023-09-20 13:21:15 +05:30
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
DarkPhoenix2704
4edee65b8e fix: avoid unwanted api calls 2023-09-19 09:22:45 +05:30
DarkPhoenix2704
b23c9b109a fix: links in forms 2023-09-19 09:22:45 +05:30
DarkPhoenix2704
a5aa623cc3 fix: enable Links Modal in Form 2023-09-19 09:22:45 +05:30
DarkPhoenix2704
a988acbfc7 feat: links modal revamp 2023-09-19 09:22:45 +05:30
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