feat(gui): Add blinking APPROVAL PENDING badge to MMA dashboard

This commit is contained in:
2026-03-01 15:49:18 -05:00
parent 6999aac197
commit 8e57ae1247
4 changed files with 193 additions and 0 deletions

View File

@@ -2685,6 +2685,19 @@ class App:
if self.active_tier:
imgui.same_line()
imgui.text_colored(C_VAL, f"| Active: {self.active_tier}")
# Approval pending indicator
any_pending = (
self._pending_mma_spawn is not None or
self._pending_mma_approval is not None or
self._pending_ask_dialog
)
if any_pending:
alpha = abs(math.sin(time.time() * 5))
imgui.same_line()
imgui.text_colored(imgui.ImVec4(1.0, 0.3, 0.3, alpha), " APPROVAL PENDING")
imgui.same_line()
if imgui.button("Go to Approval"):
pass # scroll/focus handled by existing dialog rendering
imgui.separator()
# 2. Active Track Info
if self.active_track: