Commit Graph

65 Commits

Author SHA1 Message Date
Ramesh Mane
b88672e368 fix: move validateEmail fn to sdk and re-export it from old path file 2025-03-14 15:05:09 +00:00
Fendy Heryanto
ef0391a6cd use nocodb-sdk for isValidURL 2025-03-14 15:05:08 +00:00
Fendy Heryanto
f555b469d6 do not import isValidURL and isURL 2025-03-14 15:05:08 +00:00
Ramesh Mane
b15dc70d73 fix(nc-gui): add default value column inline validation 2025-03-11 19:25:20 +00:00
Pranav C
163c4db687 fix: hide warning icon from header and refactor tooltip handling of cell 2025-02-17 13:11:26 +00:00
Pranav C
e5fce6152e fix: disable AI button in shared view 2025-02-17 13:11:26 +00:00
DarkPhoenix2704
fbf806cdef fix: percent 2025-02-17 13:11:06 +00:00
DarkPhoenix2704
df59daaa18 feat: lint and rebase 2025-01-10 16:11:09 +00:00
DarkPhoenix2704
0bd2e8c668 fix: lint 2025-01-10 16:11:08 +00:00
Raju Udava
d4c8849823 Nc feat/expanded form discussion mode (#10212)
* feat (nc-gui): discussion mode structure

* feat (nc-gui): expanded form discussion mode render audits and comments

* fix (nc-gui): refactor different entries in discussion

* fix (nc-gui): expanded form discussion mode use rich comments

* fix (nc-gui): expanded form discussion mode implement new ui looks

* fix (nc-gui): expanded form discussion mode comment actions

* fix (nc-gui): comments list start from bottom

* fix (nc-gui): expanded form discussion mode better grouping logic

* feat (nc-gui): discussion view ui latest polish and mocks

* chore (nc-gui): lint

* fix (nc-gui): expanded form discussion mode audits list wiring

* fix (nc-gui): expanded form discussion mode audits preview attachments

* fix (nc-gui): expanded form discussion mode audits in the right sidebar tab

* fix (nc-gui): expanded form discussion mode remove unused declarations

* fix (nc-gui): expanded form discussion mode remove duplicate rendering

* fix (nc-gui): expanded form discussion mode refactor to remove duplication

* fix (nc-gui): expanded form discussion mode use Cell component to render data based on colOptions and meta

* fix (nc-gui): expanded form discussion mode use proper types

* fix (nc-gui): expanded form discussion mode lint

* fix (nc-gui): expanded form discussion mode normalize meta and spacings

* fix (nc-gui): expanded form discussion mode save expanded form mode to discussion

* fix (nc-gui): expanded form discussion mode use cell component for mini audits

* fix (nc-gui): expanded form discussion mode small fix

* fix (nc-gui): discussion mode records audit ui polishes

* fix (nc-gui): records audit items polishes

* fix (nc-gui): records audit conditional raw rendering for date/time type cells

* fix (nc-gui): records audit ui polishes

* fix (nc-gui): records audit diff the changed values

* fix (nc-gui): records audit better text wrap and json scrollbar

* chore (nc-gui): mock change to run ci

* fix (nc-gui): records audit text diff and link ui polish

* fix (nc-gui): records audit polish links ui

* chore (nc-gui): records audit lint

* fix (nc-gui): handle v0 type audit information

* fix (nc-gui): move records audit under a feature flag

* fix (nc-gui): lint

* refactor: enable audit in CE

* fix(nc-gui) : v0 audit rendering issue

* fix (nc-gui): records audit correctly load after refresh when expanded record is open

* fix (nc-gui): records audit code polishes

---------

Co-authored-by: Yoones Khoshghadam <yooneskh@gmail.com>
Co-authored-by: Pranav C <pranavxc@gmail.com>
2025-01-10 17:19:11 +03:00
mertmit
2681b116ac feat: Audit v1 2025-01-10 07:24:54 +00:00
Pranav C
b9ee0e68cd feat: v3 data APIs 2025-01-09 20:22:55 +00:00
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
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
8e1c05090c refactor: extract icon based on index 2024-10-16 10:30:46 +00:00
Pranav C
9ec0baec9a refactor: make only title as required 2024-10-16 10:30:45 +00:00
Pranav C
be95825039 refactor: allow using icon index for checkbox and rating 2024-10-16 10:30:45 +00:00
Ramesh Mane
fea18145c7 Nc fix/UI misc changes (#9354)
* fix(nc-gui): barcode & rollup cell icon stroke issue

* fix(nc-gui): update single select icon

* fix(nc-gui): update `id:` => `FIELD ID:`

* fix(nc-gui): description icon alignment

* fix(nc-gui): field copy id hover effect

* fix(nc-gui): update mfe test case

* fix(nc-gui): update duration icon

* fix(nc-gui): udpate year icon
2024-08-28 09:22:57 +05:30
Anbarasu
0bb5ab9982 feat: button field (#9144)
* feat: static button type

* fix: swagger

* fix: style corrections

* feat: webhook trigger

* fix: disables

* feat: Button icons fix: row Delete failing

* fix: expanded-form ux fix: disable buttons in forms fix: update PlainCell button handling fix: webhook delete, active change handling

* fix: disable case

* fix: disable case

* fix: update Button styles

* fix: refactor min/max with limit for columns fix: disable filter, groupby for Button Field fix: disable aggregation for Buttons

* fix: hide button field in Filters

* fix: fields menu corrections fix: update menu corrections

* fix: rebase

* feat: support webhook creation from ButtonOptions

* fix: sort related tests

* fix: keep webhook modal open

* fix: ui fixes

* fix: icon duplicate

* fix: syntax highlighing for handlebar fix: disable mascot fix: truncate selected webhook

* fix: sort disable tooltip

* test: button playwright test

* fix: button column duplication

* fix: add error fix: column options

* fix: EditOrAddProvider.vue

* fix: add invalid configuration

* fix: ux corrections

* fix: ux corrections

* fix: error handling fix: clear single query cache on hook delete

* fix: include button type in api

* fix: update overlay styles fix: webhook update

* fix: formula placeholder

* fix: playwright tests

* fix: playwright tests

* feat: refactor formula input

* fix: added more spacing

* fix: no icon text

* fix: lint

* fix: handle invalid url

* fix: handle sort by for button causes issue when button used as lookup

* fix: button field position

* docs: button field

* fix: tooltip correction

* fix: link

* fix: add btn href

* fix: handle some edge cases

* fix: handle some edge cases

* fix: update font color

* fix: add manual trigger docs

* fix: sqlite BaseModel fix

* docs: button share view info

* fix: rebase

* fix: reduce height and added resize support fix: added tooltip if label overflow

* fix: manual hook disable state

* docs: manual trigger details in webhook page

* fix: chevron grey shade to 500

* docs: sample payload for manual trigger

* fix: style update

* fix: pr review comments

* fix: pr review changes

* fix: reactivity issue

* fix: reactivity issue

* fix: filter enabled on button

* fix: reload meta on webhook change

* fix: error handling in formula filter

* fix: handle url error

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-08-14 15:32:19 +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
Raju Udava
88e2d40d9b Nc UI/groupby (#8781)
* feat: groupby design update

* fix: add groupby icons

* fix: misc

* fix: groupby

* fix: update groupBy menu

* fix: remove unwanted addnl widths

* fix: grouopby fixes

* fix: updated styles

* fix: updated styles

* fix: updated styles

* fix: remove data manipulation in fe

* fix: update groupby menu design

* fix: test

* fix: flaky tests

* fix: pagination border fix: left margin fix: shared view and base, incorrect width

* fix: minor fixes

* fix: width calculation

* fix: better width calculation

* fix: refactor group by width caluclation

* fix: tests fix

* fix: groupby tests fix

* fix: pagination bg color

* fix: group by

* fix: group by

* fix: update scrollBump calculation

* fix: updated color

* fix: updated text

* fix: meu margins

* fix: hover effect for elements

* fix: overflow

* fix: coderabbit comments

---------

Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
2024-06-18 20:56:54 +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
DarkPhoenix2704
3d8c267b79 feat(nc-gui): new field icons 2024-03-05 12:05:46 +00:00
Pranav C
792e5dcac9 fix: check colOptions defined 2024-01-10 18:04:31 +05:30
Pranav C
6b0e97e182 fix: check colOptions defined 2024-01-10 18:04:31 +05:30
mertmit
d8cd2ecfd5 fix: retain user field icon for system user fields 2024-01-06 08:47:50 +00:00
mertmit
424cc74595 refactor: cell icons for type selector 2024-01-06 08:47:48 +00:00
mertmit
97b956f4ee feat: createdBy & lastModifiedBy 2024-01-06 08:47:47 +00:00
Pranav C
d39ab6908f refactor: use same icon 2024-01-04 13:19:27 +00:00
Pranav C
21cd0012b9 refactor: rename CreateTime to CreatedTime 2024-01-04 13:19:22 +00:00
Pranav C
1ae4e87297 refactor: bring back CreateTime and LastModifiedTime uidt 2024-01-04 13:19:17 +00:00
mertmit
a7405aec7d feat: user field (WIP) 2023-12-21 13:21:07 +03:00
mertmit
8ab47b1109 fix: various stuff
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-09-06 09:51:17 +03:00
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
Pranav C
d29f31b92d refactor: use material symbol icon
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-03-24 18:41:51 +05:30
Pranav C
b2bfa7e56f refactor: follow camel case key naming
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-03-24 09:59:57 +05:30
Pranav C
2ad02fdea6 refactor: update virtual cell icons
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-03-24 09:59:57 +05:30
Pranav C
7b3f4c21ed refactor: update uidt icons
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-03-24 09:59:57 +05:30
Pranav C
7693830359 fix(gui): make specificBBType typable
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-02-26 23:36:05 +05:30
flisowna
e7f55277ec Merge branch 'develop' of https://github.com/nocodb/nocodb into geodata-prototyping-restart 2023-02-10 18:47:26 +01:00
Pranav C
d0a11b99c7 fix(gui): on typing make editable and focus url input
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-02-01 11:56:06 +05:30
flisowna
9d19f461d7 clean code for merging 2022-12-29 14:10:39 +01:00
flisowna
ea4332f4ed resolve merging conflicts 2022-12-19 14:59:39 +03:00
flisowna
e7a15b77ec Barcode column type - WIP (mainly FE related code) 2022-12-01 20:14:58 +03:00
Pranav C
10be0190a9 chore: lint
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-12-01 20:03:31 +05:30
Pranav C
701cf04083 fix(gui): avoid clearing cell data if it's a non-typable column
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-12-01 17:42:22 +05:30
Pranav C
49098822ac refactor(gui): group imports
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-11-30 11:57:23 +05:30
Pranav C
e25625be84 refactor: cell icon update
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-11-30 11:38:14 +05:30
Daniel Spaude
ff3ffe5cdb qrcode: move qr code option after DateTime option 2022-11-29 21:22:46 +03:00
Daniel Spaude
7174401fc8 Merge branch 'develop' into qr-prototyping-cleanedup 2022-11-17 17:02:13 +03:00