Repository navigation
Settings manages personal connected accounts - #897
Merged
Merged
Conversation
5 tasks done
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
force-pushed
the
feat/connected-accounts-dashboard
branch
from
November 18, 2026 19:52
a8710db to
e99bf37
Compare
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]>
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.
Related: #883
Changelog category (leave one):
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.listgives 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
Acceptheader 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 forconnection.listandconnection.disconnect. The temporary read-only generation job is removed. Existing required checks are unchanged.Compatibility, rollout and rollback
Acceptpreferences; an HTML preference receives a 302 to/settings/connected-accounts.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