Page MenuHomePhabricator

In Herald transcripts, render some field values in a more readable way
ClosedPublic

Authored by epriestley on Jan 23 2020, 11:38 PM.
Tags
None
Referenced Files
F15445041: D20951.id49915.diff
Thu, Mar 27, 12:21 PM
F15429223: D20951.id49928.diff
Mon, Mar 24, 1:13 AM
F15426082: D20951.id49928.diff
Sun, Mar 23, 6:59 AM
F15424022: D20951.id49928.diff
Sat, Mar 22, 7:55 PM
F15400086: D20951.diff
Mon, Mar 17, 9:36 AM
F15396144: D20951.id49915.diff
Sun, Mar 16, 12:16 PM
F15381311: D20951.id49915.diff
Fri, Mar 14, 7:00 AM
F15377579: D20951.id49928.diff
Thu, Mar 13, 9:41 AM
Subscribers
None

Details

Summary

Ref T13480. Currently, some Herald field types are rendered in an unfriendly way on transcripts. Particularly, PHID lists are rendered as raw PHIDs.

Improve this by delegating rendering to Value objects and letting "PHID List" value objects render more sensible handle lists. Also improve "bool" fields a bit and make more fields render an explicit "None" / empty value rather than just rendering nothing.

Test Plan

Viewed various transcripts, including transcripts covering boolean values, the "Always" condition, large blocks of text, and PHID lists.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jan 29 2020, 11:14 PM
This revision was automatically updated to reflect the committed changes.