This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins
Roman Rizzi 82ac6a7eff
REFACTOR: Move post-send warnings into their own component.
Unfortunately, I couldn't refactor as much as I would like here. My original idea was the component to handle message bus subscriptions and callbacks to isolate post-send warnings from the `chat-live-pane` and `chat-message`. However, I couldn't make it work because we can't set the message ID inmediately after sending a message, meaning we won't be able to subscribe to the channel in time and miss the update. For this reason, we can't break the current design where the pane acts as a message broker, which dispatches updates to specific messages.

The change accomplished two things. It simplifies the warning MB message homogenizing all the different warning types into a single array, and renders a component that know how to translate them without needing multiple functions like the old implementation.
2023-02-15 08:37:36 -03:00
..
chat REFACTOR: Move post-send warnings into their own component. 2023-02-15 08:37:36 -03:00
discourse-details DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
discourse-local-dates DEV: Correct hbs prettier violations 2023-02-02 13:03:11 +00:00
discourse-narrative-bot Update translations (#20183) 2023-02-06 16:49:27 +01:00
discourse-presence DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
lazy-yt FIX: lazy_yt_enabled doesn't affect the engine (#19997) 2023-01-25 12:40:57 -03:00
poll Update translations (#19974) 2023-01-24 16:32:34 +01:00
styleguide UX: Easily toggle badges in admin badge list (#20225) 2023-02-09 11:36:27 -08:00