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

Don't show Space monograms in SpaceContextView

Summary: Ref T8449. Get rid of the `S123` stuff in headers, it feels like clutter.

Test Plan: Looked at objects in Spaces.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8449

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

+12 -2
+11 -1
src/applications/phid/view/PHUIHandleView.php
··· 14 14 private $handleList; 15 15 private $handlePHID; 16 16 private $asTag; 17 + private $useShortName; 17 18 18 19 public function setHandleList(PhabricatorHandleList $list) { 19 20 $this->handleList = $list; ··· 30 31 return $this; 31 32 } 32 33 34 + public function setUseShortName($short) { 35 + $this->useShortName = $short; 36 + return $this; 37 + } 38 + 33 39 public function render() { 34 40 $handle = $this->handleList[$this->handlePHID]; 35 41 if ($this->asTag) { 36 42 return $handle->renderTag(); 37 43 } else { 38 - return $handle->renderLink(); 44 + if ($this->useShortName) { 45 + return $handle->renderLink($handle->getName()); 46 + } else { 47 + return $handle->renderLink(); 48 + } 39 49 } 40 50 } 41 51
+1 -1
src/applications/spaces/view/PHUISpacesNamespaceContextView.php
··· 41 41 'class' => 'spaces-name', 42 42 ), 43 43 array( 44 - $viewer->renderHandle($space_phid), 44 + $viewer->renderHandle($space_phid)->setUseShortName(true), 45 45 ' | ', 46 46 )); 47 47 }