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

Not require confirmation for revision subscribe and unsubscribe

Summary: Regression to original behavior.

Test Plan: Clicked on it twice, didn't see confirmation dialog.

Reviewers: epriestley, codeblock

Reviewed By: codeblock

CC: aran, Korvin

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

vrana a808133b bf3db6e9

+1 -1
-1
src/applications/differential/controller/DifferentialRevisionViewController.php
··· 498 498 'href' => "/differential/subscribe/{$action}/{$revision_id}/", 499 499 'name' => $viewer_is_cc ? pht('Unsubscribe') : pht('Subscribe'), 500 500 'instant' => true, 501 - 'sigil' => 'workflow', 502 501 ); 503 502 } else { 504 503 $links[] = array(
+1
src/applications/differential/view/DifferentialRevisionDetailView.php
··· 52 52 ->setName($action['name']) 53 53 ->setHref(idx($action, 'href')) 54 54 ->setWorkflow(idx($action, 'sigil') == 'workflow') 55 + ->setRenderAsForm(!empty($action['instant'])) 55 56 ->setUser($user) 56 57 ->setDisabled(idx($action, 'disabled', false)); 57 58 $actions->addAction($obj);