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

Remove sidenav from Workboards

Summary: Visually, I think these are much cleaner (with colors), and provide more workspace. I also don't really use the sidenav here and if I did, it would be to go back to the project homepage. I think this is overall better. If navigation page to project home is difficult or hard to find, we can maybe make a better header / crumbs bar to reduce that.

Test Plan: New project -> basic new board. Existing project -> color board. Desktop, Mobile, Fullscreen

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+14 -42
+4 -4
resources/celerity/map.php
··· 165 165 'rsrc/css/phui/phui-tag-view.css' => '6bbd83e2', 166 166 'rsrc/css/phui/phui-timeline-view.css' => 'bc523970', 167 167 'rsrc/css/phui/phui-two-column-view.css' => 'bbe32c23', 168 - 'rsrc/css/phui/workboards/phui-workboard-color.css' => 'ac6fe6a7', 169 - 'rsrc/css/phui/workboards/phui-workboard.css' => 'e09eb53a', 168 + 'rsrc/css/phui/workboards/phui-workboard-color.css' => '207828dd', 169 + 'rsrc/css/phui/workboards/phui-workboard.css' => '60d09514', 170 170 'rsrc/css/phui/workboards/phui-workcard.css' => '0c62d7c5', 171 171 'rsrc/css/phui/workboards/phui-workpanel.css' => '92197373', 172 172 'rsrc/css/sprite-login.css' => '6dbbbd97', ··· 883 883 'phui-theme-css' => '798c69b8', 884 884 'phui-timeline-view-css' => 'bc523970', 885 885 'phui-two-column-view-css' => 'bbe32c23', 886 - 'phui-workboard-color-css' => 'ac6fe6a7', 887 - 'phui-workboard-view-css' => 'e09eb53a', 886 + 'phui-workboard-color-css' => '207828dd', 887 + 'phui-workboard-view-css' => '60d09514', 888 888 'phui-workcard-view-css' => '0c62d7c5', 889 889 'phui-workpanel-view-css' => '92197373', 890 890 'phuix-action-list-view' => 'b5c256b8',
-2
src/applications/project/controller/PhabricatorProjectBoardViewController.php
··· 416 416 ->appendChild($board) 417 417 ->addClass('project-board-wrapper'); 418 418 419 - $nav = $this->getProfileMenu(); 420 419 $divider = id(new PHUIListItemView()) 421 420 ->setType(PHUIListItemView::TYPE_DIVIDER); 422 421 $fullscreen = $this->buildFullscreenMenu(); ··· 439 438 )) 440 439 ->setPageObjectPHIDs(array($project->getPHID())) 441 440 ->setShowFooter(false) 442 - ->setNavigation($nav) 443 441 ->setCrumbs($crumbs) 444 442 ->addQuicksandConfig( 445 443 array(
+2 -1
src/applications/project/controller/PhabricatorProjectController.php
··· 119 119 foreach ($ancestors as $ancestor) { 120 120 $crumbs->addTextCrumb( 121 121 $ancestor->getName(), 122 - $ancestor->getURI()); 122 + $ancestor->getProfileURI() 123 + ); 123 124 } 124 125 } 125 126
+5
src/applications/project/storage/PhabricatorProject.php
··· 367 367 return "/project/view/{$id}/"; 368 368 } 369 369 370 + public function getProfileURI() { 371 + $id = $this->getID(); 372 + return "/project/profile/{$id}/"; 373 + } 374 + 370 375 public function save() { 371 376 if (!$this->getMailKey()) { 372 377 $this->setMailKey(Filesystem::readRandomCharacters(20));
-16
webroot/rsrc/css/phui/workboards/phui-workboard-color.css
··· 2 2 * @provides phui-workboard-color-css 3 3 */ 4 4 5 - .phui-workboard-color .phabricator-nav-content .phui-workboard-view-shadow { 6 - background-color: transparent; 7 - } 8 - 9 5 .phui-workboard-color .phui-crumbs-view { 10 6 background-color: rgba({$alphagrey},.15); 11 7 border: none; ··· 28 24 29 25 .phui-workboard-color .phui-workpanel-view .phui-box-grey { 30 26 background-color: rgba({$alphawhite},.6); 31 - } 32 - 33 - body.phui-workboard-color .phui-profile-menu .phabricator-side-menu { 34 - background-color: rgba({$alphagrey},.3); 35 - } 36 - 37 - body.phui-workboard-color .phabricator-side-menu .phui-profile-menu-footer-1 { 38 - background-color: transparent; 39 - } 40 - 41 - .phui-workboard-color .phui-profile-menu .phabricator-side-menu { 42 - box-shadow: none; 43 27 } 44 28 45 29 .phui-workboard-color-preview {
+3 -19
webroot/rsrc/css/phui/workboards/phui-workboard.css
··· 19 19 left: 0; 20 20 right: 0; 21 21 padding: 16px; 22 - background-color: #fff; 23 22 } 24 23 25 24 .phui-workboard-view-shadow::-webkit-scrollbar { ··· 30 29 31 30 .phui-workboard-view-shadow::-webkit-scrollbar-thumb { 32 31 background: {$lightbluetext}; 33 - } 34 - 35 - .device-desktop .project-board-wrapper .phui-workboard-view-shadow { 36 - left: {$menu.profile.width}; 37 - } 38 - 39 - .device-desktop .phui-profile-menu-collapsed .project-board-wrapper 40 - .phui-workboard-view-shadow { 41 - left: {$menu.profile.width.collapsed}; 42 32 } 43 33 44 34 !print .project-board-wrapper .phui-workboard-view-shadow { ··· 75 65 display: none; 76 66 } 77 67 78 - .device-desktop .phui-workboard-fullscreen .phui-profile-menu 79 - .phui-workboard-view-shadow { 80 - top: 35px; 81 - left: 0; 68 + .device-desktop .phui-workboard-fullscreen .phui-workboard-view-shadow { 69 + top: 35px; 70 + left: 0; 82 71 } 83 72 84 73 .device-desktop .phui-workboard-fullscreen .phui-workpanel-body-content { 85 74 max-height: calc(100vh - 120px); 86 - } 87 - 88 - .device-desktop .phui-workboard-fullscreen .phui-profile-menu 89 - .phabricator-nav-local { 90 - display: none; 91 75 } 92 76 93 77 .device .phui-workboard-expand-icon {