@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 all crumbs to 240 max width

Summary: Ref T12270. Any project, badge, dashboard, etc, that uses names in crumbs can over generate a long title. Restrict to a sane but generous width.

Test Plan: Make a project with a really long name, test various crumb layouts, boards, tasks, desktop, mobile.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T12270

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

+7 -3
+3 -3
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => 'a520d619', 11 11 'conpherence.pkg.js' => '6249a1cf', 12 - 'core.pkg.css' => '0d7ecd3b', 12 + 'core.pkg.css' => 'dbd1023f', 13 13 'core.pkg.js' => '1fa7c0c5', 14 14 'darkconsole.pkg.js' => 'e7393ebb', 15 15 'differential.pkg.css' => '4815647b', ··· 139 139 'rsrc/css/phui/phui-cms.css' => '504b4b23', 140 140 'rsrc/css/phui/phui-comment-form.css' => '48fbd65d', 141 141 'rsrc/css/phui/phui-comment-panel.css' => 'f50152ad', 142 - 'rsrc/css/phui/phui-crumbs-view.css' => 'b743f73e', 142 + 'rsrc/css/phui/phui-crumbs-view.css' => '6ece3bbb', 143 143 'rsrc/css/phui/phui-curtain-view.css' => '947bf1a4', 144 144 'rsrc/css/phui/phui-document-pro.css' => 'f56738ed', 145 145 'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf', ··· 850 850 'phui-cms-css' => '504b4b23', 851 851 'phui-comment-form-css' => '48fbd65d', 852 852 'phui-comment-panel-css' => 'f50152ad', 853 - 'phui-crumbs-view-css' => 'b743f73e', 853 + 'phui-crumbs-view-css' => '6ece3bbb', 854 854 'phui-curtain-view-css' => '947bf1a4', 855 855 'phui-document-summary-view-css' => '9ca48bdf', 856 856 'phui-document-view-css' => 'c32e8dec',
+4
webroot/rsrc/css/phui/phui-crumbs-view.css
··· 48 48 .phui-crumb-view { 49 49 float: left; 50 50 padding: 8px 0; 51 + max-width: 240px; 52 + white-space: nowrap; 53 + overflow: hidden; 54 + text-overflow: ellipsis; 51 55 } 52 56 53 57 .device-phone .phui-crumb-view.phabricator-last-crumb .phui-crumb-name,