-
Notifications
You must be signed in to change notification settings - Fork 256
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
More human friendly temperature sensor naming #807
More human friendly temperature sensor naming #807
Conversation
Codecov ReportBase: 23.59% // Head: 23.55% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #807 +/- ##
==========================================
- Coverage 23.59% 23.55% -0.04%
==========================================
Files 60 60
Lines 13276 13298 +22
==========================================
Hits 3133 3133
- Misses 10143 10165 +22
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
bf46e52
to
f25f33a
Compare
It now occurs to me this change would likely cause peoples on the upside, this change also makes it more practical to filter specific things, though. |
f25f33a
to
65af8e6
Compare
Rebased onto master |
I think it's fine, I'll mention the change and how it might break some existing configs when I release. |
Awesome! |
Tested on my machine, and it generally works fine. One thing I did notice though is that for me, Wondering if this specific case ( |
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.
Generally looks fine, but I left a few comments to consider.
Nice catch! Thats why testing is good! And why the lack of more standard interfaces and/or naming schemes is annoying... My laptop has a MediaTek wifi card, which doesnt seem to report any sensors, so I didnt catch this. The latest commit should address it, though at the cost of some clutter It could be reduced, but it would require special casing certain names, which could be fragile. Might be worth it though, its a bit redundant especially for nvme With this change, existing |
I think that looks good, it does add a bit more verbosity and is a bit funny in some cases like nvme, but I guess that's a bit better than expecting a certain sensor and not being sure why it seemingly doesn't exist when it's just under some really vague name. |
This makes the names more human friendly, and possible to distinguish from each other
4aad6cd
to
4d2fc8c
Compare
Updated this to current master branch, otherwise should be no functional changes |
Looks good, thanks for your work on this! |
Description
This changes how temperature sensors are displayed, in a way I believe to be much better.
This PR is based on top of and requires #805
Comparison
Before:
![Screenshot_20220914_015509](https://user-images.githubusercontent.com/5275194/190110611-b8ef2f70-f5de-4eb2-8daa-a3e5fe4bf7c2.png)
After:
![Screenshot_20220914_015452](https://user-images.githubusercontent.com/5275194/190110630-4ddc6c0f-fdcf-49fd-8238-55e2ce5f1b18.png)
Testing
Tested on my personal machine. This will likely need additional testing due to the apparent lack of a standard way to get better sensor names.
If this is a code change, please also indicate which platforms were tested:
Checklist
If relevant, ensure the following have been met:
cargo fmt
)README.md
, help menu, etc.)