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

Abierto
#7,270 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
11.6k
Forks
1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Niko1221/Strata

Todos los issues de Niko1221/Strata

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.