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
Unknown Object (File)
Thu, Apr 25, 3:42 AM
Unknown Object (File)
Wed, Apr 24, 2:27 PM
Unknown Object (File)
Sat, Apr 20, 5:00 PM
Unknown Object (File)
Fri, Apr 19, 7:32 PM
Unknown Object (File)
Thu, Apr 11, 10:51 AM
Unknown Object (File)
Sat, Apr 6, 7:59 PM
Unknown Object (File)
Mar 5 2024, 9:18 AM
Unknown Object (File)
Feb 11 2024, 9:58 PM
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
Branch
author5
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23741
Build 32648: Run Core Tests
Build 32647: arc lint + arc unit

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.