discourse/plugins/chat/test/javascripts/unit/lib
Joffrey JAFFEUX 311b28d485
FIX: incorrect chat message reaction text (#23260)
Prior to this fix the text would be incorrect when the current user reacted and number of reactions was above 2.

This commit fixes the bug and also makes the following changes:
- separates text computation in a standalone lib to make it easier to test
- increases the number of displayed usernames in reaction text (from 5 to 15)
- adds a full test suite for this new `getReactionText` function
- fixes a bug in reaction fabricator which would prevent to change the count to zero
2023-08-25 15:20:56 +02:00
..
chat-composer-buttons-test.js DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-emoji-reaction-store-test.js DEV: Remove defunct TODOs (#19825) 2023-01-12 09:41:39 +10:00
get-reaction-text-test.js FIX: incorrect chat message reaction text (#23260) 2023-08-25 15:20:56 +02:00
slugify-channel-test.js FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00