Skip to content

feat(examples-chat,chat): drop bubble-level GenUI skeleton#254

Merged
blove merged 1 commit into
mainfrom
claude/chat-genui-bubble-cleanup
May 12, 2026
Merged

feat(examples-chat,chat): drop bubble-level GenUI skeleton#254
blove merged 1 commit into
mainfrom
claude/chat-genui-bubble-cleanup

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 11, 2026

Summary

Removes the two bubble-level <chat-genui-skeleton> branches from the
chat composition's assistant-message template. The skeleton and any
coalescing behavior belong to a dedicated outer slot, not inside the
message bubble itself. The kept branch renders <chat-streaming-md>
for markdown content. ChatGenuiSkeletonComponent remains exported
from @ngaf/chat's public API for downstream consumers.

Changes

  • libs/chat/src/lib/compositions/chat/chat.component.ts: collapse
    the @if/@else if chain around the assistant bubble content to
    just the <chat-streaming-md> markdown branch; remove the now-unused
    ChatGenuiSkeletonComponent import and imports entry; drop the
    unused genuiTurn @let binding.
  • libs/chat/src/lib/compositions/chat/chat.component.spec.ts: add a
    regression test asserting the composition source contains neither
    the <chat-genui-skeleton> tag nor the ChatGenuiSkeletonComponent
    import.

Test plan

  • nx test chat passes
  • nx build chat passes
  • nx lint chat passes
  • npm run generate-api-docs regenerates cleanly (no public-API drift)

Remove the two @if branches in chat.component.ts that mounted
<chat-genui-skeleton> from inside the assistant message bubble.
The skeleton/coalescing belongs to a dedicated outer slot, not the
bubble. Keep the markdown branch as the sole content path; the
ChatGenuiSkeletonComponent stays exported for downstream use.

Add a regression test asserting no <chat-genui-skeleton> tag or
ChatGenuiSkeletonComponent import remains in the composition source.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 12, 2026 0:05am

Request Review

@blove blove merged commit c837cda into main May 12, 2026
14 checks passed
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