Il existe un bug dans les éléments à examiner : lorsqu’un boost est signalé, le lien renvoie au sujet plutôt qu’au message spécifique, ce qui rend difficile la recherche du boost lorsqu’un sujet contient un grand nombre de messages.
Ce commit ajoute target_url afin que le lien pointe vers le message spécifique du boost plutôt que vers le sujet.
Avant :
Après :
J’ai également ajouté des tests correspondants.
main ← small-lovely-cat:fix-boost-links-reviewables
approved 08:32AM - 24 Jun 26 UTC
There exists a bug in the reviewables, when a boost is reported, the link of it … is pointed to the topic rather than the specific post, which makes finding the boost difficult when there are large number of posts in the topic.
This commit add `target_url` so that the link is pointed to the specific post of the boost rather than the topic.
Before:
<img width="1918" height="851" alt="image" src="https://github.com/user-attachments/assets/5fd2b43f-4ab2-4e09-bd52-39caaa7e3ec4" />
After:
<img width="1927" height="871" alt="image" src="https://github.com/user-attachments/assets/4203c770-1013-4747-8940-831d12924081" />
Also added some spec to it.
4 « J'aime »
nat
(Natalie T)
Juin 24, 2026, 9:32
2
Merci encore pour ta contribution, notre collègue @zogstrip a fusionné ta PR
3 « J'aime »
nat
(Natalie T)
A fermé ce sujet ()
Juin 25, 2026, 12:00
4
Ce sujet a été automatiquement fermé après 14 heures. De nouvelles réponses ne sont plus autorisées.