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

Mobile: hide unuseful "Persistent Chat" checkbox

Summary:
On mobile devices like tablets or toasters the "Persistent Chat"
floating widget is already hidden.

So, the related checkbox available from the top navigation bar
is just confusing on tablet and mobile devices / toasters, since
that nice checkbox does nothing there.

On mobile and tablet, this is the graphical change:

| Before | After |
|----------|-----------|
|{F281239} | {F281235} |

This change do not change anything for desktop devices.
So, on desktop, that checkbox is obviously still visible.

Closes T15240

Test Plan:
- test on tablet and below: now the checkbox should be not visible
- test on desktop: the checkbox should still be visible

Reviewers: O1 Blessed Committers, Cigaryno, bfs, speck

Reviewed By: O1 Blessed Committers, Cigaryno, bfs, speck

Subscribers: avivey, bfs, dcog, chris, speck, tobiaswiese, Matthew, Cigaryno

Maniphest Tasks: T15240

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

+8 -3
+3 -3
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'conpherence.pkg.css' => '0e3cf785', 10 + 'conpherence.pkg.css' => '76ed87e3', 11 11 'conpherence.pkg.js' => '020aebcf', 12 12 'core.pkg.css' => '0cb47e9d', 13 13 'core.pkg.js' => '2eeda9e0', ··· 53 53 'rsrc/css/application/conpherence/header-pane.css' => 'c9a3db8e', 54 54 'rsrc/css/application/conpherence/menu.css' => '67f4680d', 55 55 'rsrc/css/application/conpherence/message-pane.css' => 'd244db1e', 56 - 'rsrc/css/application/conpherence/notification.css' => '6a3d4e58', 56 + 'rsrc/css/application/conpherence/notification.css' => '85c48def', 57 57 'rsrc/css/application/conpherence/participant-pane.css' => '69e0058a', 58 58 'rsrc/css/application/conpherence/transaction.css' => '3a3f5e7e', 59 59 'rsrc/css/application/contentsource/content-source-view.css' => 'cdf0d579', ··· 554 554 'conpherence-header-pane-css' => 'c9a3db8e', 555 555 'conpherence-menu-css' => '67f4680d', 556 556 'conpherence-message-pane-css' => 'd244db1e', 557 - 'conpherence-notification-css' => '6a3d4e58', 557 + 'conpherence-notification-css' => '85c48def', 558 558 'conpherence-participant-pane-css' => '69e0058a', 559 559 'conpherence-thread-manager' => 'aec8e38c', 560 560 'conpherence-transaction-css' => '3a3f5e7e',
+5
webroot/rsrc/css/application/conpherence/notification.css
··· 84 84 font-weight: normal; 85 85 color: {$greytext}; 86 86 } 87 + 88 + /* On small devices the Persistent Chat is already hidden, and so its option */ 89 + .device .phabricator-notification-header .persistent-option { 90 + display: none; 91 + }