Skip to content

Refactor websocket sources and sidebar device UI#47

Draft
ceane wants to merge 102 commits into
mainfrom
further-works
Draft

Refactor websocket sources and sidebar device UI#47
ceane wants to merge 102 commits into
mainfrom
further-works

Conversation

@ceane

@ceane ceane commented May 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Introduce a source_info websocket snapshot with sources[], per-source capability, and atomic status/sdr_settings/error updates
  • Derive the frontend's legacy device state from the active source while the UI migrates to multi-source state
  • Update source and sidebar UI to support the new device model and file-selection workflow

Testing

  • Not run (not requested)

ceane added 15 commits May 30, 2026 17:08
- Fixing end frequency formatting
… it wanted)

- [WIP] Further progress on multiple devices and transmit functionality
- Gemini fixed a memory leak in a test
- Fixing all tests
- Bug fixes for File Playback
…by consolidating in signals.yaml AND signals.ts/redux

- [WIP] Continuing Tx work, with src/rs/ifft
- [WIP] Combatting against foldover (leaky spectrum) that I notice when tuning so Tx doesn't accidentally emit erronenous, non-existent signals
…hit in because of a contradiction!

- Working out some bugs with logical frame rate
- Working on fft power line, contrast of the select box on light mode
@ceane ceane self-assigned this Jun 3, 2026
ceane added 14 commits June 6, 2026 15:00
- Added a row in FFTCanvas displaying stats
-  Rolling in numbers on the DaysSince component
- Added /3d-model-gallery with tons of new components/tinfra
- Attempted to add realistic RF to the Mock APT SDR, but it's not working well
- Restoring fft marker lines
- Turn on metal for Mock APT SDR via signals.yaml, removing metal flag
- Updating and consolidating 3D Models
- Longstanding fix to the lattice of the Sector tower!
- Fixing hexagonal cell site/rotated by 30 deg
…; wasted all my GPT on that shit but Gemini quickly fixed it

- [WIP] Continuing Tx work; only half-duplex mode right now, but working on multiple SDRs
- [WIP] Tx work continued, adding "Hop" and "Safety" for Tx, hopping and a safety for Tx so signals don't go too far
- [WIP] Trying to fix drag and drop
ceane added 30 commits July 7, 2026 00:28
- refine Mock APT spectral shaping and update generator documentation\n- improve websocket read-error handling for async SDR timeouts and reader restarts\n- reset loading reasons on reconnect so UI state clears correctly\n- add tx settings and spectrum UI updates for bandwidth-aware mock TX control\n- expand regression coverage for websocket migration and spectrum source switching
- Refactor FFT rendering, spectrum state, frequency dragging, slider overlays, and channel controls for smoother interaction and clearer state handling.
- Add edge-panning behavior and focused TypeScript coverage for route, overlay, frequency-drag, and hot-reload behavior.
- Harden websocket server lifecycle and mock APT transmission behavior, including continuity-oriented tests and safer shutdown/reload handling.
- Tune Rust build settings and add the FFT diagnostic binary used during development.
- Remove obsolete rewrite helpers and update agent/testing guidance for localhost access.
- add demodulation and frontend FFT sizing support\n- improve WebGPU spectrum rendering, retuning, overlay, and stream reset behavior\n- harden SDR hotplug, sample-rate, websocket, and endpoint authentication paths\n- update signal documentation and generated site assets\n- expand frontend and Rust regression coverage
Close the previous source stream immediately when switching to a device that is still loading. Keep the replacement socket deferred until the device reports a usable streaming status, and update the hotplug regression test to cover the lifecycle.
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.

2 participants