Repository navigation
refactor(desktop-shared, shared): update Compose Material3 usage and fix type inference - #729
Merged
Merged
Conversation
…fix type inference - Updated `OnboardingWizardDialog.kt` to use Compose Material3 components and styles. - Replaced `AppColors.primaryTextButtonColors()` with `ButtonDefaults.textButtonColors(contentColor = LocalContentColor.current)`. - Fixed type inference issue in `ChatRequestTransformers.kt` by removing unnecessary casting.
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Updates Compose Material3 onboarding UI styling and simplifies tool-request ID handling.
Changes:
- Applies shared Material3 theme tokens and components.
- Updates onboarding controls, icons, dividers, and buttons.
- Removes an unnecessary nullable cast.
| File | Description |
|---|---|
shared/src/main/kotlin/io/askimo/core/providers/ChatRequestTransformers.kt |
Simplifies tool-request ID handling. |
desktop-shared/src/main/kotlin/io/askimo/ui/onboarding/OnboardingWizardDialog.kt |
Aligns onboarding UI with shared Material3 styling. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
Related Issue(s)
Type of Change
What Changed & Why
OnboardingWizardDialog.ktto use Compose Material3 components and styles.AppColors.primaryTextButtonColors()withButtonDefaults.textButtonColors(contentColor = LocalContentColor.current).How to Test
./gradlew testScreenshots / Recordings (if applicable)
Checklist
main./gradlew spotlessApplyand./gradlew detektlocally./gradlew testand all tests passgit commit -sAdditional Notes