feat: dedicated CPU panel + two-column Resources (from #91 A) - #97
Open
MikeGibbsOnyx wants to merge 1 commit into
Open
feat: dedicated CPU panel + two-column Resources (from #91 A)#97MikeGibbsOnyx wants to merge 1 commit into
MikeGibbsOnyx wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, noPOST /clocks.Why split
Clock caps are a privileged host add-on (part B). The CPU panel is useful on its own.
Test plan
Please do not merge until Mia + a second reviewer sign off.