Skip to content

improve(ui): move Connected apps into Settings - #199338

Merged
vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/warm-langoustine-4
Nov 15, 2026
Merged

vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/warm-langoustine-4

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • The original placement reproduced on base 92016ce; the Settings-shell regression failed on that base and passed with the change.
  • A focused browser flow passed with the actual Control UI and MCP Relay view: final group order, Settings search, direct consent links, code pairing, leaving Settings, and the emulated phone drawer.
  • 110 focused registry, navigation, sidebar, relay-consent, and grant-management regressions passed. The affected sidebar suite was rechecked after simplifying the shared row.
  • UI typecheck, scoped lint, formatting, and diff checks passed. Scoped lint retains one pre-existing reactivity warning.
  • Screenshots use synthetic Gateway data at a 1280 × 900 desktop viewport; the phone check uses an emulated 400 × 820 viewport. No live ChatGPT/Claude authorization was exercised.

Before

Connected apps listed in Pages

After

Connected apps at the bottom of Agents & tools in Settings

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.

  • History/WebKit at 390px still observed 30 rather than 190 messages after its wheel event. No retained trace identifies which history guard rejected that wheel.
  • The footer case sampled [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 asset check reports the authorized 5-byte document excess and the JavaScript limit against an already-over-budget base. No budget files were changed.

The actual tested base (5025db61) and merge (30c1dffc) were compared. In these /chat fixtures, isSettingsTakeover remains 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.

roboclaw-bot and others added 2 commits November 15, 2026 00:34
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
@clawsweeper

clawsweeper Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui plugin: mcp-relay size: M labels Nov 15, 2026
@vyctorbrzezowski vyctorbrzezowski self-assigned this Nov 15, 2026
@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 15, 2026
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 15, 2026 00:49
@vyctorbrzezowski
vyctorbrzezowski enabled auto-merge (squash) November 15, 2026 00:52
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 15, 2026
@clawsweeper

clawsweeper Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

Moves 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.

  • Before: Connected apps appears in Pages.
  • After: Connected apps appears after Automation in Settings → Agents & tools.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The visual evidence supports the move, but the two actionable P2 findings block a correctness pass.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots show the real Control UI and existing MCP Relay page moving from Pages into Settings; the public body reports browser coverage of search, consent links, pairing and phone navigation using controlled Gateway responses.
Patch quality 🦪 silver shellfish (2/6) 2 actionable review findings remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: An access-management page occupies Pages alongside everyday workspaces instead of appearing with Settings.
Reason: The maintainer-authored direction places access management in Settings while preserving the existing plugin implementation and direct links.

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
Reviewed head: f89f008533b9c6aff6a340f529c374a3f037a6f6

Before merge

  • Exclude a cold-loaded Settings tab from the exit destination (P2) - Open /plugin?plugin=mcp-relay&id=connected-apps while Gateway hello is delayed. The plugin loader can settle before hello, so this condition classifies the route as a workspace and stores it in lastWorkspaceLocation. After hello advertises placement: "settings", the Settings shell appears, but that saved destination remains. exitSettings() unconditionally navigates back to it, so Back to app and Escape reopen Connected apps instead of leaving Settings. Have the navigation owner discard a saved destination now classified as Settings and fall back to Chat, with a regression covering delayed hello followed by exit.
  • Keep the navigation change within the existing bundle budgets (P2) - The exact-head base-comparison job fails on the production bundle containing this new shared navigation path: largest JavaScript gzip exceeds the measured 569,985-byte base plus its 64-byte variance allowance. It also reports document gzip at 14,031 bytes against a 14,026-byte ceiling. The JavaScript result explicitly distinguishes new growth from inherited over-budget size, so an already-red base does not explain this failure. Reduce the added shared-bundle cost and pass the existing comparison without raising its limits.

Findings

  • [P2] Exclude a cold-loaded Settings tab from the exit destination — ui/src/app/app-shell-navigation.ts:307-312
  • [P2] Keep the navigation change within the existing bundle budgets — ui/src/app-navigation.ts:379-380
Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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:

  • [P2] Exclude a cold-loaded Settings tab from the exit destination — ui/src/app/app-shell-navigation.ts:307-312
    Open /plugin?plugin=mcp-relay&id=connected-apps while Gateway hello is delayed. The plugin loader can settle before hello, so this condition classifies the route as a workspace and stores it in lastWorkspaceLocation. After hello advertises placement: "settings", the Settings shell appears, but that saved destination remains. exitSettings() unconditionally navigates back to it, so Back to app and Escape reopen Connected apps instead of leaving Settings. Have the navigation owner discard a saved destination now classified as Settings and fall back to Chat, with a regression covering delayed hello followed by exit.
    Confidence: 0.96
  • [P2] Keep the navigation change within the existing bundle budgets — ui/src/app-navigation.ts:379-380
    The exact-head base-comparison job fails on the production bundle containing this new shared navigation path: largest JavaScript gzip exceeds the measured 569,985-byte base plus its 64-byte variance allowance. It also reports document gzip at 14,031 bytes against a 14,026-byte ceiling. The JavaScript result explicitly distinguishes new growth from inherited over-budget size, so an already-red base does not explain this failure. Reduce the added shared-bundle cost and pass the existing comparison without raising its limits.
    Confidence: 0.95

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 005850723d3c.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test:ui ui/src/app/app-shell-navigation.test.ts ui/src/app/app-host.test.ts ui/src/app-navigation.test.ts
  • pnpm test:ui:e2e ui/src/e2e/connected-apps-settings.e2e.test.ts
  • pnpm tsgo:ui
  • pnpm ui:check-performance:base
  • git diff --check

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit d46497e adds extensions/mcp-relay/index.ts:34 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d46497e0f67c; files: extensions/mcp-relay/index.ts)

PR surface

Source +123, Tests +188, Docs +5. Total +316 across 29 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 18 203 80 +123
Tests 8 191 3 +188
Docs 3 9 4 +5
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 29 403 87 +316

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a limited navigation improvement with a recoverable Settings-exit defect and a concrete performance validation failure.
  • merge-risk: 🚨 compatibility: The public plugin descriptor gains recognized settings-placement behavior; the maintainer-authored direction approves this additive contract, with existing URLs, scopes and persisted formats retained.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 14, 2026, 8:25 PM ET / November 15, 2026, 01:25 UTC.

@vyctorbrzezowski vyctorbrzezowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@vyctorbrzezowski
vyctorbrzezowski merged commit 032227a into main Nov 15, 2026
242 of 252 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/warm-langoustine-4 branch November 15, 2026 08:07
@vyctorbrzezowski

Copy link
Copy Markdown
Member

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.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 16, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. plugin: mcp-relay proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants