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

WIP

+56 -70
+35 -35
src/__celerity_resource_map__.php
··· 2621 2621 ), 2622 2622 'phabricator-main-menu-view' => 2623 2623 array( 2624 - 'uri' => '/res/acf54ce6/rsrc/css/application/base/main-menu-view.css', 2624 + 'uri' => '/res/a29dfe00/rsrc/css/application/base/main-menu-view.css', 2625 2625 'type' => 'css', 2626 2626 'requires' => 2627 2627 array( ··· 3227 3227 ), array( 3228 3228 'packages' => 3229 3229 array( 3230 - '6147bf7a' => 3230 + 'eab98f7c' => 3231 3231 array( 3232 3232 'name' => 'core.pkg.css', 3233 3233 'symbols' => ··· 3265 3265 30 => 'phabricator-filetree-view-css', 3266 3266 31 => 'phabricator-nav-view-css', 3267 3267 ), 3268 - 'uri' => '/res/pkg/6147bf7a/core.pkg.css', 3268 + 'uri' => '/res/pkg/eab98f7c/core.pkg.css', 3269 3269 'type' => 'css', 3270 3270 ), 3271 3271 '5b0b945b' => ··· 3453 3453 'reverse' => 3454 3454 array( 3455 3455 'aphront-attached-file-view-css' => '7839ae2d', 3456 - 'aphront-crumbs-view-css' => '6147bf7a', 3457 - 'aphront-dialog-view-css' => '6147bf7a', 3458 - 'aphront-error-view-css' => '6147bf7a', 3459 - 'aphront-form-view-css' => '6147bf7a', 3456 + 'aphront-crumbs-view-css' => 'eab98f7c', 3457 + 'aphront-dialog-view-css' => 'eab98f7c', 3458 + 'aphront-error-view-css' => 'eab98f7c', 3459 + 'aphront-form-view-css' => 'eab98f7c', 3460 3460 'aphront-headsup-action-list-view-css' => 'c904bbee', 3461 - 'aphront-headsup-view-css' => '6147bf7a', 3462 - 'aphront-list-filter-view-css' => '6147bf7a', 3463 - 'aphront-pager-view-css' => '6147bf7a', 3464 - 'aphront-panel-view-css' => '6147bf7a', 3465 - 'aphront-side-nav-view-css' => '6147bf7a', 3466 - 'aphront-table-view-css' => '6147bf7a', 3467 - 'aphront-tokenizer-control-css' => '6147bf7a', 3468 - 'aphront-tooltip-css' => '6147bf7a', 3469 - 'aphront-typeahead-control-css' => '6147bf7a', 3461 + 'aphront-headsup-view-css' => 'eab98f7c', 3462 + 'aphront-list-filter-view-css' => 'eab98f7c', 3463 + 'aphront-pager-view-css' => 'eab98f7c', 3464 + 'aphront-panel-view-css' => 'eab98f7c', 3465 + 'aphront-side-nav-view-css' => 'eab98f7c', 3466 + 'aphront-table-view-css' => 'eab98f7c', 3467 + 'aphront-tokenizer-control-css' => 'eab98f7c', 3468 + 'aphront-tooltip-css' => 'eab98f7c', 3469 + 'aphront-typeahead-control-css' => 'eab98f7c', 3470 3470 'differential-changeset-view-css' => 'c904bbee', 3471 3471 'differential-core-view-css' => 'c904bbee', 3472 3472 'differential-inline-comment-editor' => '7ecd31fa', ··· 3547 3547 'javelin-util' => 'db6d724d', 3548 3548 'javelin-vector' => 'db6d724d', 3549 3549 'javelin-workflow' => 'db6d724d', 3550 - 'lightbox-attachment-css' => '6147bf7a', 3550 + 'lightbox-attachment-css' => 'eab98f7c', 3551 3551 'maniphest-task-summary-css' => '7839ae2d', 3552 3552 'maniphest-transaction-detail-css' => '7839ae2d', 3553 - 'phabricator-app-buttons-css' => '6147bf7a', 3553 + 'phabricator-app-buttons-css' => 'eab98f7c', 3554 3554 'phabricator-busy' => '5b0b945b', 3555 3555 'phabricator-content-source-view-css' => 'c904bbee', 3556 - 'phabricator-core-buttons-css' => '6147bf7a', 3557 - 'phabricator-core-css' => '6147bf7a', 3558 - 'phabricator-directory-css' => '6147bf7a', 3556 + 'phabricator-core-buttons-css' => 'eab98f7c', 3557 + 'phabricator-core-css' => 'eab98f7c', 3558 + 'phabricator-directory-css' => 'eab98f7c', 3559 3559 'phabricator-drag-and-drop-file-upload' => '7ecd31fa', 3560 3560 'phabricator-dropdown-menu' => '5b0b945b', 3561 3561 'phabricator-file-upload' => '5b0b945b', 3562 - 'phabricator-filetree-view-css' => '6147bf7a', 3563 - 'phabricator-flag-css' => '6147bf7a', 3564 - 'phabricator-form-view-css' => '6147bf7a', 3565 - 'phabricator-header-view-css' => '6147bf7a', 3566 - 'phabricator-jump-nav' => '6147bf7a', 3562 + 'phabricator-filetree-view-css' => 'eab98f7c', 3563 + 'phabricator-flag-css' => 'eab98f7c', 3564 + 'phabricator-form-view-css' => 'eab98f7c', 3565 + 'phabricator-header-view-css' => 'eab98f7c', 3566 + 'phabricator-jump-nav' => 'eab98f7c', 3567 3567 'phabricator-keyboard-shortcut' => '5b0b945b', 3568 3568 'phabricator-keyboard-shortcut-manager' => '5b0b945b', 3569 - 'phabricator-main-menu-view' => '6147bf7a', 3569 + 'phabricator-main-menu-view' => 'eab98f7c', 3570 3570 'phabricator-menu-item' => '5b0b945b', 3571 - 'phabricator-nav-view-css' => '6147bf7a', 3571 + 'phabricator-nav-view-css' => 'eab98f7c', 3572 3572 'phabricator-notification' => '5b0b945b', 3573 - 'phabricator-notification-css' => '6147bf7a', 3574 - 'phabricator-notification-menu-css' => '6147bf7a', 3573 + 'phabricator-notification-css' => 'eab98f7c', 3574 + 'phabricator-notification-menu-css' => 'eab98f7c', 3575 3575 'phabricator-object-selector-css' => 'c904bbee', 3576 3576 'phabricator-paste-file-upload' => '5b0b945b', 3577 3577 'phabricator-prefab' => '5b0b945b', 3578 3578 'phabricator-project-tag-css' => '7839ae2d', 3579 - 'phabricator-remarkup-css' => '6147bf7a', 3579 + 'phabricator-remarkup-css' => 'eab98f7c', 3580 3580 'phabricator-shaped-request' => '7ecd31fa', 3581 - 'phabricator-standard-page-view' => '6147bf7a', 3581 + 'phabricator-standard-page-view' => 'eab98f7c', 3582 3582 'phabricator-textareautils' => '5b0b945b', 3583 3583 'phabricator-tooltip' => '5b0b945b', 3584 - 'phabricator-transaction-view-css' => '6147bf7a', 3585 - 'sprite-icon-css' => '6147bf7a', 3586 - 'syntax-highlighting-css' => '6147bf7a', 3584 + 'phabricator-transaction-view-css' => 'eab98f7c', 3585 + 'sprite-icon-css' => 'eab98f7c', 3586 + 'syntax-highlighting-css' => 'eab98f7c', 3587 3587 ), 3588 3588 ));
+20 -34
src/view/page/menu/PhabricatorMainMenuView.php
··· 50 50 51 51 $header_id = celerity_generate_unique_node_id(); 52 52 $menus = array(); 53 - 54 - $group = new PhabricatorMainMenuGroupView(); 55 - $group->addClass('phabricator-main-menu-group-logo'); 56 - $group->setCollapsible(false); 57 - 58 - $group->appendChild( 59 - phutil_render_tag( 60 - 'a', 61 - array( 62 - 'class' => 'phabricator-main-menu-logo', 63 - 'href' => '/', 64 - ), 65 - '')); 53 + $alerts = array(); 66 54 67 55 if (PhabricatorEnv::getEnvConfig('notification.enabled') && 68 56 $user->isLoggedIn()) { 69 57 list($menu, $dropdown) = $this->renderNotificationMenu(); 70 - $group->appendChild($menu); 58 + $alerts[] = $menu; 71 59 $menus[] = $dropdown; 72 60 } 73 61 74 - $group->appendChild( 75 - javelin_render_tag( 76 - 'a', 77 - array( 78 - 'class' => 'phabricator-main-menu-expand-button', 79 - 'sigil' => 'jx-toggle-class', 80 - 'meta' => array( 81 - 'map' => array( 82 - $header_id => 'phabricator-core-menu-expand', 83 - ), 84 - ), 85 - ), 86 - '')); 87 - $logo = $group->render(); 88 - 89 62 $phabricator_menu = $this->renderPhabricatorMenu(); 90 - // $menus[] = $this->renderApplicationMenu(); 91 - 92 63 93 - 94 - 95 - $actions = ''; 64 + if ($alerts) { 65 + $alerts = phutil_render_tag( 66 + 'div', 67 + array( 68 + 'class' => 'phabricator-main-menu-alerts', 69 + ), 70 + self::renderSingleView($alerts)); 71 + } 96 72 97 73 $application_menu = $this->getApplicationMenu(); 98 74 if ($application_menu) { ··· 303 279 304 280 305 281 return $view; 282 + } 283 + 284 + private function renderPhabricatorLogo() { 285 + return phutil_render_tag( 286 + 'a', 287 + array( 288 + 'class' => 'phabricator-main-menu-logo', 289 + 'href' => '/', 290 + ), 291 + ''); 306 292 } 307 293 308 294 private function renderNotificationMenu() {
+1 -1
webroot/rsrc/css/application/base/main-menu-view.css
··· 1 - <<</** 1 + /** 2 2 * @provides phabricator-main-menu-view 3 3 */ 4 4