1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 12:42:43 +01:00
phorge-phorge/webroot/rsrc/css/application/conpherence
Valerio Bozzolan 5b90567f64 Persistent Chat: fix de-minimize misclick
Summary:
When the persistent chat is minimized to the bottom of your window, as mentioned in T15626,
the chat bar still has an invisible square area that does nothing if you click it by mistake:

{F2184778}

That area was reserved for the Settings Icon, that appears only if you de-minimize the chat.

The Settings Icon was toggled incorrectly from CSS. It was just hiding the Font Awesome icon,
(.fa-gear), instead of hiding its clickable container.

After this change, chat can be de-minimized even if you click in that specific evil spot.

Original credit to @roberto.urbani for the original troubleshooting and original patch.

Follow-up from: D25428

Closes T15626

Test Plan:
Show the Chat, then:

- when the chat is de-collapsed:
    - you see the Settings icon (as before)
    - you can click on the Settings Icon (as before)
    - it shows the Settings menu (as before)
- when the chat is collapsed:
    - you can click in whatever point, and it de-collapse (better than before)

Additionally, use the HTML inspector in your browser (`F12` from Firefox),
to double-check that now that `<li>` has display: none when the chat is collapsed.

Reviewers: O1 Blessed Committers, aklapper

Reviewed By: O1 Blessed Committers, aklapper

Subscribers: aklapper, tobiaswiese, Matthew, Cigaryno, roberto.urbani

Maniphest Tasks: T15626

Differential Revision: https://we.phorge.it/D25628
2024-05-09 13:56:18 +02:00
..
color.css Allow users to choo choo choose a room color 2017-04-20 14:30:59 -07:00
durable-column.css Persistent Chat: fix de-minimize misclick 2024-05-09 13:56:18 +02:00
header-pane.css Add an Experimental Dark Mode to Phabricator 2017-07-18 06:44:32 -07:00
menu.css Add an Experimental Dark Mode to Phabricator 2017-07-18 06:44:32 -07:00
message-pane.css CSS adjustments to Conpherence 2023-12-06 15:36:23 +00:00
notification.css Mobile: hide unuseful "Persistent Chat" checkbox 2023-06-09 14:47:34 +02:00
participant-pane.css Add an Experimental Dark Mode to Phabricator 2017-07-18 06:44:32 -07:00
transaction.css Add an Experimental Dark Mode to Phabricator 2017-07-18 06:44:32 -07:00