Mix: long-press an instrument or FX slot to open its settings (0.33.0)

The mixer's INSTRUMENT and FX dropdowns take a long-press (with a haptic
tick) that opens that toolbox slot's editor via a view-model request; the
Toolbox consumes it and returns to the Mix tab on CLOSE or Back. A tap
still opens the slot menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-13 09:55:50 +01:00
co-authored by Claude Opus 5.5
parent c8d760ed17
commit 3088912264
8 changed files with 81 additions and 6 deletions
+9
View File
@@ -323,6 +323,15 @@ enum entry that lists its `ParamSpec`s. A `ToolboxSlot` stores the chosen type +
a `name -> value` string map. The parameter editor UI and the preset text format
are both **generated** from that list. See §6 to add a new device.
### 5.4.1 Opening a device's settings from another tab
The Toolbox owns its editor state (`editing` in `ToolboxScreen`). Other screens ask
for an editor through `AppViewModel.openSlotEditor(index, returnTab)`, which stores a
`slotEditorRequest` and switches to the Toolbox; `ToolboxScreen` consumes the request
in a `LaunchedEffect`, opens the editor, and on CLOSE / Back returns to `returnTab`.
The mixer's INSTRUMENT and FX dropdowns use it on long-press (`RetroDropdown`'s
optional `onLongClick`, with a haptic tick; a tap still opens the menu).
### 5.5 Sizzle as a background MIDI sound module
Goal: another app (Mikro Seq, a DAW, a controller app) plays Sizzle's mixer over