Commit Graph

86 Commits

Author SHA1 Message Date
mertmit
84665be686 fix: pw tests 2025-06-25 15:47:25 +00:00
DarkPhoenix2704
f234c00148 fix: duplciate base test fix 2025-03-17 06:16:30 +00:00
Raju Udava
f1d4013d16 Nc fix/rich perf (#10528)
* fix: rich text performance issue

* fix: rich text limit number of chars for canvas

* fix: flaky barcode tests

* fix: avoid duplicate trigger

* test: flaky kanban

* test: flaky meta sync

* test: flaky grid

* test: add flag to kanban calls

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

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
Co-authored-by: mertmit <mertmit99@gmail.com>
2025-02-18 15:45:47 +03:00
amandesai01
f8300785a1 test(nc-gui): calendar: remove unnecessary force 2025-01-20 10:45:12 +00:00
Ramesh Mane
dd89bf3e15 fix(text): user selct cell pw test fails issue 2024-12-27 15:25:38 +05:30
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
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
Anbarasu
a5fc9be175 feat: Formula colouring and improved suggestions (#9072)
* feat: formula language

* feat: formula coloring and ux improvements

* fix: suggestions generation

* fix: handle undefined editor

* fix: handle formula errors

* fix: update imports

* fix: minor corrections

* fix: test corrections

* fix: increase timeout

* fix: clear existing formulas before pasting

* fix: ux improve

* fix: ux improve

* fix: coloring issue

* fix: remove styles

* fix: handle wrapping

* fix: bug fixes

* fix: strict suggestion handling

* fix: update indent strategy

* fix: handle formula in nested state and unbalanced parens

* fix: formula fix

* chore: sync dependencies
2024-07-30 13:47:07 +05:30
Pranav C
a21c2fd6cf test: playwright test - WIP 2024-07-12 18:22:03 +00:00
Raju Udava
dce7bf8502 Nc chore/menu titles (#8961)
* fix: menu items

* test: fix menu item name change

* fix: menu items in expand record, kanban & mfe
2024-07-08 18:26:54 +05:30
Ramesh Mane
5041a10533 Fix: Persist the left sidebar width and use pixels instead of percentage to configure the sidebar width (#8931)
* fix(nc-gui): use px to configure left sidebar width instead of percentage

* fix(nc-gui): ai review changes

* fix(nc-gui): use 256px sidebar default width in pw testing

* fix: use constant sidebar width

* fix(test): airtable import test fail issue

* chore(test): remove console

* chore(nc-gui): update comment
2024-07-05 16:43:13 +05:30
Raju Udava
954e1b919e fix: column ops- scroll into view before insert 2024-06-28 12:24:06 +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
Raju Udava
58e70afaac Nc feat/type conversions rebased (#8680)
* feat: created inferTypes.ts

* chore: switch to sdk types

* feat: convert string to given type

* feat: convert string to rating

* fix: handle the case with multiple .

* feat: numeric decimal type conversion in postgres

* feat: add cast for non text fields

* refactor: move type casts to separate file

* feat: add casts for date, date-time and time

* doc: added function docs

* feat: added cast for year and rating

* feat: added cast for duration

* fix: cast for multi-select

* fix: cast for multi-select

* fix: cast for year

* feat: date conversion on best effort basis

* fix: single line text to select

* fix: any field to select

* lint: simplified expressions

* fix: user conversion

* fix: user conversion

* fix: date time conversion

* test: added test cases for type casts

* fix: SLT to User field

* fix: SLT to Long text, single select and multiselect

* chore: handle True/False & TRUE/FALSE in checkbox

* lint: fixed eslint issues

* chore: remove system fields as destination type when converting a field

* feat: show warning when changing column type

* fix: toned down edit modal

* test: click on update button during warning popup

* test: update selector

* test: fix type change flag

* fix: handle date format

* chore: auto focus update button

* fix: parameterize columnName and other values

* chore: removed number of digits limit for hour

* test: fix add-edit modal label

* fix: fixed missing column reference

* fix: handle missing date format

* fix: handle missing date format

* test: fix save routine mux

* test: fix barCode & QRCode save

* refactor: combined uiType filters

* fix: sanitise column name

* refactor: switch to some instead of find

* feat: created inferTypes.ts

* chore: switch to sdk types

* feat: convert string to given type

* feat: numeric decimal type conversion in postgres

* feat: add cast for non text fields

* refactor: move type casts to separate file

* feat: add casts for date, date-time and time

* doc: added function docs

* feat: added cast for year and rating

* feat: added cast for duration

* fix: cast for multi-select

* fix: cast for multi-select

* fix: cast for year

* feat: date conversion on best effort basis

* fix: single line text to select

* fix: user conversion

* fix: date time conversion

* fix: SLT to User field

* fix: SLT to Long text, single select and multiselect

* chore: handle True/False & TRUE/FALSE in checkbox

* lint: fixed eslint issues

* feat: show warning when changing column type

* fix: toned down edit modal

* test: click on update button during warning popup

* fix: handle date format

* chore: auto focus update button

* fix: parameterize columnName and other values

* chore: removed number of digits limit for hour

* fix: handle missing date format

* fix: handle missing date format

* test: fix save routine mux

* fix: revert removing verify

* fix: sanitise column name

* fix: pass context

* tests: remove duplicate statement

* fix: add context bypass for list method

* fix: disable type conversion for Formula, BarCode, QrCode

* fix: render confirm modal sing useDialog to avoid accidental closing

* refactor: construct context using column while getting colOptions data

---------

Co-authored-by: rohittp <tprohit9@gmail.com>
Co-authored-by: Pranav C <pranavxc@gmail.com>
2024-06-12 15:17:29 +05:30
Pranav C
6624bf5091 Nc feat/links view filter (#8646)
* feat(nocodb): add support for limiting selection to specific views

* test: fix failing tests

* fix: failing playwright tests

* feat: allow updating static view filter from both sides

* fix: remove console logs

* refactor: rename migration name

* fix: corrections in ui and update api

* fix: apply same behaviour for LTAR column(bt)

* refactor: rename view id column in relation to avoid confusion

* fix: option to disable view filter(switch)

* refactor: some minor ui spacing corrections

* fix: avoid setting target view id for bt relation when creating hm relation

* feat: links - record selection based on custom filters

* fix: corrections

* feat: add edit support for conditions

* feat: option to switch between dynamic and static value

* fix: backend corrections

* feat: apis for links filter

* feat: filter api integration with ui

* feat: filter with save and update

* feat: dynamic filter

* feat: shared form filter

* feat: expanded form

* fix: missing imports and corrections

* fix: pass correct column list

* fix: nested filter bug

* fix: corrections in actions and swagger

* fix: missing add button menu

* fix: expanded form bug

* test: playwright test - WIP

* test: playwright - link with filters/view

* chore: lint

* refactor: ui corrections

* fix: remove unnecessary filtering from hm/mm list and count

* fix: filter ui correction

* fix: lable correction

* fix: skip view filter for rollup

* fix: ui corrections

* fix: extract correct column id

* fix: duplicate LTAR - missing target view

* feat: add duplicate support for link with filters/view

* fix: height issue and nested filter creation bug

* fix: pass metadata to nested filter component

* fix: filter on column creation

* fix: filter getting cloned under group

* fix: exclude deleted filters when deciding locked state

* fix: update state when switching to dynamic filter

* fix: unlink view on delete and handle undefined values as null

* fix: filter based on unsaved data

* fix: handle overflow

* fix: multi-field editor - filter UI correction

* fix: duplicate link column with dynamic field ref

* fix: remove virtual column support

* fix: add support to link filter in normal list method

* fix: apply filter on count query

* fix: pass correct column list

* feat: add link filter support in multifield column creation

* feat: add link filter support in multifield column creation

* Merge branch 'develop' into feat/links-view-filter

* fix: dynamic value column export

* fix: review comments

* test: kludge for groupby tests

* fix: extract updated status correctly

* test: try waitFor for links

* test: kludge

* refactor: exclude attachment & rating from dynamic filter and treat float and integer as number

* test: label correction

* refactor: replace try...catch and use if condition

* fix: apply conditions only if enabled

* fix: MFE bugs

* refactor: show radio button active border only when focused

* fix:  proper state handling

* fix: view delete - unlink from link column

* fix: duplicate Link with filter view id

* refactor: column filter section padding

* fix: exclude system columns

* fix: dynamic column filter logic correction

* refactor: cleanup

* test: kludge with delay for groupby test

* refactor: add missing placeholder method

* docs: limit link record selection

* refactor: add missing placeholder method

* chore: lint

---------

Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-06-05 17:28:02 +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
Pranav C
413b91a192 test: correction 2024-05-06 06:39:20 +00:00
Raju Udava
2efb1dbcae fix: date time edit modal handling 2024-05-03 06:45:41 +00:00
Raju Udava
4321c0f9ef test: leave a time gap between date & time config 2024-05-03 06:45:41 +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
DarkPhoenix2704
71d935337d test: fix 2024-02-20 07:16:20 +00:00
DarkPhoenix2704
dc723c8dbb test: tests for date field type 2024-02-20 07:16:20 +00:00
Ramesh Mane
2144dcc8fa fix(test): pw test fail issue 2024-01-27 10:42:33 +00:00
starbirdtech383
478c347e92 update tests for invalid function error 2023-12-27 18:13:15 +05:30
starbirdtech383
c95d95ae73 separate out formula tests which are not supported in sqlite
formula tests to run based on supported db type

pw formula tests, check formula not supported error

pw formula tests for mysql regex

remove sqlite exclusion for LOG test

reverted suite 3 and kept only 2

reverted suite 3 and kept only 2

remove alternate buggy paths which was added to pass the test
2023-12-22 12:18:03 +05:30
Ramesh Mane
65027c20bb test: user option column 2023-12-21 13:21:07 +03:00
musharaf-nocodb
9140d4bfdd fix : fixed test cases for webhook and date options 2023-12-12 08:09:35 +05:30
musharaf-nocodb
60163b03fc fix : revert date options 2023-12-11 16:25:45 +05:30
musharaf-nocodb
efd34f49c9 fix : fixed date list 2023-12-11 15:56:56 +05:30
musharaf-nocodb
36ad0ae20d fix : date column test id 2023-12-08 16:20:35 +05:30
musharaf-nocodb
fb62ebb660 fix : date test-case 2023-12-08 16:06:14 +05:30
musharaf-nocodb
2cf1c214c4 fix : fixed qr test case 2023-12-08 15:50:16 +05:30
musharaf-nocodb
1215d9de95 fix : fixed datetime test locator 2023-12-08 15:25:36 +05:30
musharaf-nocodb
66e0f0dab1 fix : test case for dateoption 2023-12-08 15:08:57 +05:30
աɨռɢӄաօռɢ
4540a2da62 Merge branch 'develop' into feat/yyyy-mm 2023-11-15 15:15:44 +08:00
mertmit
94c6098339 test: timeout to allow duplication of data
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-13 19:48:56 +03:00
mertmit
eb7e7a8cc8 test: duplicate column modal
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-11-13 19:48:55 +03:00
Raju Udava
51e5b872b6 test: suite for yyyy-mm
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2023-11-07 20:27:21 +05:30
Muhammed Mustafa
627e991c47 fix: Fixed column width undo test with column dnd 2023-10-26 16:52:30 +00:00
Pranav C
4b64d3d2fd refactor: path correction 2023-10-11 06:25:53 +00:00
Pranav C
75c9b7e3eb refactor: meta path corrections in tests 2023-10-11 06:25:51 +00:00
Muhammed Mustafa
ce24a7d200 fix(nc-gui): Playwright issues 2023-10-09 13:53:36 +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
Muhammed Mustafa
3b1f76da75 fix: Fixed sidebar node context menu based on ACL and added tests for it based on roles 2023-09-22 15:21:22 +05:30
Wing-Kam Wong
fe008165c7 Merge branch 'develop' into feat/pnpm 2023-09-01 21:56:21 +08:00
Raju Udava
eddd118280 test: remove unintended awaits
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2023-09-01 10:10:26 +05:30
Wing-Kam Wong
9325ab026a Merge branch 'develop' into feat/pnpm 2023-08-25 12:40:56 +08: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
Wing-Kam Wong
deac9a9745 chore(playwright): revise uiAction 2023-06-28 14:19:32 +08:00
Raju Udava
59995d9038 test: sync-2 2023-04-25 21:15:59 +05:30