0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 18:09:26 +08:00
discourse/plugins/chat/spec
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
..
components/chat DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
fabricators FEATURE: Pin chat messages (#37985) 2026-02-23 22:00:16 +01:00
integration FEATURE: Add enable_discourse_workflows upcoming change (#41541) 2026-07-13 10:48:37 +10:00
jobs DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
lib DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
mailers DEV: bump simple email subject status to stable (#41285) 2026-06-30 18:18:57 +04:00
models FEATURE: Sticky bar for pinned messages in chat channels (#41091) 2026-08-02 11:40:44 -03:00
queries/chat Revert "FIX: Existing DM sends bypass direct-message group restrictions (#40405)" (#40561) 2026-06-04 15:00:45 +08:00
requests FIX: Add server-side check for chat_allow_archiving_channels in archive API (#42173) 2026-07-30 09:14:56 -05:00
serializer UX: improve livestream chat messaging (#41750) 2026-07-21 11:07:31 +10:00
services FEATURE: Sticky bar for pinned messages in chat channels (#41091) 2026-08-02 11:40:44 -03:00
support FEATURE: Pin chat messages (#37985) 2026-02-23 22:00:16 +01:00
system UX: hide chat header buttons for collapsed drawer chat, change minimize icon (#42279) 2026-08-03 15:35:17 -04:00
validators
plugin_helper.rb DEV: Enable some minor rubocop rules (#40094) 2026-05-19 15:29:38 +02:00
plugin_spec.rb FIX: show chat DM button when personal messages are restricted (#37920) 2026-02-19 12:37:25 +01:00