@lumerahq/ui 0.13.0-dev.1 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -58,14 +58,14 @@ Show one globally ordered history across up to 20 audited collections:
58
58
  import { AuditLog } from '@lumerahq/ui';
59
59
 
60
60
  <AuditLog
61
- collections={['invoices', 'payments']}
61
+ collections={['finance__invoices', 'finance__payments']}
62
62
  collectionLabels={{
63
- invoices: 'Invoices',
64
- payments: 'Payments',
63
+ finance__invoices: 'Invoices',
64
+ finance__payments: 'Payments',
65
65
  }}
66
66
  activityNouns={{
67
- invoices: 'invoice',
68
- payments: 'payment',
67
+ finance__invoices: 'invoice',
68
+ finance__payments: 'payment',
69
69
  }}
70
70
  fieldLabels={{ customer_id: 'Customer' }}
71
71
  showSystemFields={false}
@@ -73,10 +73,6 @@ import { AuditLog } from '@lumerahq/ui';
73
73
  />;
74
74
  ```
75
75
 
76
- Inside a project app, pass the same bare collection names used for CRUD. The
77
- bridge supplies project context and the backend resolves the physical
78
- namespaced collections. Outside a project context, pass physical API names.
79
-
80
76
  The component includes collection, date/time, event, and actor filters with
81
77
  visible active-filter chips, quick date presets, lazy before/after details,
82
78
  pagination, and CSV export with filename/count/truncation feedback. It also
@@ -90,13 +86,6 @@ collection label. If a selected collection has auditing turned off, existing
90
86
  history remains visible and the component shows a warning that future changes
91
87
  will not be recorded.
92
88
 
93
- For custom audit tooling, `@lumerahq/ui/lib` publicly exports
94
- `listRecordAuditLog`, `getRecordAuditLogSnapshot`, and
95
- `fetchRecordAuditLogCsv`. Each record entry includes stable `collection`,
96
- `collection_id`, `record_id`, `record_label`, and `changed_fields` properties;
97
- do not parse display labels from `details`. Built-in controls and states also
98
- carry stable `data-audit-log-*` attributes for preview automation.
99
-
100
89
  ### Assistant Chat
101
90
 
102
91
  Use `AssistantPage` for a full-page chat, `AssistantWidget` for a floating widget, or `AssistantChat` when embedding the chat surface inside custom chrome.