Page MenuHomePhabricator

Improve behavior of inline comment highlight reticle for block diffs
ClosedPublic

Authored by epriestley on Sep 25 2019, 8:25 PM.
Tags
None
Referenced Files
F15416402: D20835.diff
Thu, Mar 20, 10:54 AM
Unknown Object (File)
Feb 9 2025, 8:12 AM
Unknown Object (File)
Feb 9 2025, 8:12 AM
Unknown Object (File)
Feb 9 2025, 8:12 AM
Unknown Object (File)
Jan 25 2025, 12:55 PM
Unknown Object (File)
Jan 25 2025, 5:52 AM
Unknown Object (File)
Jan 25 2025, 5:52 AM
Unknown Object (File)
Jan 25 2025, 5:52 AM
Subscribers
None

Details

Summary

Depends on D20834. Ref T13425. After the change from "th" to "td" for accessibility, the algorithm picks which cells it should highlight slightly improperly (it picks too many cells since it can no longer find the line numbers).

Ideally, it would probably highlight only the source content, but there isn't an easy way to do this right now. Settle for an incremental improvement for the moment.

Test Plan

Hovered over line numbers, saw a more accurate highlight area.

Diff Detail

Repository
rP Phabricator
Branch
jupyter6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23493
Build 32287: Run Core Tests
Build 32286: arc lint + arc unit