From 0465519348c9df40675722520a270aae91b9e19e Mon Sep 17 00:00:00 2001 From: Chris Amow Date: Mon, 10 Aug 2026 15:02:06 -0500 Subject: [PATCH] Reclaim the sidebar's vertical space MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The right column ran past the viewport with nothing selected. Five changes, none of which remove functionality. The five daily MA periods now share one line. 10px gaps and a 22px indent had pushed 200 onto a row by itself; nowrap, 7px gaps and 12px boxes fit all five with room to spare. Auto trendlines becomes a parenthetical on the Manual lines row instead of owning one — it is disabled until M8, so a full row overstated it. The alert log becomes a collapsible section like Confluence zones, closed by default with its count in the summary, so activity stays visible while it is shut and the banner, sound and phone push are untouched. Tools becomes a collapsible section as well, open by default, and each tool's panel is now bound to armedTool: the label, colour, width and side controls appear only for the tool actually armed. armTool already toggled and allowed one armed tool at a time, so the panels follow it with no new state. Layers moves above Tools and starts collapsed. The zeroed top margin moves from a Tools-specific class to .sidebar-section:first-of-type, so reordering again cannot reintroduce a gap above the first section. Measured with nothing armed: 1110px of content down to 900px, inside the viewport rather than past it. Verified in a browser — arming each tool reveals that tool's panel and no other, disarming hides both, Tools opens by default, Layers starts closed and still lays its periods out on one line when opened. Co-Authored-By: Claude Opus 5 --- docs/IMPLEMENTATION_PLAN.md | 19 +++++++++++++++++++ static/index.html | 38 +++++++++++++++++++------------------ static/style.css | 2 +- 3 files changed, 40 insertions(+), 19 deletions(-) diff --git a/docs/IMPLEMENTATION_PLAN.md b/docs/IMPLEMENTATION_PLAN.md index 197009c..b1f50c9 100644 --- a/docs/IMPLEMENTATION_PLAN.md +++ b/docs/IMPLEMENTATION_PLAN.md @@ -1425,3 +1425,22 @@ owning a row, which suits a control that is disabled until M8. The alert log becomes a `
` like Confluence zones, closed by default with its count in the summary — collapsed by default is the point, since leaving it open would save nothing, and the count means activity is still visible while closed. + +**Sidebar vertical space.** The right column was taller than the viewport with +nothing selected. Five changes, no functionality removed: + +- The five daily MA periods fit one line (`flex-wrap:nowrap`, tighter gaps, 12px + boxes); 10px gaps and a 22px indent had pushed 200 onto a row of its own. +- Auto trendlines becomes a parenthetical `(auto)` on the Manual lines row + rather than owning one, which suits a control disabled until M8. +- Alert log becomes a `
` like Confluence zones, closed by default with + its count in the summary so activity still shows while shut. +- Tools becomes a `
` too, open by default, and each tool's panel is + bound to `armedTool` — only the armed tool shows its label, colour, width and + side controls. `armTool` already toggles and permits one armed tool at a time, + so the panels follow it exactly. +- Order is Layers, Tools, then the rest, with Layers collapsed by default. + +Measured with nothing armed: 1110px of content down to 900px, which is inside +the viewport rather than past it. `.sidebar-section:first-of-type` carries the +zeroed top margin so reordering cannot reintroduce a gap at the top. diff --git a/static/index.html b/static/index.html index dffeb3b..0feb201 100644 --- a/static/index.html +++ b/static/index.html @@ -35,13 +35,30 @@