Skip to content
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

Refactor pressure and battery display #1207

Merged
merged 2 commits into from
Nov 25, 2023
Merged

Conversation

andchiind
Copy link
Contributor

@andchiind andchiind commented Nov 21, 2023

Closes #1136

@andchiind andchiind added improvement Improvement to existing functionality frontend Frontend related functionality labels Nov 21, 2023
@andchiind andchiind self-assigned this Nov 21, 2023
@UsamaEquinorAFK
Copy link
Contributor

Is this also addressed here ? Refactor BatteryStatusView#1136

@andchiind andchiind force-pushed the rb-pressure branch 2 times, most recently from 2af721c to a5da82a Compare November 23, 2023 11:59
@andchiind andchiind marked this pull request as ready for review November 23, 2023 11:59
case batteryLevel <= 10:
return Icons.BatteryAlert
Copy link
Contributor

Choose a reason for hiding this comment

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

Did we get rid of the BatteryCharging case because we have no way of telling that the battery is charging or an other reason?

Copy link
Contributor

Choose a reason for hiding this comment

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

It's wasn't implemented, it was always being used BatteryStatus.Normal

Copy link
Contributor

@mrica-equinor mrica-equinor left a comment

Choose a reason for hiding this comment

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

LGTM :)

@andchiind andchiind merged commit 462de2d into equinor:main Nov 25, 2023
9 checks passed
@andchiind andchiind deleted the rb-pressure branch November 25, 2023 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Frontend related functionality improvement Improvement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor BatteryStatusView
4 participants