feat(tui-v2): add dedicated Settings Board inspector view

Replaced the 'Settings' shortcut palette pre-fill with a real inspector
board. Added #settings-board widget and settings pane mode. Implemented
_refresh_settings_board to show live config values and palette hints for
Security, Backup, and Nostr settings. Updated interactive agent test to
verify settings board activation via action strip click.
This commit is contained in:
thePR0M3TH3AN committed 2026-03-02 22:40:50 -05:00
1 parent 11cfa76834
commit d97d50556c
2 files changed
+89 -4

No files matched your search

+6 -2
View File
@@ -110,6 +110,9 @@ class AgentMockService:
return [l for l in self.links if l["source"] == eid or l["target"] == eid]
# --- Vault/Profile/Nostr/Sync Support ---
def get(self, key):
return {"inactivity_timeout": 300, "secret_mode_enabled": True}.get(key)
def unlock(self, req): return SimpleNamespace(status="ok", duration=0.1)
def lock(self): pass
def stats(self):
@@ -281,8 +284,9 @@ async def run_full_walkthrough():
app.on_click(MockEvent("action-strip", 5, 1))
await pilot.pause(0.5)
# Check if Settings (which opens palette with 'setting-') opened
print(f" [OK] Palette opened via Settings click: {app.palette_open}")
# Check if Settings Board opened
inspector_heading = str(app.query_one('#inspector-heading').render())
print(f" [OK] Settings Board opened via click: {'Settings Board' in inspector_heading}")
print("\n--- WALKTHROUGH COMPLETE ---")
return 0