aboutsummaryrefslogtreecommitdiff
path: root/modules/ext
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ext')
-rw-r--r--modules/ext/ui-commander.js4
-rw-r--r--modules/ext/ui-workspace.js5
2 files changed, 7 insertions, 2 deletions
diff --git a/modules/ext/ui-commander.js b/modules/ext/ui-commander.js
index 03af5be..873d7cc 100644
--- a/modules/ext/ui-commander.js
+++ b/modules/ext/ui-commander.js
@@ -61,7 +61,9 @@ body[data-ui-mode="commander"] #ui-root { display: grid; grid-template-columns:
#cm-palette li.sel { background: var(--bg-tertiary); border-left: 3px solid var(--accent-color); }
#cm-palette li .d { color: var(--text-muted); font-size: .82em; display: block; margin-top: 2px; }
@media (max-width: 900px) {
- body[data-ui-mode="commander"] #ui-root { grid-template-columns: 1fr; }
+ /* one row that FILLS the viewport: without an explicit 1fr row the single grid row is auto, so
+ the centre column stopped at its content height and the rest of the screen was black. */
+ body[data-ui-mode="commander"] #ui-root { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
#cm-left, #cm-right { display: none; }
}
`);
diff --git a/modules/ext/ui-workspace.js b/modules/ext/ui-workspace.js
index ee20aac..d660283 100644
--- a/modules/ext/ui-workspace.js
+++ b/modules/ext/ui-workspace.js
@@ -71,7 +71,10 @@ body[data-ui-mode="workspace"] #ui-root { display: flex; flex-direction: column;
const cards = [
{ id: 'files', ico: '📁', title: 'Files', cmd: 'ls -la' },
{ id: 'sys', ico: '🖥', title: 'Heap', cmd: 'cat /sys/heap/stats' },
- { id: 'modules', ico: '🧩', title: 'Modules', cmd: 'modules' },
+ // `modules` OPENS the module-manager panel — capturing it re-opened the panel on every
+ // 15 s refresh ("the modules tab keeps opening", reported 2026-11-07). `listmods` prints
+ // the same inventory as text.
+ { id: 'modules', ico: '🧩', title: 'Modules', cmd: 'listmods' },
{ id: 'agents', ico: '🤖', title: 'Agents', cmd: 'agent-list' },
{ id: 'cron', ico: '⏱', title: 'Scheduled', cmd: 'cron-list' },
{ id: 'errors', ico: '🐞', title: 'Recent errors', cmd: 'cat /sys/logs/errors' }