# 리팩토링 후 small-user-list에서 반응 목록이 사라졌습니다

**URL:** https://meta.discourse.org/t/the-reaction-list-disappeared-from-small-user-list-after-refactor/388783
**Category:** Bug
**Created:** [11월 18, 2025, 6:45오전 UTC](https://meta.discourse.org/t/the-reaction-list-disappeared-from-small-user-list-after-refactor/388783 "2025-11-18T06:45:00Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/553546_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)
#### Post date: [11월 18, 2025, 6:45오전 UTC](https://meta.discourse.org/t/the-reaction-list-disappeared-from-small-user-list-after-refactor/388783/1 "2025-11-18T06:45:00Z")

</div>

> <https://github.com/discourse/discourse/pull/35843>
>
> \### 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}}
> /\>
> \`\`\`

이 PR은 반응 목록이 로드되는 방식을 재구성하고, 기존 `/post_action_users` API를 비활성화(deprecate)했습니다.

그러나 이로 인해 주제에 "좋아요"를 누른 사용자를 표시하는 원래 동작이 깨지고, 기존 영역이 빈 상태로 남아 있습니다.

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/7/3/f732729eecc051ec86f7dc3410ff96ab1be6349b.png)

이것은 버그인가요, 아니면 의도된 동작인가요? 그리고 원래 로직을 다시 추가해야 하나요?

---

_[View the full topic](https://meta.discourse.org/t/the-reaction-list-disappeared-from-small-user-list-after-refactor/388783)._
