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
F15385829: D21249.id50604.diff
Fri, Mar 14, 11:30 PM
F15338157: D21249.id50604.diff
Sun, Mar 9, 9:34 AM
Unknown Object (File)
Mon, Mar 3, 4:18 PM
Unknown Object (File)
Mon, Feb 24, 2:44 AM
Unknown Object (File)
Sun, Feb 23, 12:14 PM
Unknown Object (File)
Sat, Feb 22, 1:33 AM
Unknown Object (File)
Sun, Feb 16, 11:13 PM
Unknown Object (File)
Feb 13 2025, 2:38 AM
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.