Commit Graph

110 Commits

Author SHA1 Message Date
Ramesh Mane
a2ceee11e6 fix(nc-gui): shared view column display issue after deleting column from table 2024-04-03 12:18:59 +00:00
Mert E
0f7b88970f fix: shared form pw error handling (#7991)
* fix: shared form password error

* fix: remove unnecessary export & duplicate file

* fix: filter non-generic errors from logs for NcBaseErrorv2
2024-03-28 17:18:19 +05:30
Mert E
af49ed346f feat: errors v2 (#7916)
* feat: NcBaseErrorv2

* feat: move existing errors to v2 (WIP)

* feat: use functions instead of replace for templates

* feat: use v2 for database errors

* feat: experimental extraction for non-matched db errors

* feat: improved error message formats

* test: NcBaseErrorv2

* fix: move string casting to handler
2024-03-20 20:29:28 +05:30
Ramesh Mane
34cc8197d4 Nc fix: Form view bug fixes (#7899)
* fix(nc-gui): show inline form field validation errors

* fix(nc-gui): display inline validation error in shared form and form builder

* fix(nc-gui): shared form default value issue

* fix(nc-gui): limit option spell mistake

* fix(nc-gui): form title update issue when toggle between grid & form view

* fix(nc-gui): form banner & logo display issue on upload

* chore(nc-gui): lint

* fix(nc-gui): show error message on press non numeric keys in numeric field

* fix(nc-gui): add key for form banner and logo

* fix(nc-gui): show currency suffix only in form

* fix(nc-gui): edit column default value input height issue

* fix(nc-gui): form checkbox field enter keypress should navigate to next question in survey form

* fix(nc-gui): escape should blur focus field in survey form

* fix(nc-gui): add currency code suffix in form view currency field

* chore(nc-gui): lint

* fix(nc-gui): add percent suffix in form view percent field

* fix(nc-gui): survey form pw test fail issue

* fix(nc-gui): filter pw test fail issue

* fix(nc-gui): add missing classname in oss

* fix(nc-gui): survey form ui break issue

* fix(nc-gui): update oss survey form file

* fix(nc-gui): in survey form branding text color should be dynamic based on form bg color

* chore(nc-gui): lint

* fix(nc-gui): ai pr review changes

* fix(nc-gui): pr review changes #2555

* fix(nc-gui): use handler instead on ternery condition
2024-03-20 20:10:34 +05:30
Ramesh Mane
2cd0a1c74a Nc feat/survey form v2 (#7843)
* fix(nc-gui): survey form v2 setup

* fix(nc-gui): survey form ui updated

* fix(nc-gui): survery form ui changes for oss

* chore(nc-gui): lint

* chore(nc-gui): lint

* chore(nc-gui): revert unrelated changes

* test(nc-gui): update pw test of survey form

* fix(nc-gui): update survey form according to new design

* fix(nc-gui): add survey form slide animation

* fix(nc-gui): hide survey form pagination in first slide

* fix(nc-gui): optimize shared form for mobile screen

* chore(nc-gui): lint

* fix(nc-gui): pw test fail issue

* fix(nc-gui): some of the pr review changes

* fix(nc-gui): add placeholder for datetime related fields

* fix(nc-gui): allow upload same file next time

* fix(nc-gui): gallery image display issue nocodb/nocodb/issues/7851

* chore(nc-gui): lint

* fix(nc-gui): survey form ui changes for oss

* fix(nc-gui): use i18n for survey form

* fix(nc-gui): use keydown space for date, datetime fields to open modal in survey form
2024-03-14 12:25:56 +05:30
Ramesh Mane
62220705de fix(nc-gui): add condition to check default value 2024-03-09 11:51:15 +00:00
Ramesh Mane
3ee5e52f60 fix(nc-gui): use math.max instead of ternary operator 2024-03-09 11:51:15 +00:00
Ramesh Mane
2d2ec98088 fix(nc-gui): some review comments 2024-03-09 11:51:15 +00:00
Ramesh Mane
aef292b2f7 feat(nc-gui): prefill form with default values 2024-03-09 11:51:15 +00:00
Ramesh Mane
b9057d20b7 fix(nc-gui): prefill link issue after clicking clear form btn in form builder 2024-03-09 11:51:14 +00:00
Ramesh Mane
835f55b9a5 fix(nc-gui): prevent clear prefilled readonly or hidden fields on clicking clear form 2024-03-09 11:51:14 +00:00
Ramesh Mane
0d9db02f68 fix(nc-gui): prefill issue if query param key is encoded 2024-03-09 11:51:13 +00:00
Ramesh Mane
8bd4215c00 fix(nc-gui): move get prefill link in share form modal 2024-03-09 11:51:12 +00:00
Ramesh Mane
67f8eb2fe4 chore(nc-gui): lint 2024-03-09 11:51:12 +00:00
Ramesh Mane
dc31d4db28 fix(nc-gui): prefill iso date format issue 2024-03-09 11:51:11 +00:00
Ramesh Mane
a798b55eab fix(nc-gui): allow prefill date, datetime, time only in iso format 2024-03-09 11:51:11 +00:00
Ramesh Mane
88cbb34cb1 fix(nc-gui): allow user email or id in prefilled form 2024-03-09 11:51:11 +00:00
Ramesh Mane
f3b46bd72a fix(nc-gui): grayed out shared form field if prefilled fields are locked 2024-03-09 11:51:10 +00:00
Ramesh Mane
b9bfbeab57 fix(nc-gui): hide system columns in shared form 2024-03-09 11:51:10 +00:00
Ramesh Mane
eaeb3b57b7 feat(nc-gui): add prefill support for rating, url, checkbox, year, data & dateTime fields 2024-03-09 11:51:10 +00:00
Ramesh Mane
9a57f4fca0 feat(nc-gui): prefill user, text & numeric fields 2024-03-09 11:51:10 +00:00
Ramesh Mane
35dd69fa81 fix(nc-gui): use only title for query params in prefill form 2024-03-09 11:51:09 +00:00
Ramesh Mane
2973185708 feat(nc-gui): allow prefill shared form setup 2024-03-09 11:51:09 +00:00
Ramesh Mane
d7729b5de5 fix(nc-gui): small changes in share form store 2024-03-09 11:51:09 +00:00
Ramesh Mane
51a8f4a4d7 fix(nc-gui): shared form select type list options 2024-02-27 12:39:20 +00:00
Ramesh Mane
5537cde5b9 fic(nc-gui): update form submit error message 2024-02-22 16:18:11 +00:00
Ramesh Mane
fd202851d7 fix(nc-gui): use I18n instead of hardcoded text 2024-02-22 16:17:55 +00:00
Ramesh Mane
5152275e51 fix(nc-gui): add clear form btn in shared form 2024-02-22 16:17:11 +00:00
mertmit
635ece86e3 fix: shared form view user field 2023-12-28 13:40:07 +00:00
Raju Udava
0d0eaf6556 Merge branch 'develop' into NCDBOSS-88 2023-10-21 15:00:56 +05:30
WK Wong
55259c89b9 chore(nc-gui): lint 2023-10-03 11:24:03 +08: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
e4cf30f58a fix: nc button ui and word wrap 2023-09-30 12:39:39 +05:30
gitstart
9c519987b1 🐛 Bug: default value not applied if value was modified before submitting link shared form
Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: sheldon-welinga <sheldonwelinga@gmail.com>
Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
2023-09-25 13:15:11 +00:00
Raju Udava
af663c4a12 sync 0000
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2023-08-24 23:49:27 +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
Wing-Kam Wong
7629363050 fix(nc-gui): incorrect shared form logic 2023-05-22 17:48:55 +08:00
Wing-Kam Wong
99996d7fe8 chore(nc-gui): lint 2023-05-19 15:08:33 +05:30
Wing-Kam Wong
1616a86d8d fix(nc-gui): incorrect columns in shared form 2023-05-18 20:04:16 +08:00
Daniel Spaude
47ec9b2657 code cleanup 2023-03-16 16:14:55 +01:00
Daniel Spaude
8347d18b01 Merge branch 'develop' into add-fillFormFieldByScanner-option 2023-03-16 09:40:45 +01:00
Pranav C
618c069db3 fix: add action to set project value
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-03-13 11:30:15 +05:30
Pranav C
d62b3d9419 refactor: include storeToRefs in imports alias
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-03-10 12:04:34 +05:30
Pranav C
dbce6f0952 chore: lint
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-03-10 00:30:19 +05:30
Pranav C
500979d135 refactor: migrate simple composable usage syntax to pinia store usage syntax
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-03-10 00:29:20 +05:30
Daniel Spaude
110dd079af code scanner for forms - WIP (only show scanner button if editor has enabled it) 2023-02-21 19:41:03 -05:00
Pranav C
c54bfd435a fix(gui): construct project base metadata from public meta api response
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-01-14 15:16:37 +05:30
mertmit
879dcee082 fix: shared view sqlUis
Signed-off-by: mertmit <mertmit99@gmail.com>
2022-12-03 11:21:59 +03:00
braks
25b1872587 fix(nc-gui): type issues 2022-10-27 11:47:06 +02:00
braks
808d7ca5c3 fix(nc-gui): use column label or title for error msg in form view 2022-10-12 11:07:47 +02:00