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
F14012917: D8750.id20753.diff
Fri, Nov 1, 8:58 PM
F14012916: D8750.id20754.diff
Fri, Nov 1, 8:58 PM
F14005739: D8750.diff
Sun, Oct 27, 6:43 PM
F13997254: D8750.id20753.diff
Thu, Oct 24, 3:14 AM
F13980091: D8750.diff
Sat, Oct 19, 8:26 AM
Unknown Object (File)
Sun, Oct 13, 9:09 AM
Unknown Object (File)
Oct 1 2024, 3:09 AM
Unknown Object (File)
Sep 20 2024, 10:29 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).