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

Clean up Project Members UI

Summary:
- Better spacing for images
- Remove border
- White BG on Members page

Test Plan: Review Projects / Project Home / Project Members

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

authored by

Chad Little and committed by
chad
a599aed9 49a44a0b

+21 -9
+3 -3
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => 'ab6cb6b8', 10 + 'core.pkg.css' => 'bb7485ba', 11 11 'core.pkg.js' => '573e6664', 12 12 'darkconsole.pkg.js' => 'e7393ebb', 13 13 'differential.pkg.css' => '2de124c9', ··· 141 141 'rsrc/css/phui/phui-info-view.css' => '6d7c3509', 142 142 'rsrc/css/phui/phui-list.css' => '9da2aa00', 143 143 'rsrc/css/phui/phui-object-box.css' => '407eaf5a', 144 - 'rsrc/css/phui/phui-object-item-list-view.css' => 'bbc929b3', 144 + 'rsrc/css/phui/phui-object-item-list-view.css' => '0d484a97', 145 145 'rsrc/css/phui/phui-pager.css' => 'bea33d23', 146 146 'rsrc/css/phui/phui-pinboard-view.css' => '2495140e', 147 147 'rsrc/css/phui/phui-profile-menu.css' => 'fa814ef9', ··· 817 817 'phui-inline-comment-view-css' => '0fdb3667', 818 818 'phui-list-view-css' => '9da2aa00', 819 819 'phui-object-box-css' => '407eaf5a', 820 - 'phui-object-item-list-view-css' => 'bbc929b3', 820 + 'phui-object-item-list-view-css' => '0d484a97', 821 821 'phui-pager-css' => 'bea33d23', 822 822 'phui-pinboard-view-css' => '2495140e', 823 823 'phui-profile-menu-css' => 'fa814ef9',
+2
src/applications/project/controller/PhabricatorProjectProfileController.php
··· 49 49 ->setUser($viewer) 50 50 ->setProject($project) 51 51 ->setLimit(5) 52 + ->setBackground(PHUIBoxView::GREY) 52 53 ->setUserPHIDs($project->getMemberPHIDs()); 53 54 54 55 $watcher_list = id(new PhabricatorProjectWatcherListView()) 55 56 ->setUser($viewer) 56 57 ->setProject($project) 57 58 ->setLimit(5) 59 + ->setBackground(PHUIBoxView::GREY) 58 60 ->setUserPHIDs($project->getWatcherPHIDs()); 59 61 60 62 $nav = $this->getProfileMenu();
+15 -4
src/applications/project/view/PhabricatorProjectUserListView.php
··· 5 5 private $project; 6 6 private $userPHIDs; 7 7 private $limit; 8 + private $background; 8 9 9 10 public function setProject(PhabricatorProject $project) { 10 11 $this->project = $project; ··· 33 34 return $this->limit; 34 35 } 35 36 37 + public function setBackground($color) { 38 + $this->background = $color; 39 + return $this; 40 + } 41 + 36 42 abstract protected function canEditList(); 37 43 abstract protected function getNoDataString(); 38 44 abstract protected function getRemoveURI($phid); ··· 80 86 ->setImageURI($handle->getImageURI()); 81 87 82 88 $icon = id(new PHUIIconView()) 83 - ->setIconFont($handle->getIcon().' grey'); 89 + ->setIconFont($handle->getIcon().' lightbluetext'); 84 90 85 91 $subtitle = $handle->getSubtitle(); 86 92 ··· 125 131 ->setHref("/project/members/{$id}/")); 126 132 } 127 133 128 - return id(new PHUIObjectBoxView()) 134 + $box = id(new PHUIObjectBoxView()) 129 135 ->setHeader($header) 130 - ->setObjectList($list) 131 - ->setBackground(PHUIBoxView::GREY); 136 + ->setObjectList($list); 137 + 138 + if ($this->background) { 139 + $box->setBackground($this->background); 140 + } 141 + 142 + return $box; 132 143 } 133 144 134 145 }
+1 -2
webroot/rsrc/css/phui/phui-object-item-list-view.css
··· 735 735 .phui-object-item-image { 736 736 width: 40px; 737 737 height: 40px; 738 - box-shadow: inset 0 0 0 1px rgba(55,55,55,.15); 739 738 border-radius: 3px; 740 739 background-size: 100%; 741 - margin: 6px; 740 + margin: 8px 6px; 742 741 position: absolute; 743 742 } 744 743