feat: Show component versions in UI sidebar with hover details #76
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_compute#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The UI sidebar currently shows a version string (e.g.
0.1.4 (8db0acc)) which is actually the my_hypervisor version, not hero_compute's. There's no way to see which versions of the stack components are running.Objective
Display the running hero_compute version (with git hash) in the sidebar, and show all component versions on hover.
Requirements
Sidebar version display
hero_compute <version> (<git_hash>)as the primary version in the sidebarHover tooltip
When hovering over the version, show a tooltip with all component versions:
Implementation Notes
Backend (
hero_compute_ui/src/server.rs)/versionendpoint returns version info — extend it to include all components<binary> --version(orversionfor my_hypervisor) and capture the outputnot installedFrontend (
static/js/dashboard.js+ templates)/versionon page loadhero_computeversion in the sidebar version areaGit hash for hero_compute
env!("GIT_HASH")or abuild.rsthat capturesgit rev-parse --short HEADAcceptance Criteria
hero_compute 0.1.x (hash)not installed#81
Lets use the central config since it has all versions