Commit Graph

37 Commits

Author SHA1 Message Date
Ramesh Mane
d3cfa8be68 feat: display number/decimal value according to locale format (#8626)
* feat: display number/decimal value according to locale format

* fix: thousands separator text

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-06-04 10:28:21 +05:30
Ramesh Mane
2640656ddd Nc feat/new field modal (#8578)
* fix(nc-gui): remove field modal title & type selector label

* fix(nc-gui): hide default value input initially

* fix(nc-gui): remove clear icon from default value input

* fix(nc-gui): update email, phone, url column validation settings ui

* fix(nc-gui): add missing validate field condition

* fix(nc-gui): update long text field modal ui

* fix(nc-gui): update default field modal width & enable rich text option

* fix(nc-gui): small changes

* fix(nc-gui): hide default value input only if user clicks on delete icon

* fix(nc-gui): decimal field option ui

* fix(nc-gui): update percent option ui

* fix(nc-gui): small changes

* fix(nc-gui): update field modal switch option alignment

* fix(nc-gui): update date & dateTime field modal options

* feat(nc-gui): add 12, 24 hrs time format option in field modal

* feat(nc-gui): add 12hr time cell format support

* fix(nc-gui): update time cell placeholder according to time format

* fix(nc-gui): field modal default value option visibility issue

* fix(nc-gui): update barcode, qr code field modal option

* fix(nc-gui): field modal expanded json input modal overlay click issue

* fix(nc-gui): currency code option from field modal

* fix(nc-gui): udpate duration option

* fix(nc-gui): date time cell clear icon visibility issue in link record dropdown

* fix(nc-gui): update field modal lookup options

* fix(nc-gui): update user option from field modal

* fix(nc-gui): update rollup option from field modal

* fix(nc-gui): update select field type ui for create column

* fix(nc-gui): update field modal cancel & save btn alignment

* fix(nc-gui): update formula option margin

* fic(nc-gui): update select type option

* fix(nc-gui): small changes

* fix(nc-gui): update links field options

* fix(nc-gui): small changes

* fix(nc-gui): select option border issue

* fix(nc-gui): add new color picker

* fix(nc-gui): update rating field options

* fix(nc-gui): update geodata field options

* fix(nc-gui): geodata option small changes

* fix(nc-gui): add new color picker for select type options

* fix(nc-gui): show only title & field type list if uidt is null

* feat(nc-gui): add 12hrs time support in dateTime cell

* fix(nc-gui): formula suggestion list visibility issue

* fix(nc-gui): reduce formaula suggestion fields icon size

* fix(nc-gui): rich text default value visibility issue in field modal

* fix(nc-gui): update rich text default value bubble menu option

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

* fix(nc-gui): remove example from duration format

* feat(nc-gui): add keyboard navigation support for field list

* fix(nc-gui): update email, url, phone validate text

* fix(nc-gui): update qr & barcode value select input

* fix(nc-gui): pr review changes

* test: update create column test cases

* fix(nc-gui): remove required symbol from field modal inputs

* fix(nc-gui): remove delete default value icon and add cross icon in default input itself

* test: update duration field type test

* fix(nc-gui): update column name & type input shadow

* fix(nc-gui): add hover effect on selected type

* fix(nc-gui): enabel rich text case update

* fix(nc-gui): update select options

* fix(nc-gui): show full time format in edit modal default value

* fix(nc-gui): remove optional placeholder of default value

* fix(nc-gui): instead of removing field type option disable it if it is onlyNameUpdateOnEditColumns

* fix(nc-gui): update links field icons from field modal

* fix(nc-gui): add links options in edit modal

* fix(nc-gui): show links config and disable if it is not editable in edit column mode

* fix(nc-gui): add support to configure date time format for create & last modified type field

* fix(nc-gui): virtual field icon visibility issue if it is edit mode

* fix(nc-gui): disabled edit option from field context menu if column is pk or system column

* fix(nc-gui): update field modal submit btn text

* fix(nc-gui): add shdow on input field in field modal

* fix(nc-gui): disable submit btn if field modal has some warnings

* test: update field add/edit save test case

* test: update links column add/edit test cases

* test: uncomment code

* test: update user field default value update test cases

* test: update select type option default value

* test: update multi field editor test cases

* test: update kanban view add option test cases

* test: update multifield editor test cases

* test: update create column keyboard shortcut test case

* chore(nc-gui): lint

* fix(nc-gui): field modal redio option shadow issue

* fix(nc-gui): update field modal select option color picker btn border radius

* fix(nc-gui): checkbox & rating icon alignment issue

* fix(nc-gui): update field modal formula field

* fix(nc-gui): field modal padding and gap issue

* fix(nc-gui): update set default value font case & font color

* fix(nc-gui): update field modal formula suggestion list ui

* fix(nc-gui): removecolumn create field search list from multifield editor

* fix(nc-gui): add placeholder for lookup & rollup options

* fix: label

* fix(nc-gui): remove placeholder from select type

* fix(nc-gui): remove link type from link field select option

* fix(nc-gui): qr, barcode value field icon issue

* fix(nc-gui): set color picker tab according to active color

* fix(nc-gui): json editor save btn ui changes in edit modal

* fix(nc-gui): disable editing primary key col

* chore(nc-gui): lint

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-31 21:26:57 +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
e9aa37e284 Nc fix: UI improvements (#8223)
* fix(nc-gui): add background color for row on hover in grid view

* fix(nc-gui): reduce width of index column

* fix(nc-gui): on hover grid row bg opacity issue

* fix(nc-gui): reduce font size and grid cell height

* fix(nc-gui): reduce font size

* fix(nc-gui): set column default width to 180px

* fix(nc-gui): revert sidebar changes

* fix(nc-gui): disable grid row hover effect if fillMode is true

* fix(nc-gui): display checkbox & row expand icon if it is active row

* fix(nc-gui): increase the weight of display value cell

* fix(nc-gui): grid cell should have constant padding

* fix(nc-gui): att cell row height auto increase issue

* fix(nc-gui): att cell center align issue

* fix(nc-gui): percent cell spacing issue

* fix(nc-gui): text overflow ellipsis

* fix(nc-gui): single select auto increase height issue if rowHeight is short

* fix(nc-gui): grayed out header text color

* fix(nc-gui): reduce header icon size

* fix(nc-gui): set 12px grid header horizontal padding

* fix(nc-gui): center align expand icon for short row height

* fix(nc-gui): rich text and select type field auto row height increase issue

* fix(nc-gui): lookup cell auto increase height issue

* fix(nc-gui): small changes

* fix(nc-gui): truncate text after no. of lines base on rowHeight

* fix(nc-gui): barcode & qrcode cell row height issue

* chore(nc-gui): lint

* fix(test): update row height pw test

* fix(test): grid toolbar rowHeight test update

* fix(nc-gui): ai review changes

* fix(test): multiselect pw test update

* fix(test): verify multiselct options test update

* fix(nc-gui): merge conflicts

* fix(nc-gui): small changes

* fix(nc-gui): small changes

* fix(nc-gui): display value should be in blue color
2024-04-18 18:21:54 +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
22220fd238 fix(nc-gui): link record expanded form fields spacing issue 2024-01-20 11:37:17 +00:00
Ramesh Mane
b134ffe21e fix(nc-gui): lint errors 2024-01-20 11:37:16 +00:00
Ramesh Mane
8e9b9701d0 fix(nc-gui): disable fields edit if its readonly 2024-01-20 11:37:15 +00:00
Ramesh Mane
44754e1e9b fix: tab focus issue in shared form and expanded form 2023-12-28 14:12:28 +05:30
Ramesh Mane
291532a651 fix: review changes 2023-12-27 12:47:46 +05:30
Ramesh Mane
8e7aaf8d16 fix: field alignment issue in expanded form 2023-12-27 00:10:45 +05:30
sreehari jayaraj
1952010a65 fix: generic ui fixes 2023-10-02 12:50:59 +05:30
Muhammed Mustafa
7c322608fe fix: i18n for Currency, Email, Float, Integer, and URL 2023-09-29 15:08:42 +05:30
Raju Udava
6276c9287a refactor: change placeholder text
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2023-09-13 09:39:54 +05:30
DarkPhoenix2704
016d1622b9 fix: revert style 2023-09-13 09:39:54 +05:30
DarkPhoenix2704
13b1cc4ab2 feat: placeholder 2023-09-13 09:39:54 +05:30
DarkPhoenix2704
68682f90c0 fix: update styles 2023-09-13 09:39:13 +05:30
DarkPhoenix2704
2e3611deb7 feat: simplified default value 2023-09-13 09:39:13 +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
mertmit
2007e83617 fix: prevent undo while editing
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-06-29 16:45:01 +03:00
Pranav C
faca1e9f68 fix: access reactive variable value using value prop
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-06-01 23:17:56 +05:30
Pranav C
54754af815 fix: set default value for inject
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-06-01 14:18:50 +05:30
Wing-Kam Wong
7a5e76ed51 fix(nc-gui): focus when expanded form not open 2023-04-26 13:46:56 +08:00
Wing-Kam Wong
880c48676d fix(nc-gui): vModel on numeric columns 2023-03-17 17:15:58 +08:00
Wing-Kam Wong
e284b96d2b fix(nc-gui): numeric cell type issues 2023-03-15 20:04:52 +08:00
mertmit
46b5640dce feat: add showNull to global state to control indicator
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-01-25 16:26:22 +03:00
mertmit
a581bbc7fd feat: extended support for NULL indicator
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-01-25 16:07:47 +03:00
Pranav C
d395d643bb fix(gui): treat empty string as null for number fields
re #4701

Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-12-29 13:09:49 +05:30
Pranav C
a8f421f22b fix(gui): allow drag select, mouse select and cmd/ctrl + a select
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-11-30 15:13:32 +05:30
Pranav C
f8e52e39e0 fix(api): block delete key press action for input fields at cell level
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-11-14 16:31:01 +05:30
Pranav C
59964d5c38 fix(gui): stop event bubbling at input level
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-11-14 16:31:00 +05:30
braks
3631aa1b7e chore(nc-gui): correct prop types 2022-10-13 16:45:21 +02:00
braks
282d481244 chore(nc-gui): integer prop type 2022-10-12 15:07:37 +02:00
Wing-Kam Wong
842712e441 Merge branch 'develop' into feat/kanban-view 2022-09-28 22:31:32 +08:00
braks
4c29fa18ff refactor(nc-gui): use lazy load and cleanup imports 2022-09-28 13:30:40 +02:00
Wing-Kam Wong
59c777d30e feat(nc-gui): kanban style 2022-09-24 20:10:33 +08:00
Wing-Kam Wong
f97ea536b4 chore: move nc-gui-v2 to nc-gui 2022-09-06 12:00:09 +08:00