You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(showcase): ADR-0047 — lookup quick-filter example (project)
Adds the project master-detail field to the Task List view's dropdown
filters: the record-picker dropdown path (search + multi-select records)
that CRM consumers (hotcrm account workbench: owner user lookup) rely
on. Browser-verified + covered by objectui e2e (user-filters.spec.ts).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|**source**|`string`| optional | Source object name for the page |
81
+
|**sourceView**|`string`| optional | Named list view on the source object to inherit columns/filter/sort from (ADR-0047 iron rule: the page adds presentation policy only). Omit to use the object default view |
81
82
|**levels**|`integer`| optional | Number of hierarchy levels to display |
@@ -50,7 +50,7 @@ Appearance and visualization configuration
50
50
| Property | Type | Required | Description |
51
51
| :--- | :--- | :--- | :--- |
52
52
|**showDescription**|`boolean`| ✅ | Show the view description text |
53
-
|**allowedVisualizations**|`Enum<'grid' \| 'kanban' \| 'gallery' \| 'calendar' \| 'timeline' \| 'gantt' \| 'map'>[]`| optional | Whitelist of visualization types users can switch between (e.g. ["grid", "gallery", "kanban"]) |
53
+
|**allowedVisualizations**|`Enum<'grid' \| 'kanban' \| 'gallery' \| 'calendar' \| 'timeline' \| 'gantt' \| 'map' \| 'chart'>[]`| optional | Whitelist of visualization types users can switch between (e.g. ["grid", "gallery", "kanban"]) |
54
54
55
55
56
56
---
@@ -316,6 +316,40 @@ User action toggles for the view toolbar
316
316
|**buttons**|`string[]`| optional | Custom action button IDs to show in the toolbar |
317
317
318
318
319
+
---
320
+
321
+
## UserFilterField
322
+
323
+
Quick-filter field configuration
324
+
325
+
### Properties
326
+
327
+
| Property | Type | Required | Description |
328
+
| :--- | :--- | :--- | :--- |
329
+
|**field**|`string`| ✅ | Field name on the source object (must exist — checked by reference diagnostics) |
330
+
|**label**|`string`| optional | Display label override (defaults to the field label) |
331
+
|**type**|`Enum<'select' \| 'multi-select' \| 'boolean' \| 'date-range' \| 'text'>`| optional | Filter control type. Omit to infer from the field definition |
332
+
|**options**|`Object[]`| optional | Static options. Omit to derive from the field definition (select options / lookup records) |
333
+
|**showCount**|`boolean`| optional | Show per-option record counts |
334
+
|**defaultValues**|`string \| number \| boolean[]`| optional | Pre-selected values when the view loads |
0 commit comments