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
F19020454: D21249.id.diff
Sun, Nov 23, 5:46 PM
F19012677: D21249.diff
Sat, Nov 22, 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
F18688586: D21249.diff
Sep 26 2025, 4:43 PM
F18688582: D21249.diff
Sep 26 2025, 4:42 PM
F18663844: D21249.diff
Sep 23 2025, 10:56 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.