Commit Graph

16 Commits

Author SHA1 Message Date
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
b4bde7336f Nc feat/link record dropdown (#8345)
* feat(nc-gui): link record dropdown setup

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

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

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

* fix(nc-gui): small changes

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

* fix(nc-gui): ui break issue

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

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

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

* fix(nc-gui): new changes

* fix: remove margin

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

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

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

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

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

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

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

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

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

* fix: PW link unlink corrections

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

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

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

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

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

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

* fix: auto close for BT

* fix: ltar modal operations

* fix: close link modal

* fix: PW tests (wip)

* test: fix link modal close in share view

* test: fix LTAR in cell handling

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

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

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

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

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

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

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

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

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

* chore(nc-gui): lint

* fix(nc-gu): small changes

* fix(nc-gui): ai review changes

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

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

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

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

* fix(nc-gui): text color

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

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

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

* chore(nc-gui): lint

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

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

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-01 12:42:28 +05:30
Muhammed Mustafa
f6948d8564 fix: Fixed tests issues with view sidebar removal 2023-09-23 12:03:57 +05:30
DarkPhoenix2704
bbbaae7b82 test: poll for count 2023-09-21 10:06:02 +05:30
DarkPhoenix2704
49d55736b8 test: fix grid, gallery 2023-09-19 09:22:45 +05:30
DarkPhoenix2704
4ed5c119a4 test: fix flakiness 2023-09-19 09:22:45 +05:30
DarkPhoenix2704
15b7d85c02 test: fix 2023-09-19 09:22:45 +05:30
DarkPhoenix2704
a988acbfc7 feat: links modal revamp 2023-09-19 09:22:45 +05:30
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
Raju Udava
6b492bb891 test: virtual cell verification
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2023-06-01 12:51:38 +05:30
Raju Udava
485c5671ed test: undo tests for link/unlink
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2023-03-28 21:41:11 +03:00
Pranav C
eb3d823e91 chore(test): replace uiAction with a callback to trigger it only after initializing network watcher
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-02-16 16:51:27 +05:30
Pranav C
69dc9feeee test(playwright): selector correction
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-12-23 14:49:15 +05:30
Pranav C
9fde794388 fix(playwright): use regex pattern
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-12-23 14:49:15 +05:30
Pranav C
9d8bc1d81b fix(gui): keep parsed meta data in cache
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-12-23 14:49:15 +05:30
Muhammed Mustafa
aa5fbdffd4 fix(test): Moved playwright folder from nc-gui 2022-11-12 15:29:36 +05:30