nbianca
(Bianca)
Août 22, 2022, 1:07
29
J’ai amélioré le fonctionnement de discourse-reactions avec les sujets archivés et l’ai rendu plus similaire au bouton J’aime habituel avec ces deux PR :
main ← fix_show_like
opened 04:09PM - 16 Aug 22 UTC
The like button was sometimes hidden in archived topics and that was confusing u… ser experience. This PR includes multiple commits, each one containing a different improvement.
The first change is to no longer allow users to remove their likes from archived topics. They were able to remove it, but not add it back.
The second change was to show the like button even if the topic is archived. The like button was hidden if for post that had no likes. It was confusing to not see the button and it broke discourse-reactions plugin too.
main ← fix_show_like
opened 04:09PM - 16 Aug 22 UTC
The logic for showing the not-allowed cursor did not cover the edge
case when t… he user has not reacted yet, but they cannot either because
the topic does not allow.
This is related to https://github.com/discourse/discourse/pull/17951.
Cela ne devrait plus poser de problème.
5 « J'aime »