mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 00:33:42 +08:00
311b28d485
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 |
||
---|---|---|
.. | ||
chat-composer-buttons-test.js | ||
chat-emoji-reaction-store-test.js | ||
get-reaction-text-test.js | ||
slugify-channel-test.js |