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

Make ActionList on PHUIDocumentView always a dropdown menu

Summary: Gives back 160px of document space, makes Phriction easier to read. Moves ActionList into menu

Test Plan: Review Phriction Actions Menu, Edit Document, etc. Test mobile, tablet, desktop breakpoints.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

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

+15 -27
+5 -5
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => '58063506', 10 + 'core.pkg.css' => '5ec98613', 11 11 'core.pkg.js' => '6a4f677f', 12 12 'darkconsole.pkg.js' => '8ab24e01', 13 13 'differential.pkg.css' => '3500921f', ··· 123 123 'rsrc/css/phui/calendar/phui-calendar-month.css' => 'a92e47d2', 124 124 'rsrc/css/phui/calendar/phui-calendar.css' => '8675968e', 125 125 'rsrc/css/phui/phui-action-header-view.css' => '89c497e7', 126 - 'rsrc/css/phui/phui-action-list.css' => 'c5f7a8c5', 126 + 'rsrc/css/phui/phui-action-list.css' => '4d1fe90a', 127 127 'rsrc/css/phui/phui-action-panel.css' => '3ee9afd5', 128 128 'rsrc/css/phui/phui-box.css' => '7b3a2eed', 129 129 'rsrc/css/phui/phui-button.css' => '53f55a72', 130 130 'rsrc/css/phui/phui-crumbs-view.css' => '594d719e', 131 - 'rsrc/css/phui/phui-document.css' => 'aa714c6d', 131 + 'rsrc/css/phui/phui-document.css' => 'ffaf9eb9', 132 132 'rsrc/css/phui/phui-feed-story.css' => 'c9f3a0b5', 133 133 'rsrc/css/phui/phui-fontkit.css' => '1fa79503', 134 134 'rsrc/css/phui/phui-form-view.css' => '28062c92', ··· 712 712 'paste-css' => 'eb997ddd', 713 713 'path-typeahead' => 'f7fc67ec', 714 714 'people-profile-css' => '25970776', 715 - 'phabricator-action-list-view-css' => 'c5f7a8c5', 715 + 'phabricator-action-list-view-css' => '4d1fe90a', 716 716 'phabricator-application-launch-view-css' => '16ca323f', 717 717 'phabricator-busy' => '59a7976a', 718 718 'phabricator-chatlog-css' => '852140ff', ··· 781 781 'phui-calendar-list-css' => 'c1d0ca59', 782 782 'phui-calendar-month-css' => 'a92e47d2', 783 783 'phui-crumbs-view-css' => '594d719e', 784 - 'phui-document-view-css' => 'aa714c6d', 784 + 'phui-document-view-css' => 'ffaf9eb9', 785 785 'phui-feed-story-css' => 'c9f3a0b5', 786 786 'phui-font-icon-base-css' => '3dad2ae3', 787 787 'phui-fontkit-css' => '1fa79503',
+2 -13
src/applications/phriction/controller/PhrictionDocumentController.php
··· 205 205 $actions->setID($action_id); 206 206 207 207 $page_content = id(new PHUIDocumentView()) 208 - ->setOffset(true) 209 208 ->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS) 210 209 ->setHeader($header) 211 210 ->setActionListID($action_id) ··· 218 217 $core_content, 219 218 )); 220 219 221 - $core_page = phutil_tag( 222 - 'div', 223 - array( 224 - 'class' => 'phriction-offset', 225 - ), 226 - array( 227 - $page_content, 228 - $children, 229 - )); 230 - 231 220 return $this->buildApplicationPage( 232 221 array( 233 222 $crumbs->render(), 234 - $core_page, 223 + $page_content, 224 + $children, 235 225 ), 236 226 array( 237 227 'pageObjects' => array($document->getPHID()), ··· 442 432 ); 443 433 444 434 return id(new PHUIDocumentView()) 445 - ->setOffset(true) 446 435 ->appendChild($content); 447 436 } 448 437
+3 -1
webroot/rsrc/css/phui/phui-action-list.css
··· 21 21 display: block; 22 22 } 23 23 24 - .device .phabricator-action-list-view.phabricator-action-list-toggle { 24 + .device .phabricator-action-list-view.phabricator-action-list-toggle, 25 + .device-desktop .phui-document-content 26 + .phabricator-action-list-view.phabricator-action-list-toggle { 25 27 display: block; 26 28 width: 200px; 27 29 border: 1px solid {$lightblueborder};
+5 -8
webroot/rsrc/css/phui/phui-document.css
··· 115 115 padding: 16px; 116 116 } 117 117 118 + .phui-document-view .phui-header-action-links .phui-mobile-menu { 119 + display: block; 120 + } 121 + 118 122 .device-phone .phui-document-content .phabricator-remarkup { 119 123 padding: 8px; 120 124 } 121 125 122 126 .device-desktop .phui-document-content .phabricator-action-list-view { 123 - position: absolute; 124 - top: 16px; 125 - right: -160px; 126 - float: none; 127 - border-radius: 0; 128 - box-shadow: none; 129 - border: none; 130 - width: 160px; 127 + display: none; 131 128 } 132 129 133 130 .device-phone .phui-document-content .phabricator-remarkup-toc {