discourse/plugins
Joffrey JAFFEUX 897518e874
FIX: ensures chat panel can't have an invalid width (#27876)
Prior to this fix the following sequence would cause an overflow:

- open a thread
- expand thread panel to maximum width
- close panel
- reduce window width
- open thread again
- 💥

The fix is now ensuring that we never use or set a width which would cause the main panel + side panel to be larger than the chat container. We also removed the service as it was overkill for this case and it's easier to have all the implementation at one place.

This commit also uses JS animation api to set the width of the panel.

<!-- NOTE: All pull requests should have tests (rspec in Ruby, qunit in JavaScript). If your code does not include test coverage, please include an explanation of why it was omitted. -->
2024-07-11 20:27:30 +02:00
..
automation Update translations (#27790) 2024-07-09 23:12:03 +02:00
chat FIX: ensures chat panel can't have an invalid width (#27876) 2024-07-11 20:27:30 +02:00
checklist FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
discourse-details FIX: allow quote-less details BBCode 2024-06-24 14:16:36 +02:00
discourse-lazy-videos Update translations (#27680) 2024-07-02 16:42:56 +02:00
discourse-local-dates FIX: BBCode tag parser 2024-06-18 10:47:18 +02:00
discourse-narrative-bot Update translations 2024-06-28 16:10:06 +02:00
discourse-presence FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
footnote FIX: Inline footnotes doesn’t work in the table at fullscreen (#27686) 2024-07-03 18:52:36 +08:00
poll FIX: Poll: Show gear button only when there is more than one dropdown item (#27775) 2024-07-11 11:19:04 +08:00
spoiler-alert FIX: quoting a spoiler 2024-05-28 19:24:52 +02:00
styleguide FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00