From 6bd0ba4ad125f747d11964923b9551fd7d9a00ef Mon Sep 17 00:00:00 2001 From: EMRG Evolution Date: Thu, 13 Aug 2026 16:19:31 +0800 Subject: [PATCH] =?UTF-8?q?emrg:=20GUI=20redesign=20P6=20=E2=80=94=20remov?= =?UTF-8?q?e=20legacy=20sessions-dialog=20+=20rant-dialog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rant 2026-08-13T14:10:14 P6: the only dialogs slated for removal were sessions-dialog (superseded by the sidebar sessions area + /open two-step dialog) and rant-dialog (superseded by the Rant side panel + inline form). - index.html: drop #sessions-dialog and #rant-dialog markup - app.js: /sessions & /resume without args -> Dialogs.showOpenSessionDialog; /rant without args -> open Rants panel + Dialogs.openRantForm; remove the showSessionsDialog/showRantDialog implementations and stale bindings - tests: rewrite /rant dialog tests to assert panel behavior; drop removed element ids from renderer.smoke ELEMENT_IDS memory/skills/help/confirm/rename/rewind/github-device/welcome dialogs kept per host decision. GUI tests 236/236 pass. --- emrg/gui/renderer/index.html | 28 ------------- emrg/gui/renderer/js/app.js | 63 +++------------------------- emrg/gui/test/app-commands.test.js | 15 +++++-- emrg/gui/test/renderer.smoke.test.js | 2 - 4 files changed, 17 insertions(+), 91 deletions(-) diff --git a/emrg/gui/renderer/index.html b/emrg/gui/renderer/index.html index 5cda67f..051aa85 100644 --- a/emrg/gui/renderer/index.html +++ b/emrg/gui/renderer/index.html @@ -401,17 +401,6 @@

/ 指令帮助

- -
-

切换对话

-

点击切换,或输入 /resume <id> 直接切换。

-
-
- -
-
-
-
@@ -491,23 +480,6 @@

连接 GitHub

- -
-

🧬 进化 — 告诉 EMRG 往哪里走

-

你的输入会驱动 EMRG 的自我进化——它会认真读,并据此改进自己。

- - -
- - -
-
-
-