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
F15518341: D20951.diff
Sat, Apr 19, 12:45 PM
F15509824: D20951.id49928.diff
Wed, Apr 16, 4:21 PM
F15507065: D20951.id49915.diff
Tue, Apr 15, 4:05 PM
F15504188: D20951.id.diff
Mon, Apr 14, 4:34 PM
F15502125: D20951.diff
Sun, Apr 13, 10:46 PM
F15500863: D20951.diff
Sun, Apr 13, 7:39 PM
F15477665: D20951.id49928.diff
Apr 7 2025, 5:13 PM
F15470342: D20951.id49915.diff
Apr 4 2025, 9:37 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
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.