Skip to content

feat(web): migrate settings, sidebar, banners and toasts to the provider layer - #3383

Open
tyler-dane wants to merge 8 commits into
mainfrom
cursor/p0-wp08b-migrate-consumers-cc19
Open

feat(web): migrate settings, sidebar, banners and toasts to the provider layer#3383
tyler-dane wants to merge 8 commits into
mainfrom
cursor/p0-wp08b-migrate-consumers-cc19

Conversation

@tyler-dane

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

Copy link
Copy Markdown
Contributor

Fixes #3232

What and why

First consumer batch of the provider connect layer. Settings, the sidebar calendar list, connection banners, pointer hints, and reconnect/delayed toasts now read metadata.connections[] and take the provider from the connection they render. A chooser lists every provider with connect availability; a single provider keeps today's one-click Add account / Connect Google Calendar path. Google strings stay byte-identical; Microsoft reconnect copy uses Outlook (Outlook needs reconnecting.).

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 8 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>
@tyler-dane
tyler-dane marked this pull request as ready for review September 5, 2026 01:29
@tyler-dane tyler-dane added the agent-automerge Agent-loop finished; merge-guard may squash-merge label Sep 5, 2026 — with Cursor
@tyler-dane
tyler-dane enabled auto-merge September 5, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-automerge Agent-loop finished; merge-guard may squash-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[agent] providers P0 WP-08b: migrate Settings, sidebar, banners and toasts to the provider layer

2 participants