summaryrefslogtreecommitdiff
path: root/internal/tui/dashboard/model.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-08 08:59:02 +0200
committerPaul Buetow <paul@buetow.org>2026-03-08 08:59:02 +0200
commit77b993ded6e8cfa15e053a09ef79581afd0b7e4b (patch)
treed72b0a66152bfb2fd9404f47101fe7159ada33fb /internal/tui/dashboard/model.go
parent9950c77981ce06be34e877a6729abb23a36789c6 (diff)
dashboard: wire files icicle mode and root path labels
Diffstat (limited to 'internal/tui/dashboard/model.go')
-rw-r--r--internal/tui/dashboard/model.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/tui/dashboard/model.go b/internal/tui/dashboard/model.go
index 5949755..e464af8 100644
--- a/internal/tui/dashboard/model.go
+++ b/internal/tui/dashboard/model.go
@@ -526,6 +526,9 @@ func (m Model) renderActiveContent(width, activeHeight int, streamModel *eventst
if m.activeTab == TabFiles && m.filesVizMode == tabVizModeTreemap && m.filesDirGrouped {
return renderFilesTreemap(m.latest, width, activeHeight, m.filesChart.Metric(), m.filesDirOffset, m.isDark)
}
+ if m.activeTab == TabFiles && m.filesVizMode == tabVizModeIcicle && m.filesDirGrouped {
+ return renderFilesIcicle(m.latest, width, activeHeight, m.filesChart.Metric(), m.filesDirOffset, m.isDark)
+ }
if m.activeTab == TabProcesses && m.processesVizMode == tabVizModeTreemap {
return renderProcessesTreemap(m.latest, width, activeHeight, m.processesChart.Metric(), m.processesOffset, m.isDark)
}
@@ -733,7 +736,7 @@ func (m Model) allowedVizModes(tab Tab) []tabVizMode {
return []tabVizMode{tabVizModeTable, tabVizModeBubbles, tabVizModeTreemap}
case TabFiles:
if m.filesDirGrouped {
- return []tabVizMode{tabVizModeTable, tabVizModeBubbles, tabVizModeTreemap}
+ return []tabVizMode{tabVizModeTable, tabVizModeBubbles, tabVizModeTreemap, tabVizModeIcicle}
}
return []tabVizMode{tabVizModeTable}
default: