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

Restrict PropertyListView width to just DocumentProView

Summary: Fixes T10409. Long term need to build a proper "PageEngine" of sorts for layouts not needing special magic. For now this just affects a few applications.

Test Plan: View Diffusion, Phriction, Phame, Legalpad, Diviner.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10409

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

+19 -9
+4 -4
resources/celerity/map.php
··· 81 81 'rsrc/css/application/owners/owners-path-editor.css' => '2f00933b', 82 82 'rsrc/css/application/paste/paste.css' => 'a5157c48', 83 83 'rsrc/css/application/people/people-profile.css' => '2473d929', 84 - 'rsrc/css/application/phame/phame.css' => '4ca6fd6c', 84 + 'rsrc/css/application/phame/phame.css' => '737792d6', 85 85 'rsrc/css/application/pholio/pholio-edit.css' => '3ad9d1ee', 86 86 'rsrc/css/application/pholio/pholio-inline-comments.css' => '8e545e49', 87 87 'rsrc/css/application/pholio/pholio.css' => 'ca89d380', ··· 127 127 'rsrc/css/phui/phui-button.css' => 'edf464e9', 128 128 'rsrc/css/phui/phui-chart.css' => '6bf6f78e', 129 129 'rsrc/css/phui/phui-crumbs-view.css' => '79d536e5', 130 - 'rsrc/css/phui/phui-document-pro.css' => 'a8872307', 130 + 'rsrc/css/phui/phui-document-pro.css' => '92d5b648', 131 131 'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf', 132 132 'rsrc/css/phui/phui-document.css' => '9c71d2bf', 133 133 'rsrc/css/phui/phui-feed-story.css' => '04aec08f', ··· 790 790 'phabricator-uiexample-reactor-sendclass' => '1def2711', 791 791 'phabricator-uiexample-reactor-sendproperties' => 'b1f0ccee', 792 792 'phabricator-zindex-css' => '5b6fcf3f', 793 - 'phame-css' => '4ca6fd6c', 793 + 'phame-css' => '737792d6', 794 794 'pholio-css' => 'ca89d380', 795 795 'pholio-edit-css' => '3ad9d1ee', 796 796 'pholio-inline-comments-css' => '8e545e49', ··· 812 812 'phui-crumbs-view-css' => '79d536e5', 813 813 'phui-document-summary-view-css' => '9ca48bdf', 814 814 'phui-document-view-css' => '9c71d2bf', 815 - 'phui-document-view-pro-css' => 'a8872307', 815 + 'phui-document-view-pro-css' => '92d5b648', 816 816 'phui-feed-story-css' => '04aec08f', 817 817 'phui-font-icon-base-css' => 'ecbbb4c2', 818 818 'phui-fontkit-css' => '9cda225e',
+2
src/applications/diviner/controller/DivinerAtomController.php
··· 238 238 $document->setToc($side); 239 239 } 240 240 241 + $prop_list = phutil_tag_div('phui-document-view-pro-box', $prop_list); 242 + 241 243 return $this->buildApplicationPage( 242 244 array( 243 245 $crumbs,
+1
src/applications/phame/controller/post/PhamePostViewController.php
··· 136 136 137 137 $document->setFoot($next_view); 138 138 $crumbs = $this->buildApplicationCrumbs(); 139 + $properties = phutil_tag_div('phui-document-view-pro-box', $properties); 139 140 140 141 $page = $this->newPage() 141 142 ->setTitle($post->getTitle())
+1
src/applications/phriction/controller/PhrictionDocumentController.php
··· 218 218 $prop_list = new PHUIPropertyGroupView(); 219 219 $prop_list->addPropertyList($properties); 220 220 } 221 + $prop_list = phutil_tag_div('phui-document-view-pro-box', $prop_list); 221 222 222 223 $page_content = id(new PHUIDocumentViewPro()) 223 224 ->setHeader($header)
+1 -2
webroot/rsrc/css/application/phame/phame.css
··· 30 30 position: absolute; 31 31 } 32 32 33 - .phame-blog-description + .phui-property-list-section { 33 + .phame-blog-description + .phui-document-view-pro-box { 34 34 border-top: 1px solid rgba({$alphablue}, 0.20); 35 - padding-top: 16px; 36 35 } 37 36 38 37 .phame-home-view .phui-document-view.phui-document-view-pro {
+10 -3
webroot/rsrc/css/phui/phui-document-pro.css
··· 20 20 margin: 0 auto; 21 21 } 22 22 23 - .phui-property-list-section { 24 - max-width: 800px; 23 + .device .phui-document-view-pro-box { 24 + margin: 0 8px; 25 + } 26 + 27 + .phui-document-view-pro-box .phui-property-list-section { 25 28 margin: 16px auto; 26 29 } 27 30 28 - .device .phui-property-list-section { 31 + .device .phui-document-view-pro-box .phui-property-list-section { 29 32 margin: 0 8px 16px; 33 + } 34 + 35 + .device .phui-document-view-pro-box .phui-property-list-container { 36 + padding: 24px 0 0 0; 30 37 } 31 38 32 39 .device-phone .phui-document-view.phui-document-view-pro {