discourse/plugins/discourse-reactions/lib/discourse_reactions
Ethan M 5894923294
DEV: NameError when resolving reactions serializer helpers
The `ReactionsSerializerHelpers` module was defined inline inside
`plugin.rb`'s `after_initialize` block as a top-level constant, and
`posts_reaction_loader.rb` referenced it as `::ReactionsSerializerHelpers`.
That reference is fragile under autoload/reload — the constant can be
missing when the loader is required, raising NameError.

Move the helpers into `lib/discourse_reactions/reactions_serializer_helpers.rb`,
namespace them under `DiscourseReactions::`, and update all call sites.
The two previously-separate `module ReactionsSerializerHelpers` fragments
are merged into one module with no logic changes.
2026-05-26 13:04:29 +08:00
..
engine.rb DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00
guardian_extension.rb FEATURE: Prevent silenced users from liking and using reactions (#37040) 2026-01-13 13:59:57 +01:00
migration_report.rb
notification_extension.rb
post_action_extension.rb FIX: prevent shadow likes leaking to post reaction modal (#39373) 2026-04-21 11:50:40 +04:00
post_alerter_extension.rb
post_extension.rb DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
post_reactions_query.rb UX: Ignored users reactions/likes should not show up (#39672) 2026-05-11 15:32:29 -03:00
posts_reaction_loader.rb DEV: NameError when resolving reactions serializer helpers 2026-05-26 13:04:29 +08:00
reactions_serializer_helpers.rb DEV: NameError when resolving reactions serializer helpers 2026-05-26 13:04:29 +08:00
topic_view_posts_serializer_extension.rb
topic_view_serializer_extension.rb UX: Ignored users reactions/likes should not show up (#39672) 2026-05-11 15:32:29 -03:00