Homestyx hydra
Diffusion hydra 932d829af339

Improve behavior of inline comment highlight reticle for block diffs

Description

Improve behavior of inline comment highlight reticle for block diffs

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.

Maniphest Tasks: T13425

Differential Revision: https://secure.phabricator.com/D20835

Details

Provenance
epriestleyAuthored on Sep 25 2019, 4:23 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:a09b298d85d7: Correct DOM node metadata to let inline comments work against block-based diffs
Branches
Unknown
Tags
Unknown

Event Timeline