Repository navigation
fix(ui): make expanded Template previews readable on phones - #196564
Conversation
Stack only open optional-item disclosures at phone widths; retain compact closed rows and the desktop layout. Extend the existing creator browser flow with readable-preview and selection/refresh coverage. Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 7c108ea8-a547-4642-954b-fe22eefffae1
|
🦞👀 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: blocked before merge. What this changesExpanded optional Template previews stack below their checkbox and label on screens up to 560px wide. Example: Open workspace/checklist.md while reviewing a Template at a 390px viewport.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep open: this PR provides a focused, visually verified improvement that current main still needs; required CI failures remain unresolved. Priority: P2 Before merge
FindingsNone. Agent review detailsHow this fits togetherThe Control UI renders Gateway-provided Template review items as selectable rows with native disclosures; this change controls their responsive presentation. flowchart LR
A[Gateway review result] --> B[Template review view]
B --> C[Optional item row]
C --> D[Checkbox and label]
C --> E[Native disclosure]
F[Responsive stylesheet] --> C
Technical reviewBest possible solution: Keep the responsive fix in the existing Template stylesheet, using the native disclosure state. Do we have a high-confidence way to reproduce the issue? Current-main CSS and the supplied before screenshot establish the narrow phone layout; no target code was executed during this review. Is this the best way to solve the issue? The patch uses the existing layout owner and native open state, preserving compact closed rows and desktop behavior without additional markup or state. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ce91f94f83be. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +7, Tests +111, Other +2. Total +120 across 3 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. Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 Reviewed November 10, 2026, 4:55 AM ET / 09:55 UTC. |
Reuse the Template Creator disclosure cursor owner to remove 88 emitted CSS bytes without changing layout. Wait for the existing transcript recovery request assertion rather than the host render microtask. Reduce the exact test-line grant by the removed line. Co-authored-by: vincentkoc <[email protected]>
Keep Stop available immediately while an existing layout frame delays transcript admission. Reproduce the timing with a fixture-owned pending frame and await the unchanged answer assertion; preserve abort/send and status checks. Co-authored-by: vincentkoc <[email protected]>
Wait for the real optional prewarmer before the measured scroll sequence. Keep the existing frame/task sequence and strict no-extra-render assertion intact; HTML warming also invokes the content renderer without mounting rows. Co-authored-by: vincentkoc <[email protected]>
Integrate verified main c6fc5bd for the named initial-token failure. PR and CI metadata still pinned the older63f493base. Preserve the prepared-row repair and all other PR-owned files byte-for-byte; affected55tests and current-main performance comparison pass. Co-authored-by: vincentkoc <[email protected]>
|
Merged via squash.
|
Integrate canonical main 5ac2102 to reuse the prepared-row test readiness repair from merged PR #196564 for the named CI failure on 25af986. Preserve the investigated, cause-unproven Sessions WebKit resize failure and its transport limitations; this integration does not claim to repair it. Co-authored-by: vincentkoc <[email protected]>
…#196564) * fix(ui): make expanded Template previews readable on phones Stack only open optional-item disclosures at phone widths; retain compact closed rows and the desktop layout. Extend the existing creator browser flow with readable-preview and selection/refresh coverage. Co-authored-by: vincentkoc <[email protected]> * fix(ui): make expanded Template previews readable on phones Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 7c108ea8-a547-4642-954b-fe22eefffae1 * fix(ui): trim creator styles and await transcript recovery Reuse the Template Creator disclosure cursor owner to remove 88 emitted CSS bytes without changing layout. Wait for the existing transcript recovery request assertion rather than the host render microtask. Reduce the exact test-line grant by the removed line. Co-authored-by: vincentkoc <[email protected]> * test(ui): await deferred answer before contention assertions Keep Stop available immediately while an existing layout frame delays transcript admission. Reproduce the timing with a fixture-owned pending frame and await the unchanged answer assertion; preserve abort/send and status checks. Co-authored-by: vincentkoc <[email protected]> * test(ui): qualify prewarmer readiness before counting row work Wait for the real optional prewarmer before the measured scroll sequence. Keep the existing frame/task sequence and strict no-extra-render assertion intact; HTML warming also invokes the content renderer without mounting rows. Co-authored-by: vincentkoc <[email protected]> --------- Co-authored-by: vincentkoc <[email protected]>
What Problem This Solves
Fixes cramped optional-item previews when reviewing a Template on a phone.
User Impact
Users can inspect optional workspace files and requirements across the full row width, with the checkbox and label above the expanded preview. Closed rows and desktop layouts stay unchanged; no migration or user action is required.
Why This Change Was Made
The existing row now stacks only when its native disclosure is open at widths up to 560px. This keeps the change in the Template Creator stylesheet without new state, wrappers, fixed heights, or changes to selection, review, publication, or shared Settings page gutters.
Evidence
0b9114291429df561ed41340cdc035f51e0f163band pass with the fix; closed rows and desktop remain unchanged.a44fca8e63258330872c9a64499fb8f4637971be, creator E2E is 6 passed / 1 opt-in live case skipped (15.57s test time, 27.63s runner wall time). All six post-integration captures are byte-identical to the inspected images; existing GitHub assets below are reused.c6fc5bd784b5bc1c8b94a069247796551eea3b7fpasses below both absolute CSS ceilings: raw 1,712,750 → 1,712,770 bytes (+20; 115 bytes headroom); normalized gzip 328,828 → 328,840 bytes (+12; 19 bytes headroom). Startup CSS is unchanged. No caps or shared scalar were raised.a29d52…still named base63f493…, before the landed token fix in #196567. The merge brings in verified mainc6fc5bd…without conflicts or a duplicate token repair. All six PR-owned files remain byte-identical toa29d52d73bebf14d113b7ec37e47ee3d83c2379e.CI repair provenance and bounded reproduction
load.mock.results[0]after only the host-render microtask. It now awaits the same exact recovery-call assertion; complete 5MB output and tool-disclosure assertions stay intact. Unmodified focused replay passed, so the full CI scheduling race was not independently reproduced.a29d52d73bebf14d113b7ec37e47ee3d83c2379e. The identical 26→31 failure occurred in this PR and PR #196566. One owner repair is retained here.undefinedwhile loading, then calls the content renderer for legitimate HTML warming without mounting DOM. A controlled pending→ready probe produced 21→26 callbacks, the same +5 growth: ordinary rows 22, 23, 25, 26 and 27. DOM rows 14–21 were unchanged, with zero preparing rows. The full CI shard timing was not replayed and this is not labeled inherited.Chromium and synthetic Gateway transport only; no physical-device/WebKit or live provider/registry publication claim. All publication responses in the creator browser suite are synthetic.
Phone preview — 390px, dark
Additional inspected states: light phone, skill preview, unchanged desktop
Worked on by:
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by