Ruview/ui/services
ruv 3b72f35306 fix: UI auto-detects server port from page origin (#55)
The UI had hardcoded localhost:8080 for HTTP and localhost:8765 for
WebSocket, causing "Backend unavailable" when served from Docker
(port 3000) or any non-default port.

Changes:
- api.config.js: BASE_URL now uses window.location.origin instead
  of hardcoded localhost:8080
- api.config.js: buildWsUrl() uses window.location.host instead of
  hardcoded localhost:8080
- sensing.service.js: WebSocket URL derived from page origin instead
  of hardcoded localhost:8765
- main.rs: Added /ws/sensing route to the HTTP server so WebSocket
  and REST are reachable on a single port

Fixes #55

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-01 02:09:23 -05:00
..
api.service.js feat: Rust sensing server with full DensePose-compatible API 2026-02-28 21:29:45 -05:00
data-processor.js feat: Add Three.js visualization entry point and data processor 2026-02-28 06:29:28 +00:00
health.service.js feat: Sensing-only UI mode with Gaussian splat visualization and Rust migration ADR 2026-02-28 14:37:29 -05:00
pose.service.js I've successfully completed a full review of the WiFi-DensePose system, testing all functionality across every major 2025-06-09 17:13:35 +00:00
sensing.service.js fix: UI auto-detects server port from page origin (#55) 2026-03-01 02:09:23 -05:00
stream.service.js Add comprehensive CSS styles for UI components and dark mode support 2025-06-07 13:28:02 +00:00
websocket-client.js feat: Add hardware requirement notice to README, additional Three.js viz components 2026-02-28 06:26:10 +00:00
websocket.service.js feat: Rust sensing server with full DensePose-compatible API 2026-02-28 21:29:45 -05:00