Repository navigation
fix(ui): match fullscreen table presentation - #125692
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs changes before merge. Reviewed August 18, 2026, 5:53 AM ET / 09:53 UTC. ClawSweeper reviewWhat this changesThis PR makes fullscreen Markdown tables share inline transcript styling, adds outside-click dismissal and copy-success icon feedback, and expands table interaction coverage. Regression provenancePossible regression — probable (reviewed change; known regression link). No predecessor PR is attributed. Merge readinessKeep open. The shared selector targets the real detached-dialog boundary, but the current-head style-parity E2E still passes empty values because it supplies camelCase member names to Priority: P3 Review scores
Verification
Live VerificationCommand: Result: FAIL (partial) — step 2 Assertions:
How this fits togetherControl UI renders Markdown tables inside chat transcript bubbles and can clone a table into a native dialog for focused viewing. The detached dialog needs the same table CSS as the transcript wrapper so fullscreen content retains the inline presentation. flowchart LR
A[Markdown transcript] --> B[Inline table wrapper]
B --> C[Table interaction handler]
C --> D[Native fullscreen dialog]
B --> E[Shared table CSS]
D --> E
E --> F[Consistent inline and fullscreen presentation]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +28, Tests +58. Total +86 across 4 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Mantis proof suggestionA redacted web chat capture would directly show whether the expanded Markdown table retains the inline presentation. A maintainer can ask Mantis to capture proof by posting this exact PR comment: Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep one shared inline/dialog CSS selector, repair the computed-style probe with CSS declaration names, then validate the rebased exact head in Chromium before merge. Do we have a high-confidence way to reproduce the issue? Yes, for the review defect: the current E2E sends camelCase keys to getPropertyValue(), making the asserted computed values empty rather than testing the browser styles. Is this the best way to solve the issue? Mostly yes for the product fix: the shared selector is the right ownership boundary, but the parity proof must use valid CSS property names before it can establish the result. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 227230024d06. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
6c39114 to
8613a7f
Compare
|
Merged via squash.
|
…line (#125800) Two landed-PR races left main red (run 32131816085): - #125692's rewritten markdown-tables dialog test drives every interaction through direct handler calls except the reopen, which used a raw expand.click() that only worked via a leaked cross-file document listener in the shared lane; #125766 moved the file to the isolated lane where no such listener exists. Reopen now uses the file's own handler idiom. - Accumulated startup-JS creep from landed features put main 50 B over its gzip budget (344395 B vs 343289 B baseline + 1056 B tolerance). Baseline updated to main's CI-measured bytes via the script's --update-baseline contract.
* fix(ui): match fullscreen table presentation * fix(ui): confirm copied tables with check icon * test(ui): type table style probe safely * test(ui): repair table style parity probe --------- Co-authored-by: RoboClaw <[email protected]>
…line (openclaw#125800) Two landed-PR races left main red (run 32131816085): - openclaw#125692's rewritten markdown-tables dialog test drives every interaction through direct handler calls except the reopen, which used a raw expand.click() that only worked via a leaked cross-file document listener in the shared lane; openclaw#125766 moved the file to the isolated lane where no such listener exists. Reopen now uses the file's own handler idiom. - Accumulated startup-JS creep from landed features put main 50 B over its gzip budget (344395 B vs 343289 B baseline + 1056 B tolerance). Baseline updated to main's CI-measured bytes via the script's --update-baseline contract.
Related: #125245
Related: #125219
What Problem This Solves
Fixes an issue where expanding a transcript Markdown table rendered the fullscreen clone with the legacy table card styling because the native dialog is attached to
document.body, outside the transcript selector scope introduced by #125219.Why This Change Was Made
The transcript and fullscreen dialog now share one table presentation selector, so background, borders, row separators, wrapping, and header treatment stay identical without duplicating a second style block. The dialog also uses a bounded rounded surface, supports light-dismiss outside its bounds, preserves X and Escape dismissal, and restores focus to the expand action.
User Impact
Expanded Markdown tables now look and wrap like their inline transcript source instead of reverting to the previous bordered card design. Operators can also dismiss the fullscreen view by clicking outside it.
Evidence
node scripts/run-vitest.mjs ui/src/components/markdown-tables.test.ts ui/src/components/markdown.test.ts— 101 tests passed on the rebased exact head (AWS Crabboxrun_5b4d1d3d9b81).node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-markdown-table-interactions.e2e.test.ts— 1 Chromium E2E passed on the rebased exact head, covering nonempty computed-style parity, copy feedback, backdrop/Escape dismissal, and focus restoration (AWS Crabboxrun_bbf3ab156329).pnpm check:changed— passed the full changed type/lint/guard plan on the rebased exact tree (AWS Crabboxrun_77291132fcd2)..agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main --stream-engine-output— clean; no accepted/actionable findings.git diff --checkpassed.Review Resolution
Resolved the latest ClawSweeper finding by replacing camelCase
getPropertyValue()inputs with valid CSS declaration names and failing fast on empty computed values. The requested refreshed Chromium proof and stale-base refresh are complete; no re-review was requested because the post-review changes only addressed that finding and mechanically rebased the branch.