Commit Graph

3 Commits

Author SHA1 Message Date
noelorin 03c3d4d5bd feat: realtime rooms via SSE (global rooms/events)
- roomHub: add globalSubs + subscribeRooms/broadcastRooms, emit create/update/delete on createRoom/setTarget/removeTarget/setDistribution/clearDistributions/removeRoom
- gateway: handleRoomsEvents SSE (event: rooms, sync + 25s ping)
- server: GET /api/rooms/events (room:list)
- sse.ts: subscribeRooms with onState (onopen/onerror)
- rooms.tsx: subscribe + 350ms debounce reload, live badge + lastSync
- config_test: align ValidateDistributors permissive semantics (cdn占位不阻断)
- docs: document /api/rooms/events in business-logic & design
2026-08-23 23:19:12 +08:00
noelorin ffc69d691c feat(web): acid redesign + hero mouse parallax
- 纯黑/冷白双主题 + 100% 饱和电光酸色(lime/cyan/magenta),强对比冲击
- 氛围层:网格 + 双色光晕 + 扫描线 + 噪点;HUD 边角 / 跑马灯 / 信号条 / 滚动入场
- hero 鼠标视差:ghost 水印反向漂移 + 标题/deck/统计分层位移,rAF+lerp 平滑,reduced-motion 降级
- 修复整页刷新时房间列表鉴权竞态、推流页右栏拉伸空白
- vite dev 根路径服务 + /api /rtc /live 代理(build 仍落 /static/)
2026-08-20 16:15:54 +08:00
noelorin 340296f6cc feat(web): rewrite frontend as SolidJS + Tailwind v4 SPA with chat UI
Replace the legacy vanilla HTML/CSS/JS pages with a SolidJS single-page
app (TanStack Router/Query, Ark UI, Tailwind v4) and embed its build
output into the Go binary via //go:embed. SPA routes fall back to
index.html. Includes the room chat/danmaku panel, color picker and
broadcaster overlay on the watch/publish pages. Add web/node_modules
and local data to .gitignore.
2026-08-20 15:03:03 +08:00