Page MenuHomePhabricator

Feed - fix some whacky "text mode" rendering code
ClosedPublic

Authored by btrahan on Apr 10 2014, 8:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 3, 9:11 AM
Unknown Object (File)
Sat, Aug 31, 10:24 AM
Unknown Object (File)
Aug 18 2024, 1:10 PM
Unknown Object (File)
Aug 17 2024, 3:59 AM
Unknown Object (File)
Aug 7 2024, 11:43 AM
Unknown Object (File)
Jul 27 2024, 1:44 PM
Unknown Object (File)
Jul 27 2024, 6:14 AM
Unknown Object (File)
Jul 27 2024, 6:14 AM

Details

Summary

...add a "renderingTarget" to FeedStory and use it as appropos. Overall, not a ton of changes was necessary to make this work. I think this could be made to be even cleaner by going through each and every feed story and re-implementing as necessary with the full toolset available. But this is good enough for now I think, and just something to keep cleaning up when we're in here. Fixes T4630.

Test Plan

made a task. gave it a token. viewed my feed - saw stories. used conduit.feed.query with mode == 'text' and got good readable results.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan retitled this revision from to Feed - fix some whacky "text mode" rendering code.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
src/applications/maniphest/controller/ManiphestTransactionSaveController.php
152–159

this is a bonus bug fix; the break thing won't work anymore now that this code isn't in a switch

This revision is now accepted and ready to land.Apr 10 2014, 8:44 PM
btrahan updated this revision to Diff 20754.

Closed by commit rP3e0b3a1db5db (authored by @btrahan).