Skip to content

feat(web): migrate sse, booking, calendars and analytics off google connect - #3384

Open
tyler-dane wants to merge 12 commits into
mainfrom
cursor/p0-wp08c-migrate-sse-cc19
Open

feat(web): migrate sse, booking, calendars and analytics off google connect#3384
tyler-dane wants to merge 12 commits into
mainfrom
cursor/p0-wp08c-migrate-sse-cc19

Conversation

@tyler-dane

@tyler-dane tyler-dane commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #3233

What and why

Second consumer batch for Providers P0 WP-08c. SSE, booking, calendars, auth modals, and analytics now import from auth/providers. useGcalSSE is useSyncSSE and handles CONNECTION_REVOKED {connectionId}. The leftover Google connect layer is deleted; Google sign-in stays under auth/google until milestone I.

Approval boundary is human. Remaining auth/google/ files are listed in .agents/handoffs/3233.md.

This branch was based on WP-08b #3383. main merged a different WP-08b (#3382), so this PR currently conflicts. It needs to be re-applied on top of #3382 before merge.

Verify

VERDICT: PASS
Checks run: test:web, type-check, lint, knip, test:a11y, test:e2e

Open in Web Open in Cursor 

cursoragent and others added 12 commits September 5, 2026 00:30
Add generic begin/disconnect/refresh routes, wrap begin as a redirect
union, emit CONNECTION_REVOKED next to GOOGLE_REVOKED, and expose
connections[] with provider while keeping metadata.google overlap.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Keep PROVIDER_NOT_CONFIGURED on the connection begin path from ever
constructing a sync client.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Introduce useConnectProvider, shared config availability, and
provider-neutral connect-status toasts. useConnectGoogle becomes a
google wrapper so existing spies and tests stay unchanged.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
…te-consumers-cc19

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
…der layer

Settings, calendar list, banners and reconnect toasts now read
metadata.connections[] and name the connection's provider. Google copy
stays byte-identical; Microsoft reconnect copy uses Outlook.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
…onnect

Rename useGcalSSE to useSyncSSE, look up CONNECTION_REVOKED by connectionId,
and delete the leftover Google connect layer now that importers use the
provider-neutral APIs. Sign-in stays under auth/google until milestone I.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
List remaining auth/google sign-in files for the human approval boundary.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Biome import order and the branded ConnectionId on CONNECTION_REVOKED
messages were failing type-check and lint after the WP-08c move.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane
tyler-dane marked this pull request as ready for review September 5, 2026 02:06
@tyler-dane tyler-dane added the agent-loop-needs-human Stop the agent loop for this issue; needs a human label Sep 5, 2026 — with Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-loop-needs-human Stop the agent loop for this issue; needs a human

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[agent] providers P0 WP-08c: migrate SSE, booking, calendars, modals and analytics; delete the Google connect layer

2 participants