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}}
/>
```
Der PR hat die Art und Weise, wie die Reaktionsliste geladen wird, überarbeitet und die ursprüngliche /post_action_users-API als veraltet markiert.
Es bricht jedoch das ursprüngliche Verhalten, das anzeigt, wer die Themen „geliked“ hat, und lässt den ursprünglichen Bereich leer.
Ist das ein Fehler oder ein beabsichtigtes Verhalten? Und ist es notwendig, die ursprüngliche Logik wieder hinzuzufügen?
1 „Gefällt mir“
Ich bin mir nicht sicher, ob das dasselbe ist, aber vielleicht ist es dieses ?
1 „Gefällt mir“
Vielen Dank für Ihre Antwort.
Der angehängte Link scheint sich auf einen Fehler zu beziehen, bei dem das Reaktionsmenü nicht angezeigt wird. Das von mir erwähnte Problem ist jedoch, dass meiner Erinnerung nach ein Satz wie „[Haufen von Avataren] mochten das Thema“ angezeigt wurde, wenn man auf die Schaltfläche „Mehr“ klickte, und dieser nun verschwunden ist.
Moin
18. November 2025 um 10:38
4
Wenn es nicht mit den Änderungen im von Ihnen verlinkten PR zusammenhängt, liegt es möglicherweise an der Entfernung von <SmallUserList> in
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
2 „Gefällt mir“
Vielen Dank, vielleicht hängt es mit dem von Ihnen erwähnten PR zusammen.
Da das div small-user-list immer noch existiert, ist es notwendig, die Funktion wieder zu implementieren?