feat(gui): Add blinking APPROVAL PENDING badge to MMA dashboard
This commit is contained in:
13
gui_2.py
13
gui_2.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user