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

Conpherence - workflow the Message link on people profiles

Summary: Fixes T2416. I was tired of looking at this task in the list, interns be damned. :D

Test Plan: it is now a workflow when you click it

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2416

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

+4 -18
+3 -18
src/applications/conpherence/controller/ConpherenceNewController.php
··· 86 86 87 87 $conpherence->saveTransaction(); 88 88 89 - if ($request->isAjax()) { 90 - $dialog = id(new AphrontDialogView()) 91 - ->setUser($user) 92 - ->setTitle('Success') 93 - ->addCancelButton('#', 'Okay') 94 - ->appendChild( 95 - phutil_tag( 96 - 'p', 97 - array(), 98 - pht('Message sent successfully.'))); 99 - $response = id(new AphrontDialogResponse()) 100 - ->setDialog($dialog); 101 - } else { 102 - $uri = $this->getApplicationURI($conpherence->getID()); 103 - $response = id(new AphrontRedirectResponse()) 104 - ->setURI($uri); 105 - } 106 - return $response; 89 + $uri = $this->getApplicationURI($conpherence->getID()); 90 + return id(new AphrontRedirectResponse()) 91 + ->setURI($uri); 107 92 } 108 93 } 109 94
+1
src/applications/conpherence/events/ConpherencePeopleMenuEventListener.php
··· 28 28 ->setIsExternal(true) 29 29 ->setName($name) 30 30 ->setHref($conpherence_uri) 31 + ->setWorkflow(true) 31 32 ->setKey($name)); 32 33 33 34 $event->setValue('menu', $menu);