feat(web): migrate sse, booking, calendars and analytics off google connect - #3389
Closed
tyler-dane wants to merge 3 commits into
Closed
feat(web): migrate sse, booking, calendars and analytics off google connect#3389tyler-dane wants to merge 3 commits into
tyler-dane wants to merge 3 commits into
Conversation
…onnect Rename useGcalSSE to useSyncSSE and handle CONNECTION_REVOKED by connection id. Move the remaining connect layer into auth/providers, switch booking and calendars onto any healthy writable provider, and replace the google_ analytics prefix. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Biome import order after the connect-layer move, plus Outlook copy in the reconnect toast and account header tests. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
tyler-dane
marked this pull request as ready for review
September 5, 2026 02:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3233.
Replays WP-08c onto current
main(WP-08b #3382). PR #3384 is superseded: it targeted an older 08b layout that moved Google connect files out ofauth/google/.What
useConnectGoogle,useGoogleUiState,useGcalSSE,useDisconnectGoogle,google-connect-status.util,google-sync-state.util,google-reconnect-status.util) toauth/providers/useSyncSSEhandlesCONNECTION_REVOKED {connectionId}andGOOGLE_REVOKED; lookup by id; repair copy is"We couldn't keep your calendar connection healthy. Try Refresh, or reconnect if this lasts."ConnectProviderChooser"prompt"variant; healthy gate is anyconnections[]HEALTHYor google aggregateHEALTHY; empty/google-only copy stays"Connect Google"/"Opening Google…"/"Connect a Google account to enable your booking page and let others schedule time with you."isWritableProviderCalendarusesprovider !== "local"+canWrite+ not reconnectinguseIsProviderAvailable("google", "signIn")oauth_redirect_started {provider, intent};calendar_connectedgainsproviderauth/google/is sign-in only (762 lines, under 1500)Why
WP-08c is the last web connect-layer migration. Booking, SSE, and calendars still imported Google-named hooks after WP-08b. Dual SSE (
CONNECTION_REVOKEDthenGOOGLE_REVOKED) must not double-toast; lookup-by-id is required becauseGOOGLE_REVOKEDhas noconnectionId.Verify
Checks: test:web, type-check, lint, knip, test:a11y, test:e2e
Human approval: OAuth connect/SSE revocation UX. Do not label
agent-automerge.wc -l packages/web/src/auth/google/**/*.ts*= 762