Skip to content

Settings manages personal connected accounts - #897

Merged
zlareb1 merged 5 commits into
mainfrom
feat/connected-accounts-dashboard
Nov 18, 2026
Merged

zlareb1 merged 5 commits into
mainfrom
feat/connected-accounts-dashboard

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Related: #883

Changelog category (leave one):

  • New Feature

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

Settings → Connected accounts shows your Google Drive, Notion and Linear connections and lets you connect, reconnect or disconnect them. Browser consent returns to the dashboard without OAuth parameters.

Why

connection.list gives callers a dashboard link for each provider. The dashboard must resolve that link and let the signed-in person complete consent and manage their own connections.

Scope and risk

The page uses the canonical own-account operations and the authenticated consent-start route. Its state is keyed by person and organization; leaving that owner aborts requests and drops late reads, confirmations and consent navigation. Disconnect warns that the caller's connected document sources stop.

Successful callbacks return a fixed relative dashboard redirect only when the HTTP Accept header prefers HTML. The redirect and JSON response disable caching, prevent referrer disclosure and clear the browser binding cookie. No callback parameter controls the target, and no OAuth code, state or token is carried into the dashboard URL or storage.

The connected-account backend is merged. Its server ownership, standing and consent checks remain authoritative.

This change targets main. The exhaustive assistant page-name map includes the new view. The operation-reach manifest is regenerated through the canonical generator; its only changes declare dashboard reach for connection.list and connection.disconnect. The temporary read-only generation job is removed. Existing required checks are unchanged.

Compatibility, rollout and rollback

  • Wire: no new or removed operation, field or setting. Callback JSON remains the default, including equal or wildcard Accept preferences; an HTML preference receives a 302 to /settings/connected-accounts.
  • Operator steps: configure the existing provider OAuth application settings before connecting accounts.
  • Rollback: reverting this dashboard change restores JSON callback responses and removes the page; stored connections and the dependency's schema remain.

Tests

Scoped static checks pass: Biome formatting and accessibility lint for the changed frontend files, Ruff lint and formatting for the changed Python files, strict mypy for the callback module, Prettier for the two changed documentation pages, and git diff --check.

Hosted checks pass for frontend typing, container builds, all frontend unit and browser shards, all six server unit shards, native integration, both Postgres memory authorities, mixed-version schema behavior, coverage and benchmarks. All 49 checks are terminal: 47 succeeded and two publication-only checks were skipped. All five applicable workflows succeeded; all 48 underlying jobs are terminal, with 46 successes and the same two publication skips.

The connected-account browser case passes at both 1400 px and 375 px. The route-budget case passes under the configured 4× CPU slowdown. Regressions cover API authentication and abort signals; provider deep links; viewers without namespace grants; account and organization switches; stale reads, confirmations and consent responses; disconnect cancellation; callback negotiation, privacy headers, cookie cleanup and replay refusal.

The assistant page-name entry and canonical reach-manifest companion are included. The manifest was produced by an exact-source hosted generator and adopted after checksum verification; its temporary generation job is removed. Fresh independent review reports no findings or nits across all 23 changed files and 34 diff hunks. Current-main composition also has no findings and preserves every other main path. Local runtime checks were not run. These results do not establish provider registration or live OAuth acceptance.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: An agent wrote the change. Independent source review, current-main composition review and hosted checks pass.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • Required CI checks pass.
  • No wire model, schema, setting, plugin or generated translation changes are introduced by the dashboard concern.
  • The frontend builds and its tests pass.
  • Documentation describes the connected-account flow and callback negotiation.
  • Commits are signed off.

Resolve account deep links in the dashboard and return browser consent to a fixed page. Keep connection state scoped to the signed-in person and organization.

Signed-off-by: zlareb1 <[email protected]>
Use the shared busy read button and section headings so pending refreshes retain focus and provider focus uses the existing heading interface.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 force-pushed the feat/connected-accounts-dashboard branch from a8710db to e99bf37 Compare November 18, 2026 19:52
@zlareb1
zlareb1 changed the base branch from feat/connected-account-lifecycle to main November 18, 2026 19:52
Keep the exhaustive page context map aligned with the connected accounts route.

Signed-off-by: zlareb1 <[email protected]>
Expose canonical generated bytes with the source head and hash so the committed reach companion can be verified.

Signed-off-by: zlareb1 <[email protected]>
Adopt verified canonical generator output and remove the diagnostic workflow after preserving its source proof.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 marked this pull request as ready for review November 18, 2026 20:58
@zlareb1
zlareb1 merged commit dea34ec into main Nov 18, 2026
49 checks passed
@zlareb1 zlareb1 mentioned this pull request Nov 18, 2026
6 tasks done
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