From a447df39e9eb5b67f1c2dd99b8b4f92a93a0dda7 Mon Sep 17 00:00:00 2001 From: Me Here Date: Sun, 24 May 2026 18:10:40 -0500 Subject: [PATCH] UX: always-show set list (remove hide toggle), add practice timers, '+' add button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removed the set-list show/hide toggle and the R shortcut / Esc-close / close ✕. The panel is always visible: sticky side column on desktop, stacked below the metronome on mobile. Theme/help buttons stay right-justified. - Added practice timers in the gap/ramp area: an Elapsed (count-up) timer and an adjustable Countdown (minutes; 0 = off), each with a reset. Both advance only while the metronome runs; countdown reaching 0 stops it (turns amber under 10s). - '+ Add meter' button is now just '+'. Co-Authored-By: Claude Opus 4.7 (1M context) --- index.html | 66 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index 18a2690..ba380db 100644 --- a/index.html +++ b/index.html @@ -115,17 +115,16 @@ .log-head { font-weight:600; font-size:13px; margin-bottom:3px; } .log-seg { font-size:12px; color:var(--muted); margin:2px 0 0 12px; font-family:"Courier New",monospace; } .practice { border-top:1px solid var(--edge); margin-top:16px; padding-top:4px; } - #routineToggle { background:#2c3a4d; border-color:#3b5168; color:#cfe3ff; font-weight:600; } - /* docked side panel: pushes the metronome (no overlap); sticky so it stays in view */ - #routineTray { display:none; flex:0 0 340px; align-self:flex-start; position:sticky; top:18px; + /* set-list panel: always shown — sticky beside the metronome on desktop, + stacks below it on narrow screens */ + #routineTray { flex:0 0 340px; align-self:flex-start; position:sticky; top:18px; max-height:calc(100vh - 36px); overflow:auto; background:linear-gradient(180deg, var(--panel), var(--bg)); border:1px solid var(--edge); border-radius:14px; padding:16px; box-shadow:0 10px 30px rgba(0,0,0,.25); } - #routineTray.open { display:block; } - /* narrow screens: fall back to an overlay drawer */ + .tval { font-family:"Courier New",monospace; font-size:13px; color:var(--hot); min-width:42px; } + .tval.low { color:#ffb454; } @media (max-width: 820px) { #app { display:block; } - #routineTray { position:fixed; top:0; right:0; height:100%; max-height:none; width:min(360px,92vw); - border-radius:0; border:none; border-left:1px solid var(--edge); box-shadow:-12px 0 40px rgba(0,0,0,.45); z-index:60; } + #routineTray { position:static; max-height:none; width:auto; margin-top:18px; } } .tray-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; } .practice-col { border-left:1px solid var(--edge); padding-left:18px; } @@ -170,8 +169,7 @@

Stackable Metronome v0.0.1-dev

- Space play · T tap · ↑↓ tempo (⇧×10) · A add · R set lists · N next · ? help - + Space play · T tap · ↑↓ tempo (⇧×10) · A add · N next · ? help
@@ -212,6 +210,17 @@
+
Timersrun while playing
+
+ + 0:00 + +
+
+ + 5:00 + +
@@ -222,7 +231,7 @@ Click a beat pad to toggle it (rest) — e.g. snare on 2 & 4
-
+
@@ -234,7 +243,6 @@

Set Lists

-