Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: uniform post page login #4046

Merged
merged 27 commits into from
Jan 22, 2025
Merged

feat: uniform post page login #4046

merged 27 commits into from
Jan 22, 2025

Conversation

AmarTrebinjac
Copy link
Contributor

@AmarTrebinjac AmarTrebinjac commented Jan 6, 2025

Changes

This task is named "uniform post page login", but the changes here affect more than just post page as I directly modified the "LoginButton" that is used both in the CustomAuthBanner (mobile banner) and Navbar.
Chris mentions here that only login flow should be inside /onboarding to be able to leverage all onboarding steps. So unless we want the Navbar to pop the modal on other pages than /posts/, I say we keep it this way

Events

Did you introduce any new tracking events?

Experiment

Did you introduce any new experiments?

Manual Testing

Caution

Please make sure existing components are not breaking/affected by this PR

Preview domain

https://mi-696.preview.app.daily.dev

Copy link

vercel bot commented Jan 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview Jan 22, 2025 8:13pm
1 Skipped Deployment
Name Status Preview Updated (UTC)
storybook ⬜️ Ignored (Inspect) Jan 22, 2025 8:13pm

@AmarTrebinjac AmarTrebinjac changed the title Mi 696 feat: Uniform post page login Jan 6, 2025
@AmarTrebinjac
Copy link
Contributor Author

Since we deleted the authModal completely and always redirect to onboarding now, I figured refactoring the showLogin would be a better option.

I think all the above comments should be solved now. I did some E2E testing myself and everything seems OK, but please do check it yourselves @capJavert and @omBratteng, the more the merrier :)

@omBratteng omBratteng changed the title feat: Uniform post page login feat: uniform post page login Jan 21, 2025
Copy link
Member

@omBratteng omBratteng left a comment

Choose a reason for hiding this comment

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

LGTM.
Login works and redirects me to origin, but unable to test email signup because of turnstile blocking me I think 😬

Copy link
Contributor

@capJavert capJavert left a comment

Choose a reason for hiding this comment

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

Code wise looks good

Copy link
Contributor

@rebelchris rebelchris left a comment

Choose a reason for hiding this comment

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

Just make sure to do critical flow testing and report in the doc once deployed:
https://dailydotdev.atlassian.net/wiki/spaces/HAN/pages/458096761/Critical+flows

@AmarTrebinjac AmarTrebinjac merged commit 31918f7 into main Jan 22, 2025
10 checks passed
@AmarTrebinjac AmarTrebinjac deleted the MI-696 branch January 22, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants