File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,6 +198,11 @@ func (m *Model) renderSummary() string {
198198 parts = append (parts , evtLabel )
199199 }
200200
201+ // Total volume.
202+ if s .TotalVolumePerHour > 0 {
203+ parts = append (parts , format .Volume (s .TotalVolumePerHour )+ " evt/hr" )
204+ }
205+
201206 // Total cost from account summary (pre-aggregated by control plane).
202207 if s .TotalCostPerHour != nil {
203208 if cost := format .YearlyCost (* s .TotalCostPerHour ); cost != "$0/yr" {
Original file line number Diff line number Diff line change @@ -220,18 +220,18 @@ func (m *Model) View() string {
220220 segments = append (segments , servicesView )
221221 }
222222
223- // 3. PII leakage (red dot + count when findings exist)
224- piiView := m .piiStatus .CompactView ()
225- if piiView != "" {
226- segments = append (segments , piiView )
227- }
228-
229- // 4. Waste status (pending count, estimated/observed savings)
223+ // 3. Waste status (pending count, estimated/observed savings)
230224 wasteView := m .wasteStatus .CompactView ()
231225 if wasteView != "" {
232226 segments = append (segments , wasteView )
233227 }
234228
229+ // 4. PII leakage (red dot + count when findings exist)
230+ piiView := m .piiStatus .CompactView ()
231+ if piiView != "" {
232+ segments = append (segments , piiView )
233+ }
234+
235235 // Calculate what fits
236236 baseContent := strings .Join (segments , sep )
237237 baseWidth := lipgloss .Width (baseContent )
You can’t perform that action at this time.
0 commit comments