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

Remove orphan CSS selectors in core/remarkup.css

Summary:
* `aphront-panel-preview`
** Added in https://we.phorge.it/rP3f11c8a602f0a7567f8a51bc3b1a2dddbd46eec2, usage removed in https://we.phorge.it/rP6bfb101aff20a1f1f0435178e2de044a945676ba and in https://we.phorge.it/rPc05306d746d7e06e3f2a5eb712af89a616abfdc6 by deleting `src/applications/differential/view/DifferentialAddCommentView.php`
* `phabricator-remarkup-mention-disabled`
** Added in https://we.phorge.it/rP45c662e4f795fdd4032167ee8432842b6db8024f, usage removed in https://we.phorge.it/rPf2828481aad6717897dcb211735d59ec0e6ad056 from `src/applications/people/remarkup/PhabricatorRemarkupRuleMention.php`
* `phabricator-remarkup-mention-exists`
** Added in https://we.phorge.it/rP405b05a49014eede90c098a8f9af1e41f5cd76dd, usage removed in https://we.phorge.it/rPf2828481aad6717897dcb211735d59ec0e6ad056 from `src/applications/people/remarkup/PhabricatorRemarkupRuleMention.php`
* `phabricator-remarkup-toc`
** Added in https://we.phorge.it/rP5e486db59d651dc387035dd773891b9deff7d756, usage removed in https://we.phorge.it/rPbf227f77a5dc928f1380e4bc81059f83cfb96548 resp https://we.phorge.it/rPd3546f94c15f27bab707d44d6b8a40e2fdeef6a2
* `phabricator-remarkup-toc-header`
** Added in https://we.phorge.it/rP5e486db59d651dc387035dd773891b9deff7d756, usage removed in https://we.phorge.it/rPbf227f77a5dc928f1380e4bc81059f83cfb96548
* `remarkup-proxy-image`
** Added in https://we.phorge.it/rP03ebbccbc99fb47037ce84c0707d790af6f762c7, usage removed in https://we.phorge.it/rP9966af50dd5d670f151db6423000fee3836e87c6

Test Plan: Grep the code for each CSS selector (`grep --exclude="*.css" -R 'some-search-string' .`), also do partial searches, get no results.

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

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

+4 -63
+3 -3
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => '79a197f6', 11 11 'conpherence.pkg.js' => '020aebcf', 12 - 'core.pkg.css' => 'ed73eb65', 12 + 'core.pkg.css' => 'bb4f086c', 13 13 'core.pkg.js' => '63f896ec', 14 14 'dark-console.pkg.js' => '187792c2', 15 15 'differential.pkg.css' => 'db7c5008', ··· 104 104 'rsrc/css/application/tokens/tokens.css' => 'ce5a50bd', 105 105 'rsrc/css/application/uiexample/example.css' => '549e220b', 106 106 'rsrc/css/core/core.css' => '83d97073', 107 - 'rsrc/css/core/remarkup.css' => '90b42b95', 107 + 'rsrc/css/core/remarkup.css' => 'e2edb23d', 108 108 'rsrc/css/core/syntax.css' => '548567f6', 109 109 'rsrc/css/core/z-index.css' => '56fbe5ba', 110 110 'rsrc/css/diviner/diviner-shared.css' => '4bd263b0', ··· 773 773 'phabricator-object-selector-css' => 'ee77366f', 774 774 'phabricator-phtize' => '2f1db1ed', 775 775 'phabricator-prefab' => '5793d835', 776 - 'phabricator-remarkup-css' => '90b42b95', 776 + 'phabricator-remarkup-css' => 'e2edb23d', 777 777 'phabricator-remarkup-metadata' => 'e40c4991', 778 778 'phabricator-search-results-css' => '9ea70ace', 779 779 'phabricator-shaped-request' => '995f5102',
+1 -60
webroot/rsrc/css/core/remarkup.css
··· 241 241 color: {$darkbluetext}; 242 242 } 243 243 244 - .phabricator-remarkup img.remarkup-proxy-image { 245 - max-width: 640px; 246 - max-height: 640px; 247 - } 248 - 249 244 .phabricator-remarkup audio { 250 245 display: block; 251 246 margin: 16px auto; ··· 263 258 max-width: 95%; 264 259 } 265 260 266 - .phabricator-remarkup-mention-exists { 267 - font-weight: bold; 268 - background: #e6f3ff; 269 - } 270 - 271 - .phabricator-remarkup-mention-disabled { 272 - font-weight: bold; 273 - background: #dddddd; 274 - } 275 - 276 - .phui-remarkup-preview .phabricator-remarkup-mention-unknown, 277 - .aphront-panel-preview .phabricator-remarkup-mention-unknown { 261 + .phui-remarkup-preview .phabricator-remarkup-mention-unknown { 278 262 font-weight: bold; 279 263 background: #ffaaaa; 280 264 } ··· 322 306 .phabricator-remarkup .remarkup-note-word { 323 307 font-weight: bold; 324 308 color: {$darkbluetext}; 325 - } 326 - 327 - .phabricator-remarkup-toc { 328 - float: right; 329 - border-left: 1px solid {$lightblueborder}; 330 - background: {$page.content}; 331 - width: 160px; 332 - padding-left: 8px; 333 - margin: 0 0 4px 8px; 334 - } 335 - 336 - .phabricator-remarkup-toc-header { 337 - font-size: 13px; 338 - line-height: 13px; 339 - color: {$darkbluetext}; 340 - font-weight: bold; 341 - margin-bottom: 4px; 342 - } 343 - 344 - .phabricator-remarkup-toc ul { 345 - padding: 0; 346 - margin: 0; 347 - list-style: none; 348 - overflow: hidden; 349 - } 350 - 351 - .phabricator-remarkup-toc ul ul { 352 - margin: 0 0 0 8px; 353 - } 354 - 355 - .phabricator-remarkup-toc ul li { 356 - padding: 0; 357 - margin: 0; 358 - font-size: 12px; 359 - overflow: hidden; 360 - text-overflow: ellipsis; 361 - white-space: nowrap; 362 309 } 363 310 364 311 .phabricator-remarkup-embed-layout-right { ··· 526 473 527 474 line-break: anywhere; 528 475 overflow-wrap: anywhere; 529 - } 530 - 531 - body div.phabricator-remarkup.remarkup-has-toc 532 - .phabricator-remarkup-toc + .remarkup-header { 533 - margin-top: 0; 534 - padding-top: 0; 535 476 } 536 477 537 478 body .phabricator-standard-page div.phabricator-remarkup *:first-child,