feat(books): enhance filter UI with nested groups and improvements

- fix nested group ALL/ANY toggle visibility and empty-rules group handling
- add FilterSummary component with color-coded field/operator/value display
- add collapsible filter preview in LensView with header toggle
- raise MAX_DEPTH to 5 to match backend validation
- add ruleToParts helper for structured rule rendering
- update filter chip styling: emerald fields, muted operators, primary values
- style ALL/ANY badges with sky-blue and amber respectively
- add segmented sort chip with rose accent and icon
- rebuild @projectx/types package to include tag and collection in RuleField
This commit is contained in:
neon
2026-03-02 16:15:14 -06:00
parent ed6c7428ec
commit ec5dda57b0
20 changed files with 692 additions and 100 deletions
+3 -1
View File
@@ -8,7 +8,9 @@
"build:client": "pnpm --filter client build",
"build:server": "pnpm --filter server build",
"lint": "pnpm -r lint",
"test": "pnpm -r test"
"test": "pnpm -r test",
"db:reset": "bash scripts/db/reset.sh",
"db:seed": "bash scripts/postman/seed.sh"
},
"engines": {
"node": ">=24",