feat: refactor filters on insights response table (#17796)
* feat: improve text filters (WIP) * move function to bottom * apply some styles * fix selection of TextFilterOptions * rename value to operand * remove unused file * merge filters/filters into filters/utils * fix regression of not putting url params correctly * move makeWhereClause to filters/utils * fix negative, empty, and not empty operators * fix initial filtering from search state (url) * fix type errors * do not send an empty array to query * update yarn.lock * i18n for text filter operators * extract logic as useColumnFilters() * add missing import * fix type error * revert yarn.lock * use i18n * insensitive text match * move data-table to @calcom/features * fix type errors * fix type errors * fix type errors * feat: support DataTable filters for Insights Routing WIP * remove unused filters * remove additionalFilters and fix types * clean up filter components * support icons for ActiveFilters * support filters on json * fix filter ui * fix type error and clean up * revert changes * revert change * clean up * revert change * fix compatibility with insights booking page * remove unused params * fix type errors * update yarn.lock * fix field filter and adjust ui * chore: update yarn.lock * fix text filter * add Clear Filters button * add more test data --------- Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
1 parent
82a500aeaa
commit
5d88858995
29 files changed
+556
-315
No files matched your search
@@ -4566,6 +4566,7 @@ __metadata:
|
||||
resolution: "@calcom/prisma@workspace:packages/prisma"
|
||||
dependencies:
|
||||
"@calcom/lib": "*"
|
||||
"@faker-js/faker": 9.2.0
|
||||
"@prisma/client": ^5.4.2
|
||||
"@prisma/extension-accelerate": ^0.6.2
|
||||
"@prisma/generator-helper": ^5.4.2
|
||||
@@ -6311,6 +6312,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@faker-js/faker@npm:9.2.0":
|
||||
version: 9.2.0
|
||||
resolution: "@faker-js/faker@npm:9.2.0"
|
||||
checksum: 7cbff7363f198c24aa1a25499f200a25506f80df577a419ae878b6bdd4aa901ecfe071ae3bbecf8afafa5542c825623d55f5884d44db7b12420c898241332cd1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@faker-js/faker@npm:^7.3.0":
|
||||
version: 7.4.0
|
||||
resolution: "@faker-js/faker@npm:7.4.0"
|
||||
|
||||
Reference in new issue
Block a user