Repository navigation
improve(ui): move Connected apps into Settings - #199338
Conversation
Place Connected apps after Automation in Agents & tools while preserving direct consent links, pairing, revocation, search and Settings navigation. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 600a9a4e-0323-4eda-8705-02439ea6d0e9
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesMoves Connected apps from Pages into Settings navigation and search while retaining its existing plugin page and URLs. Example: An operator opens Connected apps to create a pairing code.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain Keep open: this maintainer-directed move is useful, but cold direct links can trap Settings exit and exact-head CI identifies a bundle-budget regression. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherThe Gateway advertises plugin tab descriptors; the Control UI uses their placement and URL identity to select navigation chrome while the existing plugin renderer handles pairing and grants. flowchart LR
A[MCP Relay descriptor] --> B[Gateway hello]
B --> C[Plugin tab identity]
C --> D[Settings shell and search]
D --> E[Existing plugin renderer]
E --> F[Pairing and grant methods]
Technical reviewBest possible solution: Retain descriptor-owned placement and the existing renderer, reject a saved Settings destination when exiting Settings, and restore the existing bundle budgets. Do we have a high-confidence way to reproduce the issue? The cold-link failure follows directly from synchronous plugin-route loading before hello, workspace-location capture, and unconditional reuse on Settings exit; no target code was executed during this read-only review. Is this the best way to solve the issue? The existing descriptor, shared URL helpers, Settings row and plugin renderer are the right owners; the change needs focused exit-navigation and bundle-size repairs rather than another page or state owner. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 005850723d3c. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +123, Tests +188, Docs +5. Total +316 across 29 files. Added test files: 1. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 14, 2026, 8:25 PM ET / November 15, 2026, 01:25 UTC. |
vyctorbrzezowski
left a comment
There was a problem hiding this comment.
Reviewed the full navigation/Settings change, acyclic route-helper correction and published visual proof. In the remaining chat CI cases, chat never enables Settings takeover, and geometry/history owners and inputs are unchanged. Five unchanged focal cases passed on both actual trees; this does not reproduce or fix the remaining CI failures or prove timing equivalence. The budget and scoped unrelated-CI exceptions are disclosed in the body. No product, required-review or security finding is waived.
|
Reviewed and merged. The navigation dependency cycle was corrected by keeping pure route helpers in the existing route owner. Visual behavior was preserved. The body records the remaining size-budget and unrelated chat-CI exceptions, including the limits of the paired test evidence; no assertions or waits were weakened. Thanks for the contribution. |
Place Connected apps in Settings while preserving direct links, pairing, revocation and normal navigation. Keep pure plugin route helpers in their existing route owner to avoid an import cycle. Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Connected apps is an access-management screen, but its entry appears alongside everyday workspaces in Pages.
User Impact
Connected apps moves to Settings → Agents & tools, after Automation, and remains searchable in Settings. Direct sign-in links, pairing, permission review, and revocation stay available. No permission changes, migration, or user action is required.
Why This Change Was Made
Reuse the existing plugin page and descriptor placement rather than adding a separate core page or duplicate renderer. The Settings shell now owns its navigation, Back/Escape behavior, phone drawer, and loading layout; Pages no longer lists the entry.
Evidence
Before
After
Maintainer verification on the corrected head: fixed the shared-navigation import cycle by moving the existing pure plugin-tab helpers to the route-path owner, and sorted the new test's private-server inventory entry. All helper consumers were migrated; no alternate renderer, cache, permission rule or visual change was added. Two incomplete shell test fixtures now use the existing complete context helpers, preserving their assertions.
Focused navigation, Settings, shell, keyboard, panel and plugin-slug tests passed, as did the UI typecheck, scoped lint/format, the zero-cycle guard and the exact test-ownership guard. The production UI build and complete Connected apps browser flow passed again. Desktop and phone screenshots are byte-identical to the inspected pre-correction captures. Independent P0–P2 review of the correction found no actionable issue. The earlier cold-link probe also passed with Gateway hello held and released.
The browser checks use controlled Gateway responses, not live third-party authorization. Fresh hosted CI is running on the published correction.
Author review and simplification
Reviewed the complete local change against its base and retained one plugin renderer, one descriptor-owned placement decision, and the existing Settings row. No new state store, protocol field, permission rule, or core route was introduced. The final change retains the Settings integration and focused regression proof; the maintainer correction removes the new import cycle and updates its existing consumers.
Contributor credit
Requested and designed with @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by
Maintainer review and remaining CI exceptions
The dependency-cycle correction is published at
f89f008533b9c6aff6a340f529c374a3f037a6f6; existing visual proof is unchanged. CI attempt 2 completed with the asset-size failure and two chat E2E failures. The earlier shard-5 global timeout did not recur.[0,0,0]from the first user-message footer after resolving the branch list. It does not require that footer to be visible at the instant of measurement; earlier header assertions passed. No cause for the zero-sized sample is claimed.The actual tested base (
5025db61) and merge (30c1dffc) were compared. In these/chatfixtures,isSettingsTakeoverremains false before/after, including initial and reconnect states. Placement lookup only runs for the plugin route; the Settings sidebar is not mounted here. Workspace visibility, navigation width and collapse values remain equal. The history fixture advertises no plugin tabs, and the footer fixture uses ordinary navigation placement. Moved route helpers preserve pure URL/key behavior. CSS, transcript/history owners and test inputs are unchanged.Five original focal cases passed on both trees with unchanged assertions and timeouts: history, footer and the three shell-loading cases in original order. This is supporting evidence, not a reproduction or repair of the failed CI run. Added metadata reads/imports can affect scheduling; exact timing equivalence is not claimed. Source/fixture review found no functional path from this patch to the remaining failures and no attributable product fix.
Landing uses the authorized size-budget exception and scoped unrelated-CI assessment. The failing jobs remain recorded as failed; no expectations or waits were weakened.