Skip to content

fix: cross-platform WebGL/audio UX, packaging metadata, and docs test count (2577) - #692

Merged
CaYatur merged 1 commit into
mainfrom
fix/linux-webgl-audio-status-docs-2577
Oct 2, 2026
Merged

CaYatur merged 1 commit into
mainfrom
fix/linux-webgl-audio-status-docs-2577

Conversation

@CaYatur

@CaYatur CaYatur commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

Cross-platform fixes for WebGL fallback, visualizer initialization, audio capture status and diagnostics, packaging metadata, and the documentation test count (2577). Linux was the primary verification environment; platform-specific audio copy now distinguishes Windows, macOS, and Linux.

Changes

  • K1 — WebGL gradient fallback (cross-platform): If the gradient WebGL constructor fails, use a silent 2D solid-color fallback, guard the null context, and surface a non-blocking admin/scene notice plus sv-gradient-webgl-fallback. This applies wherever WebGL is unavailable, not only on Linux.
  • M1 — Platform-aware audio diagnostics: NO_DEVICES, ACCESS_DENIED, and timeout guidance now use the appropriate Windows, macOS, or Linux PulseAudio/PipeWire instructions.
  • M2 — Visualizer draw gate (cross-platform): draw is no longer gated on audio.ready, allowing MilkDrop/Studio/WebGL initialization and rendering with idle or zeroed audio buffers; it still clears safely when no audio object exists.
  • Audio status (cross-platform): Turkish and English status consistently report Yakalanıyor: … / Capturing: … with the resolved source label, without allowing device refreshes to overwrite an active-capture state.
  • M3 — Packaging metadata: package.json now lists Linux alongside Windows and macOS.
  • Electron/smoke compatibility: Update console-message handling for the current Electron event shape and avoid false texture-share failures on unsupported platforms.
  • Docs: Update README.md, README.tr.md, and ROADMAP.md test counts to 2577.
  • Tests: Add WebGL fallback/M2 regression coverage and platform-specific native-audio and packaging assertions.

Verification

  • Targeted: node --test tests/layers-webgl-fallback.test.js tests/native-audio-runner.test.js tests/platform-packaging.test.js → 38 passed
  • Linux was used for the primary verification; the cross-platform code paths and platform-specific message branches are covered by tests where applicable.

…(2577)

- K1: Gradient WebGL ctor failure falls back to silent 2D solid; admin notice + sv-gradient-webgl-fallback
- M1: Platform-specific NO_DEVICES / ACCESS_DENIED strings (Windows/macOS/Linux)
- M2: Visualizer draw no longer gated on audio.ready
- M3: package.json description includes Linux
- Audio status: always TR Yakalanıyor / EN Capturing with resolved source label
- Docs: README, README.tr, ROADMAP test count badges/sections -> 2577
- Tests: layers-webgl-fallback + native-audio / packaging updates
@CaYatur CaYatur changed the title fix: Linux WebGL fallback, audio capture status, and docs test count (2577) fix: cross-platform WebGL/audio UX, packaging metadata, and docs test count (2577) Oct 2, 2026
@CaYatur
CaYatur merged commit b4a1d1f into main Oct 2, 2026
5 checks passed
@CaYatur
CaYatur deleted the fix/linux-webgl-audio-status-docs-2577 branch October 2, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant