SPA shows placeholder default blocks before preset data loads #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The SPA initializes blocks from a hardcoded default array (Noise Gate, Compressor, NAM Model, IR Cab, EQ, Hall Reverb). These flash on screen until the state poller replaces them. Fix: Initialize blocks as [], show No preset loaded empty state.
Fixed. The SPA no longer initializes blocks from a hardcoded default array. The
FXScreencomponent initializesfxListas an empty array[]. When no preset is loaded (!connected || !state?.current_preset), it renders "No FX blocks in the chain." instead of flashing placeholder defaults. ThePresetsScreenalso shows "No preset loaded" whencurrent_presetis null.See
ui/src/App.tsx—FXScreencomponent lines 237-244.