discourse/plugins/discourse-post-voting/spec/system
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
..
page_objects/pages UX: post voting styling, accessibility, and small fixes (#39443) 2026-04-22 14:41:12 +02:00
anonymous_user_vote_post_spec.rb FEATURE: Prompt anonymous users to sign up after engagement clicks (#40256) 2026-05-26 09:30:38 +02:00
category_settings_spec.rb DEV: Make enable_simplified_category_creation Permanent (#39739) 2026-05-06 12:21:50 +10:00
core_features_spec.rb DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
post_voting_spec.rb FIX: negative voter count in post voting who-voted popup (#39313) 2026-04-17 16:43:38 +10:00
viewing_reviewable_spec.rb DEV: Update and reenable post voting specs (#39422) 2026-04-21 21:39:29 +02:00