Existe un error en los elementos revisables: cuando se reporta un “boost”, el enlace apunta al tema en lugar de a la publicación específica, lo que dificulta encontrar el “boost” cuando hay un gran número de publicaciones en el tema.
Este commit añade target_url para que el enlace apunte a la publicación específica del “boost” en lugar del tema.
Antes:
Después:
También se han añadido algunas pruebas.
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 Me gusta
nat
(Natalie T)
24 Junio, 2026 09:32
2
Gracias nuevamente por tu contribución; nuestro compañero @zogstrip ha fusionado tu PR
3 Me gusta
nat
(Natalie T)
Cerrado
25 Junio, 2026 00:00
4
Este tema se cerró automáticamente después de 14 horas. Ya no se permiten nuevas respuestas.