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

オープン
#7,270 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C++
スター
11.6k
フォーク
1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Niko1221/Strata のほかの issue

Niko1221/Strata の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。