-
fix(ui): wire collapsed appbar strip and fix version placeholder (#21)
发布于
2026-05-09 15:19:39 +00:00 - fix(ui): wire collapsed appbar strip, fix version placeholder
- main.js: wire dblclick on .appbar-body to toggle appbar-collapsed; wire
strip icon clicks to expand appbar with context actions (url focuses
input, process triggers submit, stems just expands); call buildStripStems()
on init and after each stem choice toggle so the strip stays in sync - index.html: replace hardcoded v0.1.0 placeholder with … so the stale
version never flashes before catalog.js resolves the real version from
/api/health - windows-release.yml: add write-version step that writes static/version.json
from $CI_COMMIT_TAG before packaging so release builds display the correct
version via the existing app_version() → /api/health → setDisplayedVersion
pipeline
- fix(ui): replace silent 20s waveform timeout with stalled state
Large WAV files (6 stems × ~40 MB) take longer to fetch and decode on
slower hardware. The previous 20s timeout silently hid the loading
overlay before wavesurfer finished rendering, leaving a blank waveform
area — the root cause of the reported "waveform not showing" on Windows
and the slow-load scenario on Safari.New behaviour:
- At 20s without canplay: overlay stays visible but gains .stalled class,
showing a "Still loading waveform…" message so the user knows it is
still working - At 60s: overlay is hidden as a last resort (unchanged safety net)
- On canplay (normal path): overlay hides immediately as before, .stalled
class cleared
- fix(ui): remove appbar collapse, fix unknown tracks, smooth sidebar
- Remove appbar dblclick-collapse behaviour (appbar is not collapsible)
- Write metadata.json on job completion so titles survive restarts
- Skip title-less jobs on registry restore and localStorage load
- Fade+slide sidebar collapse to match main panel transitions
- test: update registry tests for metadata.json requirement
下载附件