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
F14079434: D21249.diff
Fri, Nov 22, 8:10 AM
Unknown Object (File)
Sun, Nov 17, 5:04 PM
Unknown Object (File)
Thu, Nov 14, 3:46 PM
Unknown Object (File)
Sun, Nov 10, 2:47 AM
Unknown Object (File)
Sat, Nov 9, 4:10 PM
Unknown Object (File)
Wed, Nov 6, 12:56 PM
Unknown Object (File)
Wed, Oct 30, 9:58 AM
Unknown Object (File)
Oct 20 2024, 1:19 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.