Introduce new wear material 3 compose module#1287
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new Wear OS Material 3 Compose module (aboutlibraries-compose-wear-m3) to support Wear OS devices. The module adapts the existing Material 3 compose library for the Wear OS platform with appropriate components and styling.
- Adds new
aboutlibraries-compose-wear-m3module with Wear-specific composables - Provides
WearLibrariesScaffoldusingScalingLazyColumnoptimized for Wear OS - Includes preview components and fake data for development/testing
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| settings.gradle.kts | Includes the new wear-m3 module in the project build configuration |
| aboutlibraries-compose-wear-m3/build.gradle.kts | Configures module dependencies with Wear Compose libraries and build settings |
| aboutlibraries-compose-wear-m3/gradle.properties | Defines module properties and disables non-Android platform targets |
| aboutlibraries-compose-wear-m3/.gitignore | Excludes build directory from version control |
| aboutlibraries-compose-wear-m3/src/main/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/SharedLibraries.kt | Implements main LibrariesContainer composable with Wear-specific styling and dialog components |
| aboutlibraries-compose-wear-m3/src/main/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/component/LibrariesScaffold.kt | Provides WearLibrariesScaffold using ScalingLazyColumn for Wear OS scrolling |
| aboutlibraries-compose-wear-m3/src/main/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/component/LibraryDefaultComponents.kt | Defines default Wear-specific UI components for library name, version, author, description, and license badges |
| aboutlibraries-compose-wear-m3/src/main/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/preview/M3SnapshotTests.kt | Provides preview composables for development and snapshot testing |
| aboutlibraries-compose-wear-m3/src/main/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/preview/FakeData.kt | Contains fake library data for preview and testing purposes |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...3/src/main/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/component/LibrariesScaffold.kt
Outdated
Show resolved
Hide resolved
...ar-m3/src/main/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/preview/M3SnapshotTests.kt
Outdated
Show resolved
Hide resolved
...ain/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/component/LibraryDefaultComponents.kt
Show resolved
Hide resolved
...3/src/main/kotlin/com/mikepenz/aboutlibraries/ui/compose/wear/component/LibrariesScaffold.kt
Show resolved
Hide resolved
- apply some feedback
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.
This is a first iteration for a wear compose module.
Fixes: #1284