Skip to content

feat(ai-chat): adapt ai components to figma#2027

Draft
robertwilde wants to merge 1 commit intomainfrom
feat/ai/colors
Draft

feat(ai-chat): adapt ai components to figma#2027
robertwilde wants to merge 1 commit intomainfrom
feat/ai/colors

Conversation

@robertwilde
Copy link
Copy Markdown
Collaborator

@robertwilde robertwilde commented May 7, 2026

Closes #1897

Refactor AI chat components: consolidate chat input actions and attachments into a single + context menu, apply updated background colors and padding to the input field, add ui-4 border and transparent background to attachment pills and welcome screen prompt cards, and replace individual action buttons with btn-group in AI/user message components.


Documentation.
Examples.
Dashboards Demo.
Playwright report.

Coverage Reports:

Code Coverage

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the chat input and message components to use button groups and a consolidated actions menu. Visual styles for attachments and welcome screens were updated to include borders and transparent backgrounds. Feedback recommends strengthening TypeScript type safety through literal casting and improving test reliability by adopting semantic Vitest matchers and flexible assertions for element presence.

Comment thread projects/element-ng/chat-messages/si-chat-input.component.ts Outdated
Comment thread projects/element-ng/chat-messages/si-chat-input.component.spec.ts Outdated
Comment thread projects/element-ng/chat-messages/si-chat-input.component.spec.ts Outdated
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.

Update AI components

1 participant