Repository navigation
fix: explain the security audit from its info icon on Template and plugin pages - #201620
Conversation
The icon's hint was a title nested in the audit link. With link previews on, the link's page preview owned the hover and replaced the hint, so the icon explained nothing. Give the icon its own tooltip button beside the heading and keep the link on the verdict row.
…ugin pages OpenClaw-Publication: 21fde8e9-4f01-8af5-a242-e9e0513d3f58
|
🦞👀 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. What this changesSeparates the Security audit explanation button from the report link on Template and plugin pages. Example: Hover over the Security audit info icon on a Template detail page with link previews enabled.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a useful, focused UI fix with no actionable findings. The earlier CSS performance blocker is resolved, and current-head CI passes. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherTemplate and plugin detail pages feed release metadata into one shared rail renderer, which presents the audit verdict, explanation, report link, and release facts. flowchart TD
A[Template detail] --> C[Shared metadata rail]
B[Plugin detail] --> C
C --> D[Audit explanation button]
D --> E[Shared tooltip]
C --> F[Verdict report link]
Technical reviewBest possible solution: Keep the explanation in the shared tooltip beside the heading and retain report navigation on the verdict row. Do we have a high-confidence way to reproduce the issue? Current-main markup places the hint inside the previewable report link, and the supplied before screenshot shows the resulting link preview; no target code was executed during this review. Is this the best way to solve the issue? The patch fixes the interaction at the existing shared renderer, preserves localization and report access, and introduces no competing state or tooltip implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3b0b7e23f65f. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +12, Tests +28. Total +40 across 5 files. Added test files: 0. 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:
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 HistoryReview history (1 earlier review cycle)
Reviewed November 19, 2026, 12:37 AM ET / 05:37 UTC (Revision 2). |
Keeps total Control UI CSS from growing past its ceiling: the shared button owns the box, glyph and states, so the rail only places it.
OpenClaw-Publication: d1bf0499-e632-8897-ab44-825a575d5b7d
…fo-tooltip # Conflicts: # ui/src/pages/agents-home/templates-catalog.e2e.test.ts
OpenClaw-Publication: 7bd0c8a8-4cfe-86b4-8f31-38439dc8478d
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Preserve the Template and plugin audit explanation from #201620 while using the existing native tooltip owner. Restore the 56-request first-visit bound without widening budgets or changing translations. Co-authored-by: Patrick Erichsen <[email protected]>
…law#201677) Preserve the Template and plugin audit explanation from openclaw#201620 while using the existing native tooltip owner. Restore the 56-request first-visit bound without widening budgets or changing translations. Co-authored-by: Patrick Erichsen <[email protected]>
What Problem This Solves
On a Template or plugin page, the info icon beside Security audit does not explain anything. With link previews turned on, hovering it opens a preview card for the ClawHub audit link, and clicking it follows that link. With previews off it only says "View security audit", which describes the link rather than the audit.
User Impact
User impact: hovering, focusing, or clicking the info icon now explains what the audit is ("ClawHub checks each release for vulnerabilities and agentic risk."). The verdict row below it still opens the full audit on ClawHub.
Why This Change Was Made
The icon's hint was a
titlenested inside the audit link. A link's page preview takes over the hover from any hint inside it, so the hint was replaced as soon as previews were available. The icon is now the shared icon button with its own tooltip beside the heading, outside the link, and the link covers only the verdict row. The link keeps "Security audit" in its accessible name.The heading, verdict row and facts keep their measured positions at 390 px and 1440 px. The icon glyph sits 2.5 px further from the heading so its 28 px target does not overlap the heading text.
Evidence
A Template detail page in the mocked Control UI with link previews on, dark theme, 1440×900, pointer resting on the info icon. Before is
origin/mainat4442518e379; after is this branch. Template data comes from the E2E fixture.Clean comparison
Annotated comparison
explains the release audit from its info control while link previews are on(light and dark) fails against the product code onmainbecause a link preview card replaces the hint, and passes with this change. It also checks that clicking the icon keeps the hint open without leaving the page or opening the audit.pnpm check:changedandpnpm ui:i18n:verifypass.pnpm ui:check-performance:baseagainst4442518e379passes with total raw CSS 76 B below base and no budget changed.Gaps: verified in Chromium only.
plugins.e2e.test.ts > explains why Install is disabled while plugin inventory is loadingtimes out waiting for the initial roster locally on bothmainand this branch, so it is unrelated to this change.