diff --git a/.changelog/17647.txt b/.changelog/17647.txt new file mode 100644 index 000000000..a56bfe1c9 --- /dev/null +++ b/.changelog/17647.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: add tooltips to the node and datacenter labels in the Topology page +``` diff --git a/ui/app/templates/components/topo-viz/datacenter.hbs b/ui/app/templates/components/topo-viz/datacenter.hbs index 3eb91fea6..61385cb07 100644 --- a/ui/app/templates/components/topo-viz/datacenter.hbs +++ b/ui/app/templates/components/topo-viz/datacenter.hbs @@ -5,11 +5,15 @@
- {{@datacenter.name}} - {{this.scheduledAllocations.length}} Allocs - {{@datacenter.nodes.length}} Nodes - {{format-bytes this.aggregatedAllocationResources.memory start="MiB"}}/{{format-bytes this.aggregatedNodeResources.memory start="MiB"}}, - {{format-hertz this.aggregatedAllocationResources.cpu}}/{{format-hertz this.aggregatedNodeResources.cpu}} + {{@datacenter.name}} + {{this.scheduledAllocations.length}} Allocs + {{@datacenter.nodes.length}} Nodes + + {{format-bytes this.aggregatedAllocationResources.memory start="MiB"}} / + {{format-bytes this.aggregatedNodeResources.memory start="MiB"}}, + {{format-hertz this.aggregatedAllocationResources.cpu}} / + {{format-hertz this.aggregatedNodeResources.cpu}} +
diff --git a/ui/app/templates/components/topo-viz/node.hbs b/ui/app/templates/components/topo-viz/node.hbs index 2e272a021..bc3e215b9 100644 --- a/ui/app/templates/components/topo-viz/node.hbs +++ b/ui/app/templates/components/topo-viz/node.hbs @@ -11,11 +11,14 @@ {{else if (not @node.node.isEligible)}} {{x-icon "lock-closed" class="is-warning"}} {{/if}} - {{@node.node.name}} - {{this.count}} Allocs - {{format-scheduled-bytes @node.memory start="MiB"}}, {{format-scheduled-hertz @node.cpu}} - {{@node.node.status}} - {{@node.node.version}} + {{@node.node.name}} + {{this.count}} Allocs + + {{format-scheduled-bytes @node.memory start="MiB"}}, + {{format-scheduled-hertz @node.cpu}} + + {{@node.node.status}} + {{@node.node.version}}

{{/unless}}