Skip to content

fix: retain plugin detail tab selections while inspection loads - #144647

Merged
steipete merged 1 commit into
mainfrom
codex/plugin-detail-tab-intent
Sep 11, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/plugin-detail-tab-intent

Conversation

@steipete

@steipete steipete commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Related: #144590

Additional instructions

This branch is in openclaw/openclaw, so repository maintainers can edit it.

What Problem This Solves

Fixes an issue where users selecting Configuration in an installed plugin's detail view would be sent back to README when inspection finished after a reconnect. The Configuration tab was already displayed as a temporary fallback, so clicking it or pressing Enter or Space did not preserve that selection.

Why This Change Was Made

The detail view now carries the owning selection separately from the displayed fallback through the detail shell to the shared tabs component. Activation records the requested tab even when it is temporarily displayed; ordinary active-tab activation remains a no-op. ARIA selection, focus behavior, disabled tabs, and synthetic-event guards keep their existing behavior.

User Impact

Users can select a plugin detail tab while plugin information loads and keep that tab open when the remaining information arrives.

Evidence

A controlled reconnect defers inspection after README disappears, activates the displayed Configuration fallback, then supplies README again. All three regression cases (mouse, Enter, Space) fail on the original production code because the URL never records #configuration; all three pass with this repair.

The complete mocked-Gateway browser file passes all 9 scenarios, and 31 tests pass across the shared tabs, session tabs, plugin catalog detail, and plugin-page suites. The changed-file gate passes, and managed P2 review found no actionable findings. This is isolated browser boundary proof using synthetic Workboard data.

Before: README replaces Configuration after inspection

After: Configuration remains selected after inspection

@clawsweeper

clawsweeper Bot commented Sep 11, 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 size: S maintainer Maintainer-authored PR labels Sep 11, 2026
@steipete
steipete marked this pull request as ready for review September 11, 2026 04:18
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 11, 2026
@clawsweeper

clawsweeper Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 11, 2026, 5:53 AM ET / 09:53 UTC (Revision 3).

ClawSweeper review

What this changes

Preserve plugin detail tab choices made while inspection loads, with mouse and keyboard regression coverage and a settings documentation update.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused fix: current main still discards selection of the temporarily displayed tab. No actionable correctness or security findings remain, and the supplied visual evidence supports the intended result.

Priority: P2
Reviewed head: 4fdae62554e3ce072636cb72ad126a082927a922

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A narrow owner-preserving repair with relevant visual evidence and regression coverage, with no actionable findings.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots show the production plugin detail view retaining Configuration after README returns in the documented synthetic Workboard browser scenario; mouse, Enter, and Space regressions provide supplemental coverage.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected before/after screenshots show the production plugin detail view retaining Configuration after README returns in the documented synthetic Workboard browser scenario; mouse, Enter, and Space regressions provide supplemental coverage.
Evidence reviewed 8 items Current main still has the defect: Current main compares activation against the displayed active tab, while the installed detail view substitutes the first available tab when the requested tab is unavailable. Consequently, activating that fallback does not record the user's choice.
Repair preserves the existing selection owner: The detail view passes its requested selection through the shell; activation compares against that selection while rendering and ARIA still follow the displayed tab. The existing page callback updates the selected tab and URL fragment.
Regression coverage exercises the browser entry point: The added cases defer inspection, activate Configuration with click, Enter, or Space, restore README, and assert the URL, selected tab, and configuration field. The captured PR body reports all three cases failing before the repair and passing afterward; tests were not executed during this read-only review.
Findings None None.
Security None None.

How this fits together

The Control UI combines the user's selected plugin detail tab with asynchronously loaded plugin information. Its shared tab component records user choices, while the detail view selects an available panel to display.

flowchart LR
  A[User tab activation] --> B[Shared tab component]
  B --> C[Selected tab and URL]
  D[Plugin inspection results] --> E[Available detail tabs]
  C --> F[Choose requested tab or fallback]
  E --> F
  F --> G[Visible plugin panel]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +6, Tests +67, Docs +1. Total +74 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 3 8 2 +6
Tests 2 105 38 +67
Docs 1 1 0 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 114 40 +74

Review metrics

None.

Technical review

Best possible solution:

Keep selection owned by the page and treat temporary display fallbacks separately, so arriving inspection data preserves explicit user intent.

Do we have a high-confidence way to reproduce the issue?

Yes: defer plugin inspection, activate the displayed Configuration fallback, then restore README. Current-main source explains the lost choice; the PR reports failing-before/passing-after browser cases, which this review did not rerun.

Is this the best way to solve the issue?

Yes: the patch carries existing selection intent through the shared renderer without introducing another state owner, and callers that omit the new input retain their behavior.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This fixes a bounded plugin-settings navigation bug that unexpectedly replaces the user's selected panel.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected before/after screenshots show the production plugin detail view retaining Configuration after README returns in the documented synthetic Workboard browser scenario; mouse, Enter, and Space regressions provide supplemental coverage.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected before/after screenshots show the production plugin detail view retaining Configuration after README returns in the documented synthetic Workboard browser scenario; mouse, Enter, and Space regressions provide supplemental coverage.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected before/after screenshots show the production plugin detail view retaining Configuration after README returns in the documented synthetic Workboard browser scenario; mouse, Enter, and Space regressions provide supplemental coverage.

Evidence

What I checked:

Likely related people:

  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-09-11T04:25:53.018Z sha 43d9f29 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-11T09:05:34.663Z sha 43d9f29 :: needs maintainer review before merge. :: none

@steipete steipete closed this Sep 11, 2026
@steipete steipete reopened this Sep 11, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 11, 2026
@steipete
steipete force-pushed the codex/plugin-detail-tab-intent branch from 43d9f29 to 4fdae62 Compare September 11, 2026 09:48
@steipete
steipete merged commit 611dbf7 into main Sep 11, 2026
128 checks passed
@steipete
steipete deleted the codex/plugin-detail-tab-intent branch September 11, 2026 11:17
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 11, 2026
Preserve the reviewed harness while incorporating the landed benchmark prerequisite.

Punchcard-Session: coral-orchard-orchard-d4

* commit '4407ed19ac63b1c1c84a0cfe6eb4bbeca9c2322c': (1196 commits)
  fix(perf): isolate benchmark subprocess transport (#144159)
  refactor(auth): await Copilot cache persistence (#144810)
  refactor(web-fetch): exercise URL normalization through the public tool (#144887)
  fix(ollama): preserve hosted subdomain model context (#144891)
  fix(doctor): explain Codex plugin health failures (#144813)
  fix(channels): honor pinned accounts in Mattermost model menus (#144880)
  fix(update): failed-update records hide the triggering error behind the excerpt tail (#144729)
  fix(logging): preserve OpenClaw package references in diagnostics (#144808)
  fix: retain plugin detail tab selections while inspection loads (#144647)
  fix: keep discovered models when sign-in tokens renew (#144861)
  fix(update): preserve local package overrides (#89985)
  fix(update): resolve compatibility bridges within the runtime graph (#144831)
  chore(i18n): refresh native locales (#144856)
  fix: preserve child signal termination during CLI respawn (#144838)
  fix(text): hide encoded MiniMax tool envelopes (#126307)
  fix(subagents): deliver child replies that match the empty placeholder (#130647)
  fix(cli): reject blank message channel selectors (#144802)
  fix(telegram): preserve mixed text order and pending stop (#144839)
  fix(memory): restore FTS fallback for same-name view collisions (#144783)
  chore(release): close out 2026.9.4 on main (#144708)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 12, 2026
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 maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant