Skip to content

feat(demo): adds input to skip email and allows camel case post body#25967

Merged
scefali merged 1 commit into
masterfrom
feat/demo-bypass-email
May 10, 2021
Merged

feat(demo): adds input to skip email and allows camel case post body#25967
scefali merged 1 commit into
masterfrom
feat/demo-bypass-email

Conversation

@scefali

@scefali scefali commented May 10, 2021

Copy link
Copy Markdown
Contributor

This PR makes two changes with the demo start view:

  1. Add a skipEmail input which will set the skip_email cookie on the response. When the browser detects the skip_email cookie, we will not show the modal which asks for the user's email. We will use this when deep linking from within Sentry for users that already have accounts.
  2. Allow camel case inputs for the existing skipBuffer and acceptedTracking inputs. Snake case is still allowed for now. Once I have updated the client to send only camel case, I will remove the snake case options.

What the modal looks like:
Screen Shot 2021-05-10 at 9 30 21 AM

@scefali scefali requested a review from a team May 10, 2021 16:30

@markstory markstory left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like cookies being set 🍪

@scefali scefali merged commit 51a3020 into master May 10, 2021
@scefali scefali deleted the feat/demo-bypass-email branch May 10, 2021 20:42
priscilawebdev pushed a commit that referenced this pull request May 11, 2021
This PR makes two changes with the demo start view:

Add a skipEmail input which will set the skip_email cookie on the response. When the browser detects the skip_email cookie, we will not show the modal which asks for the user's email. We will use this when deep linking from within Sentry for users that already have accounts.
Allow camel case inputs for the existing skipBuffer and acceptedTracking inputs. Snake case is still allowed for now. Once I have updated the client to send only camel case, I will remove the snake case options.
@github-actions github-actions Bot locked and limited conversation to collaborators May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants