diff --git a/internal/ui/tui/headers.go b/internal/ui/tui/headers.go index 2df31a9d..2d339f85 100644 --- a/internal/ui/tui/headers.go +++ b/internal/ui/tui/headers.go @@ -125,14 +125,15 @@ var headerDefinitions = map[domain.Category][]header{ {"Status", 0.18}, }, domain.DedicatedAICluster: { - {common.NameCol, 0.42}, + {common.NameCol, 0.35}, {common.TenantCol, 0.16}, {"Internal", 0.05}, {common.UsageCol, 0.05}, {common.TypeCol, 0.06}, - {"Shape/Profile", 0.13}, + {"Model", 0.09}, + {"Shape/Profile", 0.12}, {common.SizeCol, 0.04}, {common.AgeCol, 0.04}, - {"Status", 0.05}, + {"Status", 0.04}, }, } diff --git a/internal/ui/tui/row_builders.go b/internal/ui/tui/row_builders.go index 2d69b1ca..a2e78f6f 100644 --- a/internal/ui/tui/row_builders.go +++ b/internal/ui/tui/row_builders.go @@ -194,6 +194,7 @@ func dedicatedAIClusterToRowInternal(val models.DedicatedAICluster, tenant strin val.GetOwnerState(), val.GetUsage(), val.Type, + val.ModelName, unitShapeOrProfile, fmt.Sprint(val.Size), val.Age, diff --git a/internal/ui/tui/row_builders_test.go b/internal/ui/tui/row_builders_test.go index aa00dd4f..a94e9ff6 100644 --- a/internal/ui/tui/row_builders_test.go +++ b/internal/ui/tui/row_builders_test.go @@ -207,6 +207,7 @@ func Test_dedicatedAIClusterToRow(t *testing.T) { dac := models.DedicatedAICluster{ Name: "dac1", Type: "t", + ModelName: "model-a", UnitShape: "shape", Profile: "", Size: 1, @@ -215,6 +216,6 @@ func Test_dedicatedAIClusterToRow(t *testing.T) { } row := dedicatedAIClusterToRow(dac, "tenant1") assert.Equal(t, table.Row{ - "dac1", "tenant1", dac.GetOwnerState(), dac.GetUsage(), "t", "shape", "1", "2d", "active", + "dac1", "tenant1", dac.GetOwnerState(), dac.GetUsage(), "t", "model-a", "shape", "1", "2d", "active", }, row) }