FIX: various mobile chat improvements (#22132)

- FIX: improves reactions and thread indicator touch event on mobile
These "buttons" are located inside a scroll list which makes them very specific. The general idea is to ensure these events are passive and are not bubbling to the parent.
- DEV: moves state on top level message node
- FIX: ensures popover arrow has the correct border
- FIX: makes a message expanded by default
- FIX applies the same ios scroll fix on thread and channel
- UI: better active/hover state for thread indicator
- UI: attempts to follow more closely our BEM naming scheme
- FIX: reduces bottom padding on message with thread indicator and user info hidden
- UI: add padding for first message in thread
- FIX: prevents actions backdrop to open thread
- UI: makes thread indicator resizable
This commit is contained in:
Joffrey JAFFEUX
2023-06-16 11:36:43 +02:00
committed by GitHub
parent 517c9e7782
commit 7dafd275ac
29 changed files with 492 additions and 264 deletions

View File

@ -45,8 +45,6 @@ module("Discourse Chat | Component | chat-message", function (hooks) {
)
),
channel,
afterExpand: () => {},
onHoverMessage: () => {},
messageDidEnterViewport: () => {},
messageDidLeaveViewport: () => {},
};