Skip to content

Add data sources for flight attendant state, mode#72

Merged
timklge merged 6 commits intomasterfrom
feat/flight-attendant
Jan 15, 2026
Merged

Add data sources for flight attendant state, mode#72
timklge merged 6 commits intomasterfrom
feat/flight-attendant

Conversation

@timklge
Copy link
Copy Markdown
Owner

@timklge timklge commented Jan 15, 2026

ref #71

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

Comment thread app/src/main/kotlin/de/timklge/karoopowerbar/Window.kt
Comment thread app/src/main/kotlin/de/timklge/karoopowerbar/Window.kt Outdated
Comment thread app/src/main/kotlin/de/timklge/karoopowerbar/Window.kt Outdated
Comment thread app/src/main/kotlin/de/timklge/karoopowerbar/Window.kt Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

Comment thread app/src/main/kotlin/de/timklge/karoopowerbar/Window.kt Outdated
Comment thread app/src/main/kotlin/de/timklge/karoopowerbar/CustomProgressBar.kt
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

Comment thread app/src/main/kotlin/de/timklge/karoopowerbar/Window.kt
@timklge timklge merged commit a7169e4 into master Jan 15, 2026
7 checks passed
@timklge timklge deleted the feat/flight-attendant branch January 15, 2026 18:39
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.

2 participants