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
Unknown Object (File)
Mon, Feb 10, 11:50 AM
Unknown Object (File)
Sun, Feb 9, 5:59 AM
Unknown Object (File)
Sun, Feb 9, 5:59 AM
Unknown Object (File)
Sun, Feb 9, 5:59 AM
Unknown Object (File)
Mon, Feb 3, 7:11 PM
Unknown Object (File)
Tue, Jan 28, 3:48 AM
Unknown Object (File)
Sat, Jan 25, 1:19 AM
Unknown Object (File)
Sat, Jan 25, 1:19 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