0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 23:04:22 +08:00
discourse/plugins/chat/test/javascripts
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
..
acceptance FIX: Handle a member disabling chat in their preferences (#41805) 2026-07-17 16:21:12 +02:00
components UX: hide chat header buttons for collapsed drawer chat, change minimize icon (#42279) 2026-08-03 15:35:17 -04:00
helpers DEV: Remove unused chat pretender (#39405) 2026-04-21 12:43:14 +01:00
integration FIX: Handle a member disabling chat in their preferences (#41805) 2026-07-17 16:21:12 +02:00
unit UX: hide chat header buttons for collapsed drawer chat, change minimize icon (#42279) 2026-08-03 15:35:17 -04:00
chat-fixtures.js DEV: Replace Ember's deprecated mapBy with standard .map (#34963) 2025-09-26 12:59:35 -03:00