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
F15432821: D8750.id20754.diff
Mon, Mar 24, 7:44 PM
F15419689: D8750.id20753.diff
Fri, Mar 21, 8:05 AM
F15419400: D8750.id20753.diff
Fri, Mar 21, 5:56 AM
F15414570: D8750.diff
Thu, Mar 20, 1:14 AM
F15412511: D8750.id20754.diff
Wed, Mar 19, 1:23 PM
F15395294: D8750.id20753.diff
Sun, Mar 16, 4:57 AM
F15393723: D8750.id20753.diff
Sat, Mar 15, 11:04 PM
F15393722: D8750.diff
Sat, Mar 15, 11:04 PM

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).