From 4c05a4d565852fc85b3cbc908969301fd43024aa Mon Sep 17 00:00:00 2001 From: Europium 63 Date: Tue, 27 Oct 2026 15:11:35 -0700 Subject: [PATCH] =?UTF-8?q?Release=20v0.7.4=20=E2=80=94=20compact=20contai?= =?UTF-8?q?ner=20list=20in=20settings=20rail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 11 +++++++++++ src/inspector/__init__.py | 2 +- src/inspector/dashboard.py | 15 +++++++++++---- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0d84aa..ede49a9 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html --- +## [0.7.4] โ€” 2026-10-27 + +### Changed + +- **Settings rail container list is compact.** Per-container entries are indented + under "All containers" and fit on one line: colored dot, name, then enabled / + disabled in small muted text. The max-error stat is gone. Long names truncate + with an ellipsis, and the status stays visible. + +--- + ## [0.7.3] โ€” 2026-10-27 ### Changed diff --git a/src/inspector/__init__.py b/src/inspector/__init__.py index 4910b9e..ed9d4d8 100755 --- a/src/inspector/__init__.py +++ b/src/inspector/__init__.py @@ -1 +1 @@ -__version__ = "0.7.3" +__version__ = "0.7.4" diff --git a/src/inspector/dashboard.py b/src/inspector/dashboard.py index ac049cb..8c2a8f9 100755 --- a/src/inspector/dashboard.py +++ b/src/inspector/dashboard.py @@ -548,6 +548,13 @@ a.signout:hover { color: var(--ink); border-color: var(--muted); } margin-top: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .settings-rail a:hover:not(.active) { background: #0f1829; color: var(--ink); } +/* Per-container entries sit under "All containers": indented, one line each. */ +.settings-rail a.rail-child { margin-left: 1.1rem; padding-top: 0.32rem; padding-bottom: 0.32rem; align-items: center; } +.settings-rail a.rail-child .rail-ico { font-size: 0.7rem; } +.settings-rail a.rail-child .rail-text { display: flex; align-items: baseline; min-width: 0; white-space: nowrap; } +.settings-rail a.rail-child .rail-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; } +.settings-rail a.rail-child .rail-inline-sub { flex-shrink: 0; } +.settings-rail a .rail-inline-sub { font-size: 0.7rem; color: var(--muted); font-weight: 400; margin-left: 0.4rem; } .settings-rail a.active { background: rgba(96,165,250,0.12); color: var(--blue); font-weight: 600; } @@ -1548,14 +1555,14 @@ def _render_settings_rail( active = "active" if c.name == active_container else "" enabled_sub = "enabled" if c.enabled else "disabled" parts.append( - f'' + f'' f'โ—' - f'{_escape(c.name)}' - f'{enabled_sub} ยท max {c.max_error_count} err' + f'{_escape(c.name)}' + f'{enabled_sub}' f"\n" ) parts.append( - '' + '' '+' 'Add container\n' )