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

CSS: Do not wrap policy-header-callout content in phui-header-subheader

Summary:
On small screens, the view policy tag in the page subheader (e.g. "Public", "All Users", "Custom Policy", "Administrators") can get wrapped across three lines.
Avoid that and keep the tag on one line.

Closes T16287

Test Plan:
Look at tags in subheaders on object pages in all three different CSS layouts that Phorge offers, ideally with "long" tags
* http://phorge.localhost/p/user/ (e.g. with a user who also has MFA enabled)
* http://phorge.localhost/diffusion/1/
* http://phorge.localhost/book/flavor/
* http://phorge.localhost/T1 (e.g. with Story Point tags also enabled)
* http://phorge.localhost/D1
* http://phorge.localhost/phame/blog/view/1/
* http://phorge.localhost/w/somepage/
* http://phorge.localhost/book/dev/class/PhorgeI18nTestCase/#method/key (Diviner; the "Inherited" tag uses this CSS)
* http://phorge.localhost/M1
* http://phorge.localhost/F1
* http://phorge.localhost/B1
* http://phorge.localhost/C1
* http://phorge.localhost/uiexample/view/PHUIBoxExample/ ("Fancy Box" example at the bottom)

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16287

Differential Revision: https://we.phorge.it/D26736

+19 -13
+9 -9
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => 'b2d6f4b8', 11 11 'conpherence.pkg.js' => '020aebcf', 12 - 'core.pkg.css' => 'f5243f80', 12 + 'core.pkg.css' => '8ee41b37', 13 13 'core.pkg.js' => '83c66b30', 14 14 'dark-console.pkg.js' => '187792c2', 15 15 'differential.pkg.css' => '0dac8831', ··· 142 142 'rsrc/css/phui/phui-crumbs-view.css' => '30342804', 143 143 'rsrc/css/phui/phui-curtain-object-ref-view.css' => '73b0e59c', 144 144 'rsrc/css/phui/phui-curtain-view.css' => '68c5efb6', 145 - 'rsrc/css/phui/phui-document-pro.css' => 'c3211f4e', 145 + 'rsrc/css/phui/phui-document-pro.css' => '6db0e0b6', 146 146 'rsrc/css/phui/phui-document-summary.css' => 'b068eed1', 147 147 'rsrc/css/phui/phui-document.css' => 'a9154763', 148 148 'rsrc/css/phui/phui-feed-story.css' => '1dd2e4c0', ··· 151 151 'rsrc/css/phui/phui-form.css' => '0ce5b5b8', 152 152 'rsrc/css/phui/phui-formation-view.css' => 'b172a0b3', 153 153 'rsrc/css/phui/phui-head-thing.css' => 'd7f293df', 154 - 'rsrc/css/phui/phui-header-view.css' => 'b71a7a1b', 154 + 'rsrc/css/phui/phui-header-view.css' => '521ef411', 155 155 'rsrc/css/phui/phui-hovercard.css' => '7ffb4e0c', 156 156 'rsrc/css/phui/phui-icon-set-selector.css' => '19e0253b', 157 157 'rsrc/css/phui/phui-icon.css' => 'e790b94e', ··· 170 170 'rsrc/css/phui/phui-segment-bar-view.css' => '5166b370', 171 171 'rsrc/css/phui/phui-spacing.css' => 'b05cadc3', 172 172 'rsrc/css/phui/phui-status.css' => '293b5dad', 173 - 'rsrc/css/phui/phui-tag-view.css' => 'eb17b97f', 173 + 'rsrc/css/phui/phui-tag-view.css' => 'f5994dd2', 174 174 'rsrc/css/phui/phui-timeline-view.css' => '1ccbf191', 175 - 'rsrc/css/phui/phui-two-column-view.css' => '54fb9794', 175 + 'rsrc/css/phui/phui-two-column-view.css' => 'f8db54d6', 176 176 'rsrc/css/phui/workboards/phui-workboard-color.css' => '27fbe0ac', 177 177 'rsrc/css/phui/workboards/phui-workboard.css' => '269c93f8', 178 178 'rsrc/css/phui/workboards/phui-workcard.css' => 'a6c585d5', ··· 770 770 'phui-curtain-view-css' => '68c5efb6', 771 771 'phui-document-summary-view-css' => 'b068eed1', 772 772 'phui-document-view-css' => 'a9154763', 773 - 'phui-document-view-pro-css' => 'c3211f4e', 773 + 'phui-document-view-pro-css' => '6db0e0b6', 774 774 'phui-feed-story-css' => '1dd2e4c0', 775 775 'phui-font-icon-base-css' => 'b7608e58', 776 776 'phui-fontkit-css' => '1ec937e5', ··· 778 778 'phui-form-view-css' => '029b1ef9', 779 779 'phui-formation-view-css' => 'b172a0b3', 780 780 'phui-head-thing-view-css' => 'd7f293df', 781 - 'phui-header-view-css' => 'b71a7a1b', 781 + 'phui-header-view-css' => '521ef411', 782 782 'phui-hovercard' => '6199f752', 783 783 'phui-hovercard-list' => 'de4b4919', 784 784 'phui-hovercard-view-css' => '7ffb4e0c', ··· 806 806 'phui-segment-bar-view-css' => '5166b370', 807 807 'phui-spacing-css' => 'b05cadc3', 808 808 'phui-status-list-view-css' => '293b5dad', 809 - 'phui-tag-view-css' => 'eb17b97f', 809 + 'phui-tag-view-css' => 'f5994dd2', 810 810 'phui-theme-css' => '35883b37', 811 811 'phui-timeline-view-css' => '1ccbf191', 812 - 'phui-two-column-view-css' => '54fb9794', 812 + 'phui-two-column-view-css' => 'f8db54d6', 813 813 'phui-workboard-color-css' => '27fbe0ac', 814 814 'phui-workboard-view-css' => '269c93f8', 815 815 'phui-workcard-view-css' => 'a6c585d5',
+1 -2
webroot/rsrc/css/phui/phui-document-pro.css
··· 218 218 } 219 219 220 220 .device-phone .phui-document-view-pro .phui-header-subheader { 221 - display: block; 222 - padding: 8px 0 0 0; 221 + display: flex; 223 222 } 224 223 225 224 .phui-document-view-pro .phui-info-view {
+4 -1
webroot/rsrc/css/phui/phui-header-view.css
··· 189 189 font-weight: normal; 190 190 font-size: {$biggerfontsize}; 191 191 margin-top: 8px; 192 + display: flex; 193 + flex-wrap: wrap; 194 + align-items: center; 192 195 } 193 196 194 197 .phui-header-subheader .phui-icon-view { ··· 213 216 border-radius: 3px; 214 217 background: rgba({$alphablue}, 0.1); 215 218 margin-right: 8px; 219 + margin-bottom: 8px; 216 220 border-color: transparent; 217 - line-height: 28px; 218 221 } 219 222 220 223
+4
webroot/rsrc/css/phui/phui-tag-view.css
··· 185 185 font-size: 12px; 186 186 } 187 187 188 + .phui-header-subheader > .phui-tag-view.phui-tag-type-shade { 189 + margin-bottom: 8px; 190 + } 191 + 188 192 189 193 /* - Slim Tags ----------------------------------------------------------------- 190 194
+1 -1
webroot/rsrc/css/phui/phui-two-column-view.css
··· 51 51 } 52 52 53 53 .device .phui-two-column-view .phui-two-column-header .phui-header-shell { 54 - padding: 12px 12px 16px; 54 + padding: 12px 12px 12px; 55 55 } 56 56 57 57 .phui-two-column-header .phui-header-subheader {