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)
Mon, Dec 9, 1:30 PM
Unknown Object (File)
Fri, Dec 6, 12:08 AM
Unknown Object (File)
Wed, Dec 4, 4:57 AM
Unknown Object (File)
Sun, Nov 24, 3:16 PM
Unknown Object (File)
Nov 1 2024, 8:58 PM
Unknown Object (File)
Nov 1 2024, 8:58 PM
Unknown Object (File)
Oct 27 2024, 6:43 PM
Unknown Object (File)
Oct 24 2024, 3: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).