main ← add-topic-list-reactions
opened 08:17PM - 05 Nov 25 UTC
### What does this do?
This PR adds reaction data for the first post to the `To… picListItemSerializer`, enabling reactions to be displayed on topic lists without requiring additional API calls.
### Why is this needed?
Previously, topic lists only showed basic topic metadata. To display reactions on the first post of each topic, plugins would need to have the frontend make separate API calls for each topic's first post, causing N+1 queries. This change preloads all necessary reaction data when the topic list is serialized.
### How does it work?
- Adds `op_reactions_data` to `TopicListItemSerializer`. I added `ReactionsSerializerHelpers` to reuse as much of the existing logic as possible.
- Adds a `include_discourse_reactions_data_on_topic_list` modifier (default false) for giving plugins control over the injection of the new data.
- Includes test coverage
### Usage
From within a topic list plugin outlet, the discourse-reactions can be displayed like so:
```gjs
<DiscourseReactionsActions
@post={{@topic.op_reactions_data}}
@showLogin={{false}}
/>
```
La PR refactorizó cómo se carga la lista de reacciones y deprecó la API original /post_action_users.
Sin embargo, esto rompe el comportamiento original de mostrar quién “dio me gusta” a los temas y deja el área original en blanco.
¿Es un error o un comportamiento diseñado? ¿Y es necesario recuperar la lógica original?
No estoy seguro si es lo mismo, pero ¿quizás sea esto ?
1 me gusta
Gracias por tu respuesta.
El enlace adjunto parece estar relacionado con un error que no muestra el menú de reacciones, pero el problema que mencioné es que, en mi memoria, una frase como “[montón de avatares] le gustó el tema” se mostrará al hacer clic en el botón “más”, y ahora ha desaparecido.
Moin
18 Noviembre, 2025 10:38
4
Si no está relacionado con los cambios en el PR que enlazaste, podría deberse a la eliminación de <SmallUserList en
main ← likes-dmenu
opened 10:05PM - 12 Aug 25 UTC
This PR moves the likes menu away from the small user list rendering under the p… ost action icons. This causes the page to jump.
---
It moves us toward a like menu that functions similar to how reactions menu works.
**Before**

**After**
https://github.com/user-attachments/assets/bd9bf9f3-d23a-4b04-bd25-9972f8301e4e
1 me gusta
Gracias, tal vez esté relacionado con la PR que mencionaste.
Dado que el div small-user-list todavía existe, ¿es necesario reimplementar la función?