Skip to content

Show target temp on temp bars#1691

Open
mutatrum wants to merge 1 commit into
bitaxeorg:masterfrom
mutatrum:show-target-temp
Open

Show target temp on temp bars#1691
mutatrum wants to merge 1 commit into
bitaxeorg:masterfrom
mutatrum:show-target-temp

Conversation

@mutatrum
Copy link
Copy Markdown
Collaborator

Show auto fan control target temperature:

image

Doesn't show when fan is on manual.

@github-actions
Copy link
Copy Markdown

Test Results

 2 files  ±0   2 suites  ±0   0s ⏱️ ±0s
88 tests ±0  88 ✅ ±0  0 💤 ±0  0 ❌ ±0 
90 runs  ±0  90 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 63db1f9. ± Comparison against base commit c8bf44e.

info.hostname,
(info.hashRate ? HashSuffixPipe.transform(info.hashRate) : ''),
(info.temp ? `${info.temp}${info.temp2 > -1 ? `/${info.temp2}` : ''}${info.vrTemp ? `/${info.vrTemp}` : ''} °C` : ''),
(info.temp ? `${info.temp}${info.temp2 > -1 ? `/${info.temp2}` : ''}${info.vrTemp ? `/${info.vrTemp}` : ''} °C` : ''),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

revert, borked

til html escape codes dont work in js

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ugh, noticed that as well. Will fix.

case eChartLabel.asicTemp:
case eChartLabel.asicTemp2:
case eChartLabel.vrTemp: return {suffix: ' °C', precision: 1};
case eChartLabel.vrTemp: return {suffix: ' °C', precision: 1};
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

same here

</p-progressBar>

<!-- Target temperature marker -->
<div *ngIf="info.autofanspeed === 1" class="absolute bg-white h-full top-0"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

mayb make the tick the opposite of the bar bg? same with the voltage tick tbh

Image

theres also a weird font issue but idk if its a me problem or not

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think either is clean a white line is just bad if the target temp is beyond the color in that case we should choose the opposit. That could be handled in there or we choos a fixed color that's not on the color palett

<!-- Target temperature marker -->
<div *ngIf="info.autofanspeed === 1" class="absolute bg-white h-full top-0"
[style.left]="(info.temptarget / maxTemp) * 100 + '%'"
style="width: 3px;">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

pt over px?

@mutatrum mutatrum added the enhancement New feature or request label May 21, 2026
@mutatrum mutatrum added this to the 2.15.0 milestone May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants