@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Process slowvote description as remarkup (link images, activate mentions, etc)

Summary: Fixes T10361.

Test Plan:
- Created a poll with an embedded file and a mention of a task.
- Verified file was attached properly.
- Verified mention appeared on task.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10361

Differential Revision: https://secure.phabricator.com/D15277

+14 -1
+14 -1
src/applications/slowvote/storage/PhabricatorSlowvoteTransaction.php
··· 97 97 return parent::getTitle(); 98 98 } 99 99 100 - public function getTitleForFeed() { 100 + public function getRemarkupBlocks() { 101 + $blocks = parent::getRemarkupBlocks(); 102 + 103 + $type = $this->getTransactionType(); 104 + switch ($type) { 105 + case self::TYPE_DESCRIPTION: 106 + $blocks[] = $this->getNewValue(); 107 + break; 108 + } 109 + 110 + return $blocks; 111 + } 112 + 113 + public function getTitleForFeed() { 101 114 $author_phid = $this->getAuthorPHID(); 102 115 $object_phid = $this->getObjectPHID(); 103 116