mbecker20 / komodo

🦎 a tool to build and deploy software on many servers 🦎
https://komo.do
GNU General Public License v3.0
1.74k stars 34 forks source link

[Feature] Customizable Dashboard #46

Open mbecker20 opened 2 months ago

mbecker20 commented 2 months ago

Originally brought up by @LawMixer.

It would be awesome to be able to define your own dashboards, for this I will create a new Resource type called Dashboard.

Dashboards will hold configuration for placing together "Widgets" on the page. There will be a selection of "Widgets" for each Resource type, as well as some system level widgets. For example, Server has a widget for graphs for historical Memory usage, or Disk usage by disk. Deployment / Stack / Procedures has a widget containing the "Actions", so could redeploy it from the dashboard, right next to your system stats graphs. Sync has a widget displaying Pending Syncs. I could go on and on.

They can all be composed together and I think a simple css grid based rendering scheme will be awesome to place the elements.

You can define the Dashboards in TOML and sync them using Resource Syncs. And of course a UI based builder for dashboards, and as always the quick TOML export button to build it in the UI, and later add it to your Sync.

By treating dashboards as a Resource type, it will allow users to make as many dashboards as they like, creating optimized views to control various systems. I'm super excited about this and will include this in v1.15.

🦎

C0untZero commented 2 months ago

Please also consider a "open alerts" widget or similar, to show alert details directly on the dashboard.