Page MenuHomePhabricator

Improve select-to-comment behavior in Firefox and on unified diffs
ClosedPublic

Authored by epriestley on May 13 2020, 8:47 PM.
Tags
None
Referenced Files
F19828156: D21249.id50599.diff
Mon, Mar 9, 4:48 PM
F19611894: D21249.diff
Feb 3 2026, 6:19 PM
F19556738: D21249.diff
Jan 30 2026, 9:00 PM
F19020454: D21249.id.diff
Nov 23 2025, 5:46 PM
F19012677: D21249.diff
Nov 22 2025, 2:00 PM
F18820899: D21249.id.diff
Oct 22 2025, 5:44 PM
F18813010: D21249.diff
Oct 20 2025, 1:28 PM
F18688633: D21249.diff
Sep 26 2025, 4:45 PM
Subscribers
None

Details

Summary

Ref T13513.

  • Firefox represents multiple selected rows as a discontinuous range. Accommodate this.
  • Unified diffs don't have a "copy" marker. Do something sort-of-reasonable for them.
Test Plan
  • Selected multiple lines of content in Firefox, got an option to add a comment.
  • Selected content in unified mode, got an option to add a comment.

Diff Detail

Repository
rP Phabricator
Branch
engine8
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24416
Build 33643: Run Core Tests
Build 33642: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 14 2020, 12:19 AM
This revision was automatically updated to reflect the committed changes.