Skip to content

fix(harmonia): calendar event titles from a relation resolve to labels, not raw FK ids#6363

Merged
delchev merged 1 commit into
masterfrom
fix/calendar-title-labels
Jul 22, 2026
Merged

fix(harmonia): calendar event titles from a relation resolve to labels, not raw FK ids#6363
delchev merged 1 commit into
masterfrom
fix/calendar-title-labels

Conversation

@delchev

@delchev delchev commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

A calendar: { title: <property> } naming a to-one relation rendered the raw FK id as every event's title (e.g. each leave bar titled 7). The power calendar page and the personal (my) calendar page now resolve a relation title through the same label lookup the list columns use: the referenced controller is fetched once after the rows load - the calendar paints immediately and titles refine when the map arrives - with the raw value as the fail-soft fallback (dangling FK, denied lookup).

A title naming a plain field is untouched.

Not in this PR

The embedded calendar panels (shared detailPanel on the master page, the my-form child panels) share the raw-title behavior; they are addressed together with the document-surface calendar work, where those code paths change anyway.

Verification

IntentEmissionCoverageIT: the range fixture's calendar now declares title: Person (a relation) and asserts the titleLookup resolution in both the generated power and personal calendar pages. Ran green locally (1/1).

🤖 Generated with Claude Code

…ts referenced label

The calendar pages (power MANAGE_CALENDAR and the personal my-calendar) built
the event title from the raw row value - a title property that is a to-one
relation rendered the FK id (e.g. every leave bar titled '7'). Both pages now
resolve a relation title through the same label lookup the list columns use:
the referenced controller is fetched once after the rows (the calendar paints
immediately, titles refine as the map arrives), with the raw value as the
fail-soft fallback for dangling FKs or a denied lookup.

The EMBEDDED calendar panels (detailPanel on the master page, my-form child
panels) share the same raw-title behavior and are addressed with the
document-surface calendar work, where those code paths change anyway.

IntentEmissionCoverageIT: the range fixture's calendar now declares
title: Person (a relation) and asserts the titleLookup resolution in the
generated power and personal calendar pages. Ran green locally (1/1).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@delchev
delchev merged commit d608107 into master Jul 22, 2026
10 checks passed
@delchev
delchev deleted the fix/calendar-title-labels branch July 22, 2026 06:11
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