Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
superwall-docs-staging | 116e513 | Commit Preview URL Branch Preview URL |
Apr 23 2026, 01:45 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds authenticated session email enrichment for docs page feedback Slack messages while keeping the client feedback payload unchanged. Exposes email in the existing login status context so the page feedback UI can disclose possible account-email follow-up before submit and in the success state. Wraps docs pages with the login status provider so the feedback widget has session context. Verified with
bun testandbun run build:cf.Note
Medium Risk
Moderate risk because it changes how feedback is attributed by resolving user email server-side via the auth session endpoint and surfaces account-email follow-up messaging in the UI; incorrect session handling could affect privacy or Slack message contents.
Overview
Docs page feedback is now email-enriched for authenticated users: the
/api/feedbackhandler fetches/api/auth/sessionusing the request cookie and prefers the session’suserInfo.emailwhen populating the Slack*User*field (falling back to any providedemail).The client-side
LoginStatusContextnow exposesemailand exportsuseLoginStatus; docs pages are wrapped inLoginStatusProviderand the feedback widget conditionally informs users that follow-up may occur via their account email and persists whether an account email was used in the local “thank you” state.Reviewed by Cursor Bugbot for commit 116e513. Bugbot is set up for automated code reviews on this repo. Configure here.