Page MenuHomePhabricator

Make inline content "state-oriented", not "string-oriented"
ClosedPublic

Authored by epriestley on May 19 2020, 8:51 PM.
Tags
None
Referenced Files
F13102247: D21273.id50667.diff
Sat, Apr 27, 3:36 AM
Unknown Object (File)
Thu, Apr 25, 4:14 PM
Unknown Object (File)
Thu, Apr 25, 2:15 AM
Unknown Object (File)
Tue, Apr 23, 6:51 PM
Unknown Object (File)
Tue, Apr 23, 11:39 AM
Unknown Object (File)
Sat, Apr 6, 1:11 PM
Unknown Object (File)
Wed, Apr 3, 3:57 AM
Unknown Object (File)
Mon, Apr 1, 11:17 PM
Subscribers
None

Details

Summary

Ref T13513. Currently, all the inline code passes around strings to describe content. I plan to add background music, animation effects, etc., soon. To prepare for this change, make content a state object.

This does not change any user-visible behavior, it just prepares for content to become more complicated than a single string.

Test Plan

Created, edited, submitted, cancelled, etc., comments.

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.May 20 2020, 9:24 PM
This revision was automatically updated to reflect the committed changes.