Skip to content

Rename MessageBubble to ChatMessage#28

Merged
PAMulligan merged 1 commit intomainfrom
8-chatmessage-component-with-userbot-variants-and-markdown-rendering
Mar 27, 2026
Merged

Rename MessageBubble to ChatMessage#28
PAMulligan merged 1 commit intomainfrom
8-chatmessage-component-with-userbot-variants-and-markdown-rendering

Conversation

@PAMulligan
Copy link
Copy Markdown
Contributor

Summary

  • Renamed MessageBubble component to ChatMessage for naming consistency with other Chat* components (ChatInput, ChatWindow, ChatWidget, ChatToggleButton)
  • Resolved type naming conflict in ChatWindow.tsx by importing ChatMessage type from api/types with alias ChatMessageData
  • Updated CLAUDE.md project structure and component table

Closes #8

Test Plan

  • All 88 widget tests pass (13 test files)
  • No remaining MessageBubble references in source files
  • Pure rename -- no logic changes

🤖 Generated with Claude Code

Aligns the component name with the Chat* convention used by all other
widget components (ChatInput, ChatWindow, ChatWidget, ChatToggleButton).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@PAMulligan PAMulligan linked an issue Mar 27, 2026 that may be closed by this pull request
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying chat-widget with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3a32250
Status: ✅  Deploy successful!
Preview URL: https://b906391d.chat-widget-ejc.pages.dev
Branch Preview URL: https://8-chatmessage-component-with.chat-widget-ejc.pages.dev

View logs

@PAMulligan PAMulligan self-assigned this Mar 27, 2026
@PAMulligan PAMulligan added enhancement New feature or request widget Chat widget UI and embed functionality labels Mar 27, 2026
@PAMulligan PAMulligan moved this from Todo to Done in PMDS Open Source Roadmap Mar 27, 2026
@PAMulligan PAMulligan added this to the v1.0.0 milestone Mar 27, 2026
@PAMulligan PAMulligan merged commit 12edd6f into main Mar 27, 2026
2 checks passed
@PAMulligan PAMulligan deleted the 8-chatmessage-component-with-userbot-variants-and-markdown-rendering branch March 30, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request widget Chat widget UI and embed functionality

Projects

Development

Successfully merging this pull request may close these issues.

ChatMessage component with user/bot variants and markdown rendering

1 participant