0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 18:46:18 +08:00
discourse/plugins/chat/assets
Kris a7bbcfe485
UX: hide chat header buttons for collapsed drawer chat, change minimize icon (#42279)
This simplifies the appearance of the drawer by hiding the header
buttons when collapsed, some of them didn't even work in this state


before
<img width="400" alt="image"
src="https://github.com/user-attachments/assets/ec542d3c-8a9b-47e3-9a83-1ed86826de5c"
/>


after
<img width="400" alt="image"
src="https://github.com/user-attachments/assets/5dd2ebe8-0ea7-4987-b37d-42d4280afa6c"
/>

clicking anywhere other than the x will expand the chat again, and when
using keyboard nav we still show the expand button as an accessibility
affordance:

<img width="400" alt="image"
src="https://github.com/user-attachments/assets/9d40b834-c47b-48ec-b312-3d8241e39969"
/>

the minimize icon change is similar to what we did for the composer in
https://github.com/discourse/discourse/issues/42017
2026-08-03 15:35:17 -04:00
..
javascripts UX: hide chat header buttons for collapsed drawer chat, change minimize icon (#42279) 2026-08-03 15:35:17 -04:00
service-worker FEATURE: Restore web push quick reply for chat messages (#39614) 2026-04-29 12:36:03 -03:00
stylesheets UX: hide chat header buttons for collapsed drawer chat, change minimize icon (#42279) 2026-08-03 15:35:17 -04:00