Repository navigation
Description
Why
Registrants of an unverified event get a post-event email asking "did this class take place?" (sydevs/SahajCloud#626). Today both answers land on a SahajCloud-hosted confirmation card and stop there — a dead end for someone who has just told us they're interested enough to attend a meditation class.
Redirecting them into Atlas instead turns the last step of a feedback flow into a re-engagement moment: the class they attended, or other classes near them.
SahajCloud already does its half — it records the vote and then redirects here. Nothing in this ticket touches voting, credentials, or the API.
What SahajCloud sends
After the vote is written, SahajCloud resolves a destination and 302s to it with a single query param:
| Answer | Destination | URL |
|---|---|---|
| Confirmed | the event's own page | {event.webUrl}?feedback=confirmed |
| Denied | the event's region page | {region.webUrl}?feedback=denied |
feedback is both the banner trigger and the attribution marker — it is the only signal that this visitor arrived from a follow-up email.
A denial deliberately does not land on the event page. The reader just said the class isn't there; showing them the listing is confusing, and if theirs was the 5th denial the event has been unpublished by that very vote, so its webUrl is null. Region pages are never publish-gated, so that URL always resolves.
If neither URL resolves, SahajCloud keeps the reader on its own confirmation card — so this can ship on either side first, in either order, and links already sitting in inboxes (30-day token TTL) keep working regardless.
Scope
- Event page handles
?feedback=confirmed— a thank-you banner above the fold, then the event, then nearby classes - Region page handles
?feedback=denied— acknowledge the report, then other classes near them - Strip
feedbackfrom the URL withhistory.replaceStateonce the banner renders -
<link rel="canonical">without the param on both page types (they're indexed; the feedback variants must not be) - Banner copy goes through the widget's existing translation layer
- Confirm both pages render the banner on a cold load from an email client, not just client-side navigation
Copy — the denied path needs care
The confirmed path is easy ("Thanks for confirming — this helps other seekers know it's real").
The denied path is telling someone the thing they went looking for probably isn't there. It should acknowledge the wasted trip before pivoting, and must not imply the listing is definitely fake — one report isn't a verdict (the listing only comes down at 5 denials with a Wilson upper bound < 0.5). Something nearer "Thanks for letting us know — sorry you had a wasted journey. Here are other classes near you."
Changing an answer
Not needed here. The reader's email still has both buttons, and clicking the other one re-records and re-confirms — SahajCloud's page handles an already-answered registration by showing what was recorded and offering to flip it.
The redirect therefore carries no token: it would otherwise sit in the address bar of an indexed page and leak through Referer to anything that page loads.
Ship order
Independent. SahajCloud falls back to its own card when a destination can't be resolved, so neither side blocks the other.
Related: #163 (event-submission preview + submit payload), sydevs/SahajCloud#626.
Activity
feat(feedback): send the reader into Atlas once their answer is recorded
feat(events): registrant confirm/deny voting, post-event follow-ups, …
docs(changelog): reference the PR that landed the feedback banner