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

Make editing project images redirect to "Manage" more consistently

Summary:
Ref T12732. Currently, different ways of setting a profile image can leave you in different places.

Instead, always send the user back to the "Manage" page.

Test Plan: Used "Current Picture", "use picture", "Build picture" and "upload picture", always ended up in the same spot.

Reviewers: chad, amckinley

Reviewed By: amckinley

Maniphest Tasks: T12732

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

+3 -4
+3 -4
src/applications/project/controller/PhabricatorProjectEditPictureController.php
··· 23 23 24 24 $this->setProject($project); 25 25 26 - $edit_uri = $this->getApplicationURI('profile/'.$project->getID().'/'); 27 - $view_uri = $this->getApplicationURI('profile/'.$project->getID().'/'); 26 + $manage_uri = $this->getApplicationURI('manage/'.$project->getID().'/'); 28 27 29 28 $supported_formats = PhabricatorFile::getTransformableImageFormats(); 30 29 $e_file = true; ··· 90 89 91 90 $editor->applyTransactions($project, $xactions); 92 91 93 - return id(new AphrontRedirectResponse())->setURI($edit_uri); 92 + return id(new AphrontRedirectResponse())->setURI($manage_uri); 94 93 } 95 94 } 96 95 ··· 243 242 pht('Supported formats: %s', implode(', ', $supported_formats)))) 244 243 ->appendChild( 245 244 id(new AphrontFormSubmitControl()) 246 - ->addCancelButton($edit_uri) 245 + ->addCancelButton($manage_uri) 247 246 ->setValue(pht('Upload Picture'))); 248 247 249 248 $form_box = id(new PHUIObjectBoxView())