@JammyDodger noticed that he wasn’t able to see the reactions on this post on mobile: ToS and Privacy buttons disappear from /about when I remove my custom FAQ URL - #3 by Canapin [example1]
Jammy (mobile) - No reactions:
Jammy (desktop) - Reactions on the left, but not on the right:
Everyone else - You can see he has reacted, everything works as expected:
After searching through my reaction activity, I found an example where the problem occurs for me: Admins may not realize certain sidebar customization are global - #8 by JammyDodger [example2]
What both posts have in common is that there are reactions, but the number of likes does not appear to be available as the count in the actions_summary.
Depending on if you reacted on the post yourself or not, id: 2 is either missing in the actions_summary, or if you haven’t reacted you can see that the count is missing. If I understand correctly, id: 2 is included if either you could react (can_act) or count>0.
Taking a closer look at the json of the post example2 https://meta.discourse.org/posts/1404583.json where two users reacted, this count is missing:
In this case, the count: 2 is missing for both users. For the user who has already reacted this results in id: 2 missing completely. This seems to explain why reactions are not shown for the user who reacted, even though reactions exist.
For comparison, here is a post with two reactions where the count is shown as expected Buttons to order items in emoji list settings is difficult to find on touch devices - #2 by zogstrip and the post’s json https://meta.discourse.org/posts/1907506.json
On this post the count is available and the reactions appear as expected.
I have no idea how many posts here on Meta are affected by this or whether other forums are also affected. And I can’t provide any steps on why the data is missing. I can only report that for some posts, the reactions are not displayed on mobile phones and are only partially displayed on laptops, and the cause for this seems to be related to the missing data.






