Page MenuHomePhabricator

Fix an issue in the new Harbormaster build log view where clicking the "^" icon doesn't work right
ClosedPublic

Authored by epriestley on Apr 27 2018, 6:00 PM.
Tags
None
Referenced Files
F18509600: D19410.id.diff
Fri, Sep 5, 3:29 AM
F18502807: D19410.diff
Thu, Sep 4, 10:40 PM
F18389037: D19410.id46427.diff
Fri, Aug 29, 5:20 AM
F18388621: D19410.id46423.diff
Fri, Aug 29, 4:37 AM
F18387335: D19410.diff
Fri, Aug 29, 3:11 AM
F18386647: D19410.id.diff
Fri, Aug 29, 2:24 AM
F18386526: D19410.id46427.diff
Fri, Aug 29, 2:19 AM
F18386022: D19410.id46423.diff
Fri, Aug 29, 1:54 AM
Subscribers
None

Details

Summary

Ref T13130. See PHI617.

The new build log UI has tags like <a href="...">Show More Above <span icon>^</span></a>. If you click the little "^" icon, the event target is the <span /> instead of the <a /> so we expand on the wrong node.

Instead, select the <a /> by sigil explicitly.

Test Plan

Viewed new log UI in Harbormaster, clicked "^" icon and text, got the same (correct) behavior on both.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable