Skip to content

feat: add private Realtime refresh signals - #15

Draft
ChargingCrystal wants to merge 5 commits into
mainfrom
feat/b8-private-realtime
Draft

ChargingCrystal wants to merge 5 commits into
mainfrom
feat/b8-private-realtime

Conversation

@ChargingCrystal

Copy link
Copy Markdown
Owner

B8 / F10

Adds migration 008_private_realtime.sql for private Supabase Broadcast signals after changes to dates, confirmed photos, and locations. Only current space members are selected as recipients. The messages carry no row data.

Frontend impact

Subscribe to ons:user:<user-id> with private: true and use the existing API when a signal arrives.

Signal Refetch
dates.changed GET /api/dates and GET /api/dashboard
photos.changed GET /api/photos
locations.changed GET /api/location

Before merge

This draft targets the signed-photo branch so the review shows the Realtime changes alone. After signed photos and health are merged, rebase on main and retarget this PR to main. The SQL tests cover current members, outsiders, former partners, and rollback. Run the full test suite and build after rebasing. The opt-in live WebSocket test is documented in the README and pending verification against local Supabase.

@ChargingCrystal
ChargingCrystal force-pushed the feat/b1-b3-signed-photos branch from 555a31a to d9dfe65 Compare November 28, 2026 14:01
Base automatically changed from feat/b1-b3-signed-photos to main November 28, 2026 14:13
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