[GUI] Add a CPU and GPU temperature readout to the header row, and a CPU temperature card to Monitor

Aperta
#7,270 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

Start by reading CONTRIBUTING.md and inspect the desktop app’s chat header and Monitor screen to trace how the existing GPU temperature is collected and displayed. The issue leaves sensor access, settings behavior, and UI details open, so first check the related issue #7000 for existing decisions. Done means the chat header can show CPU and GPU temperatures and Monitor shows CPU temperature when its sensor is available.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Area

[GUI] (the desktop app)

What do you want to do?

Two related small requests about the same piece of information — the CPU and GPU temperature.

1. On the screen I work on (the chat), a small temperature readout at the top right.

The header row above the chat ends, at the far right, with the ⋯ button, and the space immediately to the left of that button is empty today. What I would like is a two-value readout in that empty space, right next to ⋯, for example CPU 63 °C · GPU 56 °C.

Why I need it: during a long generation or an agent run, the question I keep asking myself is "is this PC running hot?". Right now the only screen that shows a temperature is Monitor, so I have to leave the chat to check, and then find my place again. Two numbers that are always on screen would answer that question in one glance. I am not asking for a chart, a history, or a log here — just the current value.

2. On the Monitor screen, a CPU temperature card.

Monitor already shows a GPU temperature card (56 °C on this machine), and the readings strip under the cards shows the GPU clock (210 MHz) and the SSD temperature (63 °C). On this machine no CPU temperature appears anywhere on that screen — not as a card, not in the readings strip. So the CPU half of the picture is missing exactly where I would expect it. The request is a CPU temperature card next to the GPU temperature one, and a line in the readings strip when the sensor can be read.

How to do it is yours to decide: which sensor to read, where exactly to put the readout, whether it should be opt-in in Settings, whether clicking it opens a popover, and which colour thresholds to use. I am describing the goal only: see both temperatures without leaving the screen I am already on. I have read CONTRIBUTING.md and I understand a new feature is opt-in and that the default path must stay byte-identical to the last release, so an off-by-default switch is fine with me.

zig asked about CPU temperature monitoring in #7000; this is the same need, seen from a Windows machine. If you would rather keep the two together, please merge or close whichever way you prefer — I am happy either way.

Environment — a machine you may not have at hand:

  • Strata 0.2.22, the version line shown in the app: v0.2.22 (strata-desktop.exe product version 0.2.22)
  • Engine: strata-terminal 0.1.69, commit b28ca95e3e6847f2d5e317994f253b66716deeaa
  • Windows 11, 64 GB RAM
  • CPU: 13th Gen Intel Core i7-14700HX (16 cores: 8 Performance, 8 Efficient), as the Monitor CPU card names it
  • GPU: NVIDIA GeForce RTX 3060 Laptop GPU
What do you do today instead?

I click over to the Monitor tab, read the GPU temperature, and click back to the chat — several times in one session. For the CPU there is no number in Strata on this Windows machine, so I keep a third-party hardware monitor sitting in the system tray, which I would rather not have to run just to check whether the PC is hot.

Lingua principale
C++
Stelle
11.6k
Fork
1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Niko1221/Strata

Tutte le issue di Niko1221/Strata

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.