feat: sequence editor undo/redo, collapsible browser, playhead easing

Sequence editor: undo and redo, a collapsible browser with chips, search
over sequences too, name in the header row, Beats/Seconds dropdown, Delete
beside Save. Playhead eases between poll results. Lanes keep their phase
when a step ends late, so they no longer drift. The rig's default room is
two columns of bars facing each other, and the simulator has a read-only
debug hook for the playback checks.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Haiku 5.5 committed 2026-11-17 00:28:59 +13:00
1 parent a1c8ce853b
commit 02440be55d
7 files changed
+252 -109

No files matched your search

+52 -26
View File
@@ -1535,6 +1535,26 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap {
flex-shrink: 0;
}
/* Sequence editor: the name field sits in the header row, between the title and the buttons */
#sequence-editor-modal .modal-head {
align-items: center;
}
#sequence-editor-modal .modal-head h2 {
flex: 0 0 auto;
}
#sequence-editor-modal .modal-head #sequence-editor-name {
flex: 1 1 12rem;
max-width: 24rem;
min-width: 0;
margin: 0;
}
#sequence-editor-modal .modal-head .modal-top-actions {
margin-left: auto;
}
.modal-content label {
display: block;
margin-top: 1rem;
@@ -2710,10 +2730,13 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap {
* presets; --ppb is pixels per beat (or second), set on the canvas.
*/
#sequence-editor-modal .modal-content {
max-width: min(1280px, 96vw);
width: 96vw;
max-height: 94vh;
max-width: 100vw;
width: 100vw;
height: 100dvh;
max-height: 100dvh;
border-radius: 0;
overflow-y: auto;
box-sizing: border-box;
}
.tl {
@@ -2770,6 +2793,12 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap {
background: #55555d;
}
.tl-tbtn:disabled {
color: #777;
background: #45454c;
cursor: default;
}
#tl-play {
color: #6cdc6c;
}
@@ -3144,21 +3173,6 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap {
padding: 1.25rem;
}
.tl-addtrack {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
padding: 0.45rem 0.6rem;
background: #26262b;
border-top: 1px solid #111;
}
#sequence-editor-modal .tl-addtrack select {
width: auto;
margin: 0;
}
.tl-browser {
flex: 0 0 13rem;
display: flex;
@@ -3170,6 +3184,22 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap {
min-width: 0;
}
/* Collapsed: only the arrow shows, in a thin strip */
.tl-browser.collapsed {
flex: 0 0 auto;
padding: 0.5rem 0.3rem;
}
.tl-browser.collapsed > :not(.tl-browser-head),
.tl-browser.collapsed .tl-browser-head > :not(#tl-browser-toggle) {
display: none;
}
.tl-browser-head > span {
margin-right: auto;
margin-left: 0.4rem;
}
.tl-browser-head {
display: flex;
justify-content: space-between;
@@ -3268,6 +3298,10 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap {
text-align: left;
}
.tl-inspector:empty {
display: none;
}
.tl-insp-title {
font-size: 0.72rem;
text-transform: uppercase;
@@ -3418,14 +3452,6 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap {
text-overflow: ellipsis;
white-space: nowrap;
}
#sequence-editor-modal .tl-addtrack {
flex-wrap: wrap;
gap: 0.4rem;
}
#sequence-editor-modal .tl-addtrack select {
flex: 1 1 10rem;
min-width: 0;
}
#sequence-editor-modal .tl-inspector {
padding: 0.5rem;
}