discourse/plugins/chat/test/javascripts
Joffrey JAFFEUX cbb9396353
REFACTOR: <ChatMessage> component (#22172)
- Moves `<ChatMessageInfo />` to `<Chat::Message::Info />`
- Moves `<ChatMessageAvatar />` to `<Chat::Message::Avatar />`
- Moves `<ChatMessageLeftGutter />` to `<Chat::Message::LeftGutter />`, adds tests
- Creates `<Chat::Message::Error />`
- Creates `<Chat::Message::MentionWarning />`, adds tests and a styleguide
- Creates a model for ChatMessageMentionWarning, adds fabricator for it
- Keeps the enter/leave viewport logic inside the `<ChatMessage />` component instead of bubbling it to the channel and thread components
- Adds a scale animation when clicking a reaction
- Creates `chat/later-fn` modifier which accepts a function and a delay. It allows to call a function Xms after a component has been inserted, it's useful for animations.
- Moves css code out of chat-message into relevant files
- Deletes unused code

<!-- 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. -->
2023-06-19 09:50:54 +02:00
..
acceptance REFACTOR: <ChatMessage> component (#22172) 2023-06-19 09:50:54 +02:00
components REFACTOR: <ChatMessage> component (#22172) 2023-06-19 09:50:54 +02:00
helpers DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
integration/components/user-menu DEV: Modernize chat's component tests (#19577) 2022-12-22 14:35:18 +01:00
unit DEV: Added chat api to remove secondary actions (#21982) 2023-06-08 11:37:50 -03:00
widgets DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
chat-fixtures.js DEV: Rearchitect chat tracking state (#21550) 2023-05-16 14:51:13 +02:00