Skip to content

feat(harmonia): embedded view: calendar child panel on the document surface (power + personal)#6364

Merged
delchev merged 1 commit into
masterfrom
feat/document-calendar-panel
Jul 22, 2026
Merged

feat(harmonia): embedded view: calendar child panel on the document surface (power + personal)#6364
delchev merged 1 commit into
masterfrom
feat/document-calendar-panel

Conversation

@delchev

@delchev delchev commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

A composition child with view: calendar already rendered as an embedded calendar panel on the master layout and the my-form - but a Document master still rendered it as a plain table in its secondary panels, and the personal document rendered non-item children not at all. Concrete case: the day-allocation calendar on a timesheet document.

  • Power document: the secondary detail panels honor def.calendar exactly like the master layout - embedded x-h-calendar, event-click edits the child, empty-day click creates one with the document FK + the clicked date preset. The shared detailPanel component already carried the behavior; the document view only gained the branch.
  • Personal document: renders its non-item scope-inheriting children below the totals - the same panels the my-form renders (calendar for a view: calendar child, table otherwise), reading through the children's scoped My controllers.
  • Embedded event titles naming a RELATION resolve to the referenced label (completes fix(harmonia): calendar event titles from a relation resolve to labels, not raw FK ids #6363's standalone-calendar fix for the embedded panels): detailPanel reuses its existing column lookups and re-renders events when the maps arrive; the my-form/my-document child calendars fetch a titleLookup emitted into the child config, with the raw value as the fail-soft fallback.

Verification

IntentEmissionCoverageIT: the fixture gains TicketVisit - a view: calendar composition child of the personal chat Document with a relation title - and asserts the power document's calendar branch, the detail registration's calendar + lookup config, and the personal document's children loading, titleLookup and panel markup. Ran green locally (1/1).

🤖 Generated with Claude Code

…r on the DOCUMENT surface too - power and personal

The embedded calendar for a composition child (intent view: calendar) existed
on the master layout's detail panels and the my-form child panels, but a
DOCUMENT master rendered the same child as a plain table in its secondary
panels - and the personal document did not render non-item children at all.
The concrete case: a day-allocation calendar on a timesheet document.

- perspective/document: the secondary detail panels honor def.calendar exactly
  like the master layout (embedded x-h-calendar; event-click edits the child,
  empty-day click creates one with the document FK + clicked date preset) -
  the shared detailPanel component already carried the whole behavior.
- my-document: renders the non-item scope-inheriting children below the totals
  (the SAME panels the my-form renders - calendar for a view: calendar child,
  table otherwise), reading through the children's scoped My controllers.
- embedded event titles naming a RELATION resolve to the referenced label
  (the raw-FK-id class, completing the standalone-calendar fix): detailPanel
  reuses its existing column lookups and re-renders events when maps arrive;
  the my-form/my-document child calendars fetch the title lookup emitted into
  the child config (parameterUtils), raw value as the fail-soft fallback.

IntentEmissionCoverageIT: the fixture gains TicketVisit (view: calendar
composition child of the personal chat Document, relation title) and asserts
the power document's calendar branch, the detail registration's calendar +
lookup config, and the personal document's children loading, titleLookup and
panel markup. Ran green locally (1/1).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@delchev
delchev merged commit 4aab2e4 into master Jul 22, 2026
10 checks passed
@delchev
delchev deleted the feat/document-calendar-panel branch July 22, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant