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
26 changes: 26 additions & 0 deletions examples/app-showcase/src/pages/project-detail.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,37 @@ export const ProjectDetailPage: Page = {
isDefault: true,
regions: [],
slots: {
// Explicit highlights strip — exercises the page editor's field-list picker
// (objectFrom:'page' resolves showcase_project's fields).
highlights: {
type: 'record:highlights',
properties: {
fields: ['account', 'status', 'health', 'budget', 'end_date'],
},
},
tabs: {
type: 'page:tabs',
properties: {
type: 'line',
items: [
{
// Explicit details sections — each section's `fields` is a
// field-list bound to showcase_project in the page editor.
key: 'details',
label: 'Details',
children: [
{
type: 'record:details',
properties: {
sections: [
{ label: 'Overview', columns: 2, fields: ['name', 'account', 'owner', 'status'] },
{ label: 'Financials', columns: 2, fields: ['budget', 'spent'] },
{ label: 'Timeline', columns: 2, fields: ['start_date', 'end_date'] },
],
},
},
],
},
{
key: 'tasks',
label: 'Tasks',
Expand Down
Loading