Diff lines need tap/click-to-comment affordance (selection-only misses tap, painful on mobile) #555
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#555
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #546. The DiffTable comment affordance (DiffTable.jsx:284) requires an active drag/shift SELECTION (getSel()) — a tap (mobile) or plain click (desktop) selects nothing, so no affordance ever appears. On mobile, drag-selecting code text is painful; on desktop, click-to-comment is the expected idiom.
Fix: per-line tap/click affordance on diff rows (e.g. tapping a line stages a single-line comment draft / opens the composer anchored there), working with touch (tap, not drag) and mouse (click and/or hover affordance), on both the Files tab and conversation inline diffs. Must not fight text selection (tap vs drag disambiguation) and must respect the existing anchor model (side NEW/OLD, chunk clamping) and #502 gate. Rendered-verified before closing.
Fix open: PR #558 (branch fix/issue-555) — per-line tap/click affordance on both surfaces, staged through the existing #546 anchor model, #502-gated, no backend change. Tests 1302/1301 (only pre-existing smoke fails); vite build green. Not merging per instructions.
Review of PR #558 (fix/issue-555,
7b53734) — verified in scratch worktree /tmp/pr558 (since removed), node_modules symlinked from main, main worktree untouched (still clean).All 7 review axes pass; no fixes needed, nothing pushed.
(1) Tap target — PASS. DiffTable.jsx lineTap() is a discrete
Fixed by PR #558 (review clean; rendered-verified end-to-end with headless Chromium — tap buttons, hover reveal, staged composer with anchor; selection bar also confirmed), merged. Closing.