Use Material3 for Assist conversation - #7281
Open
TimoPtr wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR modernizes the Assist bottom sheet conversation UI to align with the app’s Material3/HA design system components, replacing the legacy Material2-based implementation and adding screenshot coverage for key states.
Changes:
- Replaced the legacy
AssistSheetView(Material2ModalBottomSheetLayout) with a newAssistSheetbuilt onHAModalBottomSheetand HA theme tokens. - Added screenshot tests covering multiple Assist sheet states (voice/text, multi-server pipelines, error, blocked, long conversation).
- Updated Assist activity theming and changelog entries to reflect the UI modernization.
Reviewed changes
Copilot reviewed 6 out of 48 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| app/src/main/kotlin/io/homeassistant/companion/android/assist/ui/AssistSheet.kt | New Material3/HA-themed Assist bottom sheet implementation (header, conversation list, input controls). |
| app/src/main/kotlin/io/homeassistant/companion/android/assist/ui/AssistSheetView.kt | Removed legacy Material2-based Assist sheet UI. |
| app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistActivity.kt | Switched to HATheme and updated to use AssistSheet. |
| app/src/main/kotlin/io/homeassistant/companion/android/assist/AssistViewModel.kt | Adjusted exposed conversation list to hide input placeholder during active voice recording. |
| app/src/screenshotTest/kotlin/io/homeassistant/companion/android/assist/ui/AssistSheetScreenshotTest.kt | Added screenshot tests for the updated Assist sheet UI across multiple states. |
| app/src/main/res/xml/changelog_master.xml | Added changelog entries noting Assist conversation screen modernization (mobile + automotive). |
Comment on lines
+235
to
+237
| var showPipelineList by remember { mutableStateOf(false) } | ||
| val showServerName = remember(pipelines) { pipelines.distinctBy { it.serverId }.size > 1 } | ||
|
|
jpelgrom
reviewed
Jul 31, 2026
jpelgrom
left a comment
Member
There was a problem hiding this comment.
The sheet has the app title when opened from outside the app, can you add a screenshot test for that?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR is a simple update of the UI of Assist bottom sheet to look more aligned with the rest of the app.
Checklist
Select exactly one option that describes AI usage in this contribution:
Screenshots