discourse/plugins/discourse-reactions/spec
Régis Hanol fba56920b5
FEATURE: Prompt anonymous users to sign up after engagement clicks (#40256)
Previously, anonymous users clicking event RSVP buttons hit a dead-end
with no signup prompt, and other engagement actions (Like, React, Vote)
opened the login modal but lost the click on the way to authentication.

This change captures the intent in a short-lived signed cookie via `POST
/anonymous-action` and replays it through each action's existing service
when `CurrentUser#log_on_user` completes, so anonymous engagement
converts to signups with the original action carried through.

Ref - t/184288

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 09:30:38 +02:00
..
fabricators
lib DEV: NameError when resolving reactions serializer helpers 2026-05-26 13:04:29 +08:00
models DEV: Restore a post_mover spec (#39551) 2026-04-27 10:43:43 +02:00
reports DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
requests SECURITY: GroupPostSerializer leaks hidden full names through reaction post association 2026-05-19 00:26:04 +01:00
serializers UX: Ignored users reactions/likes should not show up (#39672) 2026-05-11 15:32:29 -03:00
services FEATURE: Prevent silenced users from liking and using reactions (#37040) 2026-01-13 13:59:57 +01:00
system FEATURE: Prompt anonymous users to sign up after engagement clicks (#40256) 2026-05-26 09:30:38 +02:00
plugin_spec.rb DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00