Skip to content

feat: dedicated CPU panel + two-column Resources (from #91 A) - #97

Open
MikeGibbsOnyx wants to merge 1 commit into
MiaAI-Lab:mainfrom
MikeGibbsOnyx:feat/cpu-panel-only
Open

feat: dedicated CPU panel + two-column Resources (from #91 A)#97
MikeGibbsOnyx wants to merge 1 commit into
MiaAI-Lab:mainfrom
MikeGibbsOnyx:feat/cpu-panel-only

Conversation

@MikeGibbsOnyx

Copy link
Copy Markdown
Collaborator

Summary

Split of #91 part A — device-page CPU panel and two-column Resources layout only.

Original work by @PhilipEriksson (c043b14). No clock-cap actuator, no sudo helper, no POST /clocks.

Why split

Clock caps are a privileged host add-on (part B). The CPU panel is useful on its own.

Test plan

  • Device page: CPU under GPU; Resources still collapsible
  • CPU temp no longer duplicated in GPU/RAM rows

Please do not merge until Mia + a second reviewer sign off.

Add a CPU panel (usage, temperature, power, model/cores with sparklines)
as the single home for CPU stats on the device page, and restructure the
Resources section into two independent columns:

  left:  GPU + CPU (CPU directly beneath GPU)
  right: [RAM] + Storage + Network [+ Tailnet]

On GB10 devices (DGX Spark / GX10) the CPU and GPU share one package and
power envelope, and the CPU is often the part that runs hot first — this
makes that visible at the device level.

Layout: each column is a flex stack so panels take natural heights (no
row-stretch dead space under the GPU panel). The bottom panel of each
column gets flex-grow, so whichever side is shorter stretches its lowest
panel to match — both columns always end at the same height regardless of
content.

CPU stats previously lived as a temp row inside the GPU panel (Sparks) and
RAM panel (hosts); those rows are removed in favor of the dedicated panel
so CPU is shown in one place. NetworkPanel and TailscalePanel gain an
optional className prop to support the grow alignment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant