È presente un bug nelle reviewables: quando viene segnalato un boost, il link punta all’argomento anziché al post specifico, rendendo difficile trovare il boost quando l’argomento contiene un gran numero di post.
Questo commit aggiunge target_url in modo che il link punti al post specifico del boost anziché all’argomento.
Prima:
Dopo:
Sono stati inoltre aggiunti alcuni test spec.
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 Mi Piace
nat
(Natalie T)
24 Giugno 2026, 9:32am
2
Grazie ancora per il tuo contributo, il nostro collega @zogstrip ha unito la tua PR
3 Mi Piace
nat
(Natalie T)
Chiuso
25 Giugno 2026, 12:00am
4
Questo argomento è stato chiuso automaticamente dopo 14 ore. Non sono più ammesse nuove risposte.