New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add search/filter feature to the "Manage Sensor" screen #1430
Add search/filter feature to the "Manage Sensor" screen #1430
Conversation
Additional changes: * Made "Disabled" sensor summary translatable * Show "Enabled" as sensor summary if sensor is enabled but has no state
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, tested debug apk with a few sensors. Very minor comment from me since the string seems to be the same.
app/src/main/java/io/homeassistant/companion/android/sensors/SensorsSettingsFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/io/homeassistant/companion/android/sensors/SensorsSettingsFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/io/homeassistant/companion/android/sensors/SensorsSettingsFragment.kt
Show resolved
Hide resolved
I think the filter and search bar make it look clean :) great idea there! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not sold on storing the value but we can beta it.
Need to fix merge conflicts then good to merge.
No problem. Let's remove it and see if there are popping up issues. If yes, then we can still implement a setting 👍 |
I think i misunderstood you. The |
…-sensors # Conflicts: # app/src/main/java/io/homeassistant/companion/android/sensors/SensorsSettingsFragment.kt # app/src/main/res/values/strings.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was exactly what I was thinking!
Summary
This PR adds the possibility to hide disabled sensors.
Screenshots
Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#
Any other notes
Additional changes: