Page MenuHomePhabricator

Fix inline comment links for non-visible comments
ClosedPublic

Authored by epriestley on Feb 14 2014, 12:05 AM.
Tags
None
Referenced Files
F19827651: D8224.id19566.diff
Mon, Mar 9, 11:15 AM
F19822150: D8224.id19567.diff
Sat, Mar 7, 3:12 AM
F19789476: D8224.diff
Wed, Feb 25, 5:43 PM
F19526011: D8224.diff
Jan 18 2026, 1:22 PM
F19507024: D8224.id19566.diff
Jan 9 2026, 5:10 PM
F19506683: D8224.id19567.diff
Jan 9 2026, 4:50 PM
F18880917: D8224.id.diff
Nov 6 2025, 8:49 PM
F18876255: D8224.id.diff
Nov 5 2025, 10:58 PM
Subscribers

Details

Summary

Ref T2222. Restore this funky is-visible / inline-is-elsewhere logic.

Test Plan

Updated a revision, saw all the inlines render properly when looking at various diffs and versus-diffs. Clicked inline links.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

src/applications/differential/editor/DifferentialRevisionEditor.php
705

Fixes a similar content source issue to the CommentEditor one -- this one was on the web update pathway.

src/applications/differential/view/DifferentialTransactionView.php
133–135

I realized that this was probably wrong too, and would sort 11 before 9. Since we should rarely have files which are more than 2^16 lines long, and also rarely have comments that are more than 2^16 lines long, just do some bit fiddling.