Skip to content

fix(harmonia): the personal (my) document honors documentItemsLayout: chat + omits sensitive aggregates from its footer - #6348

Merged
delchev merged 1 commit into
masterfrom
fix/my-document-chat
Jul 21, 2026
Merged

fix(harmonia): the personal (my) document honors documentItemsLayout: chat + omits sensitive aggregates from its footer#6348
delchev merged 1 commit into
masterfrom
fix/my-document-chat

Conversation

@delchev

@delchev delchev commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

The personal (my) document of a documentItemsLayout: chat entity rendered the generic line-items table — the conversation UX (bubbles + composer) existed only on the power surface (the personal-template parity class, same family as #6347).

Chat parity: the chat branch is ported to the my document templates — the same thread + composer, appending through the personal items controller so parent ownership is enforced server-side (requireMyParent); own/other bubble alignment keys on the audit author vs the logged-in user; the internal-memo toggle and tint carry over.

Sensitive aggregates (bonus, same file): the personal totals footer now omits a sensitive aggregate entirely — the personal controller nulls it on the wire, so the row only ever rendered a permanently empty value the owner is not meant to see.

IT: the IntentEmissionCoverageIT chat fixture gains a personal owner and asserts the my document view renders the thread + composer (role="log", chatDraft) and the my page appends through the personal items controller — ran green locally (1/1).

Verified live: regenerated a chat module — the My document renders the conversation, and a message sent through the composer appears as a bubble (browser-checked); a sensitive-aggregate module regenerated — the empty footer row is gone.

🤖 Generated with Claude Code

… chat + omits sensitive aggregates from its totals footer

The personal document of a chat entity rendered the generic line-items table - the conversation
UX (bubbles + composer) existed only on the power surface. Port the chat branch to the my
document templates: the same thread + composer, appending through the PERSONAL items controller
so parent ownership is enforced server-side (requireMyParent); own/other alignment keys on the
audit author vs the logged-in user; the internal-memo toggle and tint carry over.

Also: a SENSITIVE aggregate is now omitted from the personal totals footer entirely - the
personal controller nulls it on the wire, so the row only ever rendered a permanently empty
value the owner is not meant to see.

IntentEmissionCoverageIT: the chat fixture gains a personal owner and asserts the my document
view renders the thread + composer (role=log, chatDraft) and the my page appends through the
personal items controller. Ran green locally (1/1).
@delchev
delchev merged commit 93c7dbd into master Jul 21, 2026
10 checks passed
@delchev
delchev deleted the fix/my-document-chat branch July 21, 2026 17:40
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