nat
(Natalie T)
6 Novembre 2025, 3:35pm
6
Sì, è corretto.
Il /posts.json?post_ids gestisce il “mostra originale”, ma il problema è dovuto al fatto che lo store frontend carica solo i post esistenti. Ecco una correzione che affronta anche l’annoiante ritorno al primo post.
main ← cookie-post-21
opened 03:31PM - 06 Nov 25 UTC
Meta: https://meta.discourse.org/t/localization-of-posts-on-topics-with-more-tha… n-20-posts/387541
There exists a bug due to the frontend store keeping the 'old' posts:
- Go to a translated topic with more than 20 posts
- Scroll to 21st post
- Toggle "Show Original"
- Get sent back to 1st post (<- bug, should stay at 21st) untranslated
- Scroll to 21st post
- See translated post (<- bug, should be untranslated)
This PR fixes the two issues
### Before 🎥
https://github.com/user-attachments/assets/748df681-2b55-4deb-9c57-0a4f481b752b
### After 🎥
https://github.com/user-attachments/assets/85062935-982e-4fb5-a0a4-54ee6b3dbd97
4 Mi Piace