Add data sources for flight attendant state, mode#72
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds support for displaying SRAM Flight Attendant suspension system data on the Karoo power bar, including suspension state (front/rear) and mode information.
Changes:
- Added three new data sources: Flight Attendant Mode, Front Fork Position, and Rear Shock Position
- Implemented streaming functions to display suspension state and mode with color-coded indicators
- Changed label display to uppercase for all data sources
- Added English and German translations for all new UI strings
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| app/src/main/res/values/strings.xml | Added string resources for Flight Attendant suspension states and modes |
| app/src/main/res/values-de/strings.xml | Added German translations for Flight Attendant suspension states and modes |
| app/src/main/kotlin/de/timklge/karoopowerbar/screens/MainScreen.kt | Added three new Flight Attendant data source options to the SelectedSource enum |
| app/src/main/kotlin/de/timklge/karoopowerbar/Window.kt | Implemented enums and streaming functions for Flight Attendant suspension data with color-coded state/mode indicators |
| app/src/main/kotlin/de/timklge/karoopowerbar/CustomProgressBar.kt | Changed label rendering to display all text in uppercase |
| app/build.gradle.kts | Updated release notes to describe the new Flight Attendant features |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ref #71