Skip to content

feat: Add tabs on system page #1513

Open
svenvg93 wants to merge 42 commits intohenrygd:mainfrom
svenvg93:feat/tabs
Open

feat: Add tabs on system page #1513
svenvg93 wants to merge 42 commits intohenrygd:mainfrom
svenvg93:feat/tabs

Conversation

@svenvg93
Copy link
Collaborator

@svenvg93 svenvg93 commented Dec 9, 2025

📃 Description

This PR adds tabs to the system page to seperate the diffrent charts and tables for a better structured overview.

  • Core
    • CPU
    • Memory
    • Load Average
    • Temps
    • Bandwith
  • Disk
    • Usage
    • IO
    • SMART
  • GPU
    • GPU Power Draw chart (if power data exists)
    • GPU Engines chart (if engine data exists)
    • Individual GPU usage and VRAM charts for each GPU
  • Containers
    • CPU
    • Memory
    • Network
    • Table overview
  • Services
    • Systemd service overview

closes #1411

📷 Screenshots

Scherm­afbeelding 2025-12-09 om 19 21 20

@svenvg93
Copy link
Collaborator Author

svenvg93 commented Jan 9, 2026

@henrygd should be ready when you have time 😄

@svenvg93
Copy link
Collaborator Author

svenvg93 commented Jan 13, 2026

Hi @henrygd,
Sorry for bothering you. Just wanted to quickly ask your opinion. As the system file is getting pretty big. Would you think its a good idea to split the files per tab?

src/components/routes/system/
  ├── system.tsx (main file with tab structure)
  ├── core-metrics.tsx
  ├── disks-tab.tsx
  ├── gpu-tab.tsx
  ├── containers-tab.tsx
  └── services-tab.tsx

And then load them for each tab?

<Tabs value={activeTab} onValueChange={setActiveTab}>
  <TabsList>...</TabsList>
  
  <TabsContent value="overview">
    <CoreMetricsTab chartData={chartData} grid={grid} ... />
  </TabsContent>
  
  <TabsContent value="gpu">
    <GpuTab chartData={chartData} grid={grid} ... />
  </TabsContent>
  
  // ... other tabs
</Tabs>

@svenvg93 svenvg93 requested a review from henrygd as a code owner January 22, 2026 04:47
@svenvg93
Copy link
Collaborator Author

svenvg93 commented Feb 1, 2026

@henrygd Would it be possible to get this one into the next release? There are some other small improvements open I would like to pick up for you, but this one is blocking me now 😅 .

@henrygd henrygd moved this to Next in Beszel Roadmap Feb 1, 2026
@henrygd
Copy link
Owner

henrygd commented Feb 1, 2026

Sorry for the wait. I have a patch release prepped to go today, but I think it would make sense to get this in the next minor release. I'm going to try to get #539 in finally, and we could add a tab for proxmox details as well.

@svenvg93
Copy link
Collaborator Author

svenvg93 commented Feb 1, 2026

Sorry for the wait. I have a patch release prepped to go today, but I think it would make sense to get this in the next minor release. I'm going to try to get #539 in finally, and we could add a tab for proxmox details as well.

Sounds good! Do you me to change the structure for the charts as mentioned above or keep it all in one big file?

@henrygd
Copy link
Owner

henrygd commented Feb 1, 2026

Yes, I agree on splitting it up. Let's leave the -tab part out of the filenames, though, like gpu.tsx instead of gpu-tab.tsx. Thanks!

@svenvg93
Copy link
Collaborator Author

@henrygd this one is ready to go if you want

Copy link
Owner

@henrygd henrygd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for keeping this up to date and sorry for the extra work.

I took a peek and it seems these changes break the one minute time window. Don't worry about fixing if you don't have time. I can figure it out before merging, just want to make note of it here so I don't forget.

@svenvg93 svenvg93 requested a review from henrygd March 2, 2026 20:10
@svenvg93
Copy link
Collaborator Author

svenvg93 commented Mar 2, 2026

Thank you for keeping this up to date and sorry for the extra work.

I took a peek and it seems these changes break the one minute time window. Don't worry about fixing if you don't have time. I can figure it out before merging, just want to make note of it here so I don't forget.

Whoepsie, that is my fault.

I was able to fix it, but please double check 😄

@KriKrixs
Copy link

KriKrixs commented Mar 6, 2026

Is it maybe possible to add a "All" tab ? To keep the actual view ? I believe it will be cool for big screens

@svenvg93
Copy link
Collaborator Author

svenvg93 commented Mar 7, 2026

Is it maybe possible to add a "All" tab ? To keep the actual view ? I believe it will be cool for big screens

Not sure if a "All" would be the best option. We could make a toggle in the settings to turn the Tabs on/off depending on user preferences.

@henrygd Any thoughts on this?

svenvg93 and others added 4 commits March 9, 2026 21:16
Adds a disableTabs user setting that renders all system charts in a
single scrollable page instead of grouped tabs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@svenvg93
Copy link
Collaborator Author

svenvg93 commented Mar 13, 2026

@henrygd Sorry for the ping. Would it be possible to merge this one? The one minute charts are fixed, and every change on the system page will cause conflicts 😅

@henrygd henrygd moved this from Next to In Progress in Beszel Roadmap Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

[Feature]: Hard drive grouping

3 participants