Repository navigation
fix(ui): keep selected-text comment input readable while scrolling - #163772
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 October 2, 2026, 5:04 PM ET / 21:04 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR removes scroll-edge fading from selected-text comment editors while retaining fades in read-only previews and expanding browser regression coverage. Merge readiness✅ Ready for maintainer review The fix remains necessary on current main and the latest release. The introduced patch has no actionable correctness findings, and inspected before/after screenshots support the visual improvement. Priority: P2 Review scores
Verification
How this fits togetherControl UI lets users attach comments to selected transcript text. Its editor creates or updates those comments, which appear as attachment chips and scrollable previews. flowchart LR
A[Selected transcript text] --> B[Comment editor]
B --> C[Bounded scrolling without fading]
C --> D[Save comment]
D --> E[Attachment chip]
E --> F[Scrollable preview with edge fades]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -15, Tests +13. Total -2 across 4 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep editable comment text fully opaque while preserving bounded scrolling and intentional preview fades. Do we have a high-confidence way to reproduce the issue? Yes: current-main selectors and editor scroll-state updates establish that a comment exceeding five lines receives an edge fade. Contributor screenshots demonstrate the visual defect; this review did not execute a reproduction. Is this the best way to solve the issue? Yes: narrowing the owning CSS selectors and removing unused editor tracking repairs the defect without competing overrides or changing preview behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4aa24e3a1340. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Co-authored-by: Patrick-Erichsen <[email protected]>
Co-authored-by: Patrick-Erichsen <[email protected]>
e739a82 to
4756df1
Compare
* commit '79be075e5aa46be9e42dbd53ed6e30e81469210a': (33 commits) fix(ui): keep selected-text comment input readable while scrolling (#163772) test(memory): open corpus database explicitly fix: bound Doctor migration capture to plugin data (#163780) fix(ui): gate system information at the shared reader (#160982) chore(db): reclassify worker inventory sites with caller evidence (#163754) refactor(channels): deslop Slack and Matrix (#163740) fix(agents): reject empty sessions_search queries in the tool schema (#129120) perf(nodes): load only what a worker turn needs (#160442) test(cli): assert concise Gateway failure copy in CLI process tests (#163649) refactor(discord): deslop discord (#163728) fix(workboard): make Sessions boards work on multi-agent Gateways (#163761) test(gateway): add sustained heap retention diagnostics (#163764) test(ui): disambiguate session filter controls refactor(plugins): deslop imessage, mattermost, and voice-call (#163767) fix(qa): run Telegram plugin source in --source-gateway userbot runs (#163718) feat(macos): add a --no-activate launch flag for background automation (#163758) fix(agents): preserve host authority across module reloads (#163725) perf(gateway): serve the listener before multi-gigabyte store validation and honor clean-close receipts at startup (#163690) fix: keep video widgets scrollable and preload initial frames (#163762) feat(memory): add a provider-neutral memory provider runtime (#162175) ...
|
Merged via squash.
|
…penclaw#163772) * fix(ui): keep selected-text comment input readable while scrolling Co-authored-by: Patrick-Erichsen <[email protected]> * fix(ui): keep annotation scroll state internal after fade removal Co-authored-by: Patrick-Erichsen <[email protected]> --------- Co-authored-by: Patrick-Erichsen <[email protected]>
* commit '1fda703fb4d3630e4633461967b2a2186e8f15fd': (33 commits) fix(ui): keep selected-text comment input readable while scrolling (openclaw#163772) test(memory): open corpus database explicitly fix: bound Doctor migration capture to plugin data (openclaw#163780) fix(ui): gate system information at the shared reader (openclaw#160982) chore(db): reclassify worker inventory sites with caller evidence (openclaw#163754) refactor(channels): deslop Slack and Matrix (openclaw#163740) fix(agents): reject empty sessions_search queries in the tool schema (openclaw#129120) perf(nodes): load only what a worker turn needs (openclaw#160442) test(cli): assert concise Gateway failure copy in CLI process tests (openclaw#163649) refactor(discord): deslop discord (openclaw#163728) fix(workboard): make Sessions boards work on multi-agent Gateways (openclaw#163761) test(gateway): add sustained heap retention diagnostics (openclaw#163764) test(ui): disambiguate session filter controls refactor(plugins): deslop imessage, mattermost, and voice-call (openclaw#163767) fix(qa): run Telegram plugin source in --source-gateway userbot runs (openclaw#163718) feat(macos): add a --no-activate launch flag for background automation (openclaw#163758) fix(agents): preserve host authority across module reloads (openclaw#163725) perf(gateway): serve the listener before multi-gigabyte store validation and honor clean-close receipts at startup (openclaw#163690) fix: keep video widgets scrollable and preload initial frames (openclaw#163762) feat(memory): add a provider-neutral memory provider runtime (openclaw#162175) ...
What Problem This Solves
Fixes: the bottom lines of the selected-text Add to chat comment input look faded or blurry once a multiline draft scrolls.
User Impact
User impact: all visible lines remain fully readable while creating or editing a comment. The five-line height limit, internal scrolling, keyboard shortcuts, and read-only comment previews are unchanged.
Why This Change Was Made
The read-only preview’s scroll-fade mask also targeted the editable textarea. Restrict that mask to previews and remove the editor’s now-unused fade-state tracking instead of adding an overriding style.
Reported and co-authored by @Patrick-Erichsen.
Work sessions
Evidence
--maxWorkers=1; 6.73 seconds Vitest duration. CI annotation browser-file runtime: 7.34 seconds in checks-ui (1/3) on the green exact-head run; two additional parameter cases reuse the existing browser fixture and add no timers or process boots. Green CI.Before
After
Root cause and scope
The 12px gradient in
selection-annotations.cssreduced the textarea’s alpha at scroll edges. Clear regression provenance: introduced by commit 7a78764 on September 16, 2026 (PR #149351); code author and merger @vyctorbrzezowski. No bot automerge was involved in the recorded merge.Best-fix verdict: repair the mask selector owner. A textarea-specific
mask-image: noneoverride would retain competing presentation rules and unused tracking; changing shared scroll-state detection would affect read-only surfaces that intentionally fade.Production LOC: +4/-19 (net -15). Tests: +18/-5. No dependencies, persistence, Gateway contracts, or permissions change.