Page MenuHomePhabricator

Allow users to create inline comments by directly selecting text directly
ClosedPublic

Authored by epriestley on May 13 2020, 8:17 PM.
Tags
None
Referenced Files
F18869657: D21248.diff
Tue, Nov 4, 12:52 PM
F18703625: D21248.id.diff
Sep 28 2025, 4:35 AM
F18646483: D21248.id50598.diff
Sep 19 2025, 10:11 AM
F18629815: D21248.diff
Sep 16 2025, 9:59 AM
F18617862: D21248.diff
Sep 14 2025, 10:24 PM
F18494746: D21248.id50603.diff
Sep 4 2025, 3:00 PM
F18392690: D21248.diff
Aug 29 2025, 8:30 AM
F18158561: D21248.id50598.diff
Aug 14 2025, 11:22 PM
Subscribers
None

Details

Summary

Ref T13513. Support direct text selection for inlines. This is currently just an alternate way to get to the same place as using line numbers, but can preserve offset/range information in the future.

Test Plan
  • Selected some text, hit "c", clicked "New Inline Comment", got sensible comments on both sides of a diff in Safari, Chrome, and (with limitations) Firefox.
  • Caveats: no unified support, doesn't work across lines in Firefox.

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:15 AM
This revision was automatically updated to reflect the committed changes.