Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions examples/app-showcase/src/data/objects/account.object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ export const Account = ObjectSchema.create({
// every surface, no per-page config.
highlightFields: ['status', 'industry', 'annual_revenue'],

// Show the record **History tab** (audit-trail UI). The console gates the tab
// on object-level `enable.trackHistory` (RecordDetailView) — audit *capture*
// is always on, but the tab is opt-in — so without this the tab never renders
// and the feature is undemonstrable. Paired with the per-field `trackHistory`
// on `industry` / `status` below so those changes get summarized diffs
// (display values, not raw ids; computed fields excluded — #2691/#3293).
enable: { trackHistory: true },

fields: {
name: Field.text({ label: 'Account Name', required: true, searchable: true, maxLength: 200 }),
industry: Field.select({
Expand Down