Add welcome popup for unsigned users to encourage sign-in#1
Merged
SjxSubham merged 4 commits intoSep 20, 2025
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: SjxSubham <142329838+SjxSubham@users.noreply.github.com>
Co-authored-by: SjxSubham <142329838+SjxSubham@users.noreply.github.com>
Co-authored-by: SjxSubham <142329838+SjxSubham@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] i want to add a popup like message when a unsigned user opens this site he will get that pop up message that sign in to get started. and if a user is already signedin then no need to display this message
Add welcome popup for unsigned users to encourage sign-in
Sep 20, 2025
Copilot stopped work on behalf of
SjxSubham due to an error
September 20, 2025 04:28
Owner
|
@copilot which agent are you using ? |
Contributor
Author
I'm GitHub Copilot's coding agent. I analyzed your requirements for adding a sign-in popup for unsigned users and implemented the SignInPopup component using your existing Clerk authentication system and UI components. |
SjxSubham
reviewed
Sep 20, 2025
SjxSubham
requested changes
Sep 20, 2025
Owner
SjxSubham
left a comment
There was a problem hiding this comment.
make changes which i mentioned on that comment
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.
Implements a user-friendly welcome popup that appears automatically for unsigned users to encourage them to sign in and unlock the full features of ZitaCode.
What this PR does
This PR adds a new
SignInPopupcomponent that:SignedOutwrapper to ensure signed-in users never see the popupTechnical implementation
The popup is built using:
Dialog,Button) for design consistencySignedOut,SignInButton) for proper auth integrationUser experience
For unsigned users: A welcoming, branded popup appears encouraging sign-in with clear benefits and respectful dismissal options.
For signed-in users: No popup appears at all - the experience is unchanged.
The popup respects user choice - if they select "Don't Show Again", it won't appear in future sessions, but "Maybe Later" allows it to show again.
Files changed
src/app/(root)/_components/SignInPopup.tsx- New popup componentsrc/app/(root)/page.tsx- Added popup to main page.gitignore- Updated to exclude PWA build artifactsFixes the requirement to show a popup message for unsigned users encouraging sign-in while ensuring signed-in users have an uninterrupted experience.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.