Repository navigation
fix: retain plugin detail tab selections while inspection loads - #144647
Conversation
|
🦞👀 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 maintainer review before merge. Reviewed September 11, 2026, 5:53 AM ET / 09:53 UTC (Revision 3). ClawSweeper reviewWhat this changesPreserve 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 Review scores
Verification
How this fits togetherThe 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]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +6, Tests +67, Docs +1. Total +74 across 6 files. View PR surface stats
Review metricsNone. Technical reviewBest 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. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
43d9f29 to
4fdae62
Compare
|
Merged via squash.
|
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) ...
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.