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

Fancier user menu

Summary: Builds out more UI to reinforce just who you are in this world... A perfect person.

Test Plan:
Look at myself a lot.

{F2435202}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+48 -9
+6 -6
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => '0b64e988', 11 11 'conpherence.pkg.js' => '6249a1cf', 12 - 'core.pkg.css' => '85f51b68', 12 + 'core.pkg.css' => 'e75e4f9d', 13 13 'core.pkg.js' => 'f70cb91f', 14 14 'darkconsole.pkg.js' => 'e7393ebb', 15 15 'differential.pkg.css' => '9535a7e6', ··· 34 34 'rsrc/css/aphront/typeahead.css' => 'd4f16145', 35 35 'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af', 36 36 'rsrc/css/application/auth/auth.css' => '0877ed6e', 37 - 'rsrc/css/application/base/main-menu-view.css' => '7bc94bc2', 37 + 'rsrc/css/application/base/main-menu-view.css' => '8eac4166', 38 38 'rsrc/css/application/base/notification-menu.css' => '6a697e43', 39 39 'rsrc/css/application/base/phabricator-application-launch-view.css' => '95351601', 40 40 'rsrc/css/application/base/phui-theme.css' => '798c69b8', ··· 798 798 'phabricator-flag-css' => 'bba8f811', 799 799 'phabricator-keyboard-shortcut' => '1ae869f2', 800 800 'phabricator-keyboard-shortcut-manager' => '4a021c10', 801 - 'phabricator-main-menu-view' => '7bc94bc2', 801 + 'phabricator-main-menu-view' => '8eac4166', 802 802 'phabricator-nav-view-css' => 'b29426e9', 803 803 'phabricator-notification' => 'ccf1cbf8', 804 804 'phabricator-notification-css' => '3f6c89c9', ··· 1502 1502 'owners-path-editor', 1503 1503 'javelin-behavior', 1504 1504 ), 1505 - '7bc94bc2' => array( 1506 - 'phui-theme-css', 1507 - ), 1508 1505 '7cbe244b' => array( 1509 1506 'javelin-install', 1510 1507 'javelin-util', ··· 1617 1614 'javelin-dom', 1618 1615 'javelin-stratcom', 1619 1616 'javelin-util', 1617 + ), 1618 + '8eac4166' => array( 1619 + 'phui-theme-css', 1620 1620 ), 1621 1621 '8ff5e24c' => array( 1622 1622 'javelin-behavior',
+18 -2
src/applications/home/application/PhabricatorHomeApplication.php
··· 86 86 PhabricatorUser $viewer, 87 87 $application) { 88 88 89 + $person_to_show = id(new PHUIObjectItemView()) 90 + ->setObjectName($viewer->getRealName()) 91 + ->setSubHead($viewer->getUsername()) 92 + ->setImageURI($viewer->getProfileImageURI()); 93 + 94 + $user_view = id(new PHUIObjectItemListView()) 95 + ->setViewer($viewer) 96 + ->setFlush(true) 97 + ->setSimple(true) 98 + ->addItem($person_to_show) 99 + ->addClass('phabricator-core-user-profile-object'); 100 + 89 101 $view = id(new PhabricatorActionListView()) 90 102 ->setViewer($viewer); 91 103 92 104 // User Menu 93 105 $view->addAction( 94 106 id(new PhabricatorActionView()) 95 - ->setName($viewer->getRealName()) 96 - ->setLabel(true)); 107 + ->appendChild($user_view)); 108 + 109 + $view->addAction( 110 + id(new PhabricatorActionView()) 111 + ->setType(PhabricatorActionView::TYPE_DIVIDER)); 97 112 98 113 $view->addAction( 99 114 id(new PhabricatorActionView()) ··· 131 146 ->setName(pht('Log Out %s', $viewer->getUsername())) 132 147 ->addSigil('logout-item') 133 148 ->setHref('/logout/') 149 + ->setColor(PhabricatorActionView::RED) 134 150 ->setWorkflow(true)); 135 151 136 152 return $view;
+1 -1
src/view/layout/PhabricatorActionView.php
··· 284 284 'class' => 'phabricator-action-view-item', 285 285 'sigil' => $sigils, 286 286 ), 287 - array($icon, $this->name)); 287 + array($icon, $this->name, $this->renderChildren())); 288 288 } 289 289 290 290 $classes = array();
+23
webroot/rsrc/css/application/base/main-menu-view.css
··· 627 627 margin: 3px 0 0 0; 628 628 } 629 629 630 + ul.phabricator-core-user-profile-object .phui-oi-objname { 631 + font-size: {$biggestfontsize}; 632 + } 633 + 634 + ul.phabricator-core-user-profile-object li.phui-oi, 635 + ul.phabricator-core-user-profile-object .phui-oi-name, 636 + ul.phabricator-core-user-profile-object .phui-oi-content, 637 + ul.phabricator-core-user-profile-object .phui-oi-subhead { 638 + padding: 0; 639 + margin: 0; 640 + } 641 + 642 + ul.phabricator-core-user-profile-object.phui-oi-list-simple .phui-oi-image { 643 + height: 36px; 644 + width: 36px; 645 + } 646 + 647 + ul.phabricator-core-user-profile-object.phui-oi-list-simple 648 + .phui-oi-content-box { 649 + margin-left: 44px; 650 + } 651 + 652 + 630 653 631 654 /* - Print --------------------------------------------------------------------- 632 655 */