zulip/static
Tim Abbott d47f29c2d6 reactions: Implement display_emoji_reaction_users setting.
This setting provides a more ergonomic experience when viewing a
message where only a small number of emoji reactions are present; you
no longer need to hover over the reaction to see who reacted, which is
often quite important to understanding what it means.

We added this setting (visible in the development environment only,
and implemented on mobile) a few months ago; so to complete this
feature, we just need to add the frontend rendering/live update logic
and publish it.

As documented in the code comments, the current rule is "messages with
3 or fewer reactions" for which messages will display the names of the
users reacting.

The previous set_reaction_count API made sense when the display of a
given reaction was a pure function of its data. However, we will soon
be making it a function of the total number of reactions on the
message.

Thus, view functions to update reaction display now need to call a
shared update_vote_text_on_message function in all code paths, even
code paths like "add the first vote for a reaction" and "remove the
sole vote of a reaction" which previously did not need to call
set_reaction_count.

Fixes #20890.
2022-10-27 12:41:51 -07:00
..
assets assets: Remove license for previously deleted emoji images. 2022-06-10 12:27:48 -07:00
audio/notification_sounds audio: Remove the copy of zulip.ogg outside notification_sounds. 2022-06-10 12:27:48 -07:00
generated
html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
images help center: Edit "Create your organization profile" info. 2022-10-03 11:33:30 -07:00
js reactions: Implement display_emoji_reaction_users setting. 2022-10-27 12:41:51 -07:00
shared icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
styles reactions: Change color of reaction counter from blue to black. 2022-10-27 12:41:51 -07:00
templates reactions: Implement display_emoji_reaction_users setting. 2022-10-27 12:41:51 -07:00
third css: Remove Bootstrap legend CSS. 2022-08-13 17:36:08 -07:00
.gitignore docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00