Skip to content

Comments

Implement email verification flow and clean repository tracking#4

Open
abhixw wants to merge 2 commits intoRITVIKKAMASETTY:mainfrom
abhixw:feature/verification-code-email
Open

Implement email verification flow and clean repository tracking#4
abhixw wants to merge 2 commits intoRITVIKKAMASETTY:mainfrom
abhixw:feature/verification-code-email

Conversation

@abhixw
Copy link

@abhixw abhixw commented Feb 17, 2026

I have changed the button size in signup page and added email verification code to particular user email.previously,the code was coming in terminal.

@vercel
Copy link

vercel bot commented Feb 17, 2026

Someone is attempting to deploy a commit to the why's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inter-xai Error Error Feb 17, 2026 5:40pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request primarily focuses on UI improvements to the SignUp page, including button sizing adjustments and spacing changes. However, the PR title and description mention implementing email verification flow, which is misleading as the email verification backend functionality already exists in the codebase and no changes to that functionality are present in this PR.

Changes:

  • Increased button padding from py-2 to py-3 for buttons in the sign-up section
  • Added spacing adjustments (p-4 to p-6, space-y-3 to space-y-4, mb-4 to mb-5)
  • Increased container height from 600px to 680px
  • Added a new "Sign In" button in the sign-up form
  • Removed yaml dependency from package-lock.json
  • Added binary files (db.sqlite3) and Python bytecode (pycache) to the repository

Reviewed changes

Copilot reviewed 1 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/pages/SignUp.jsx UI improvements including button sizing (py-2 to py-3), spacing adjustments, container height increase, and addition of a new Sign In button
src/index.css Whitespace-only change (no functional impact)
src/App.css Empty file (no changes)
package-lock.json Removed yaml dependency (cleanup of unused peer dependency)
core/db.sqlite3 Database file added to repository (should not be committed)
pycache/main.cpython-313.pyc Python bytecode file added to repository (should not be committed)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +688 to +693
<button
onClick={toggle}
className="btn-primary text-sm py-3"
>
Sign In
</button>
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

This button duplicates the existing toggle functionality that is already available in the overlay panel on the right side of the form (line 906). The overlay panel contains a "Sign Up" button that toggles between sign-in and sign-up modes. Having two buttons with the same functionality creates a redundant UI element and may confuse users. Consider removing this duplicate button.

Copilot uses AI. Check for mistakes.
onClick={handleVerifyEmail}
disabled={isLoading}
className="btn-primary text-sm py-2"
className="btn-primary text-sm py-3"
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The button padding is inconsistent between the sign-up section (py-3) and the sign-in section (py-2). All btn-primary buttons in the sign-in container still use py-2 (lines 763, 785, 813, 881). For a consistent user experience, all primary buttons should use the same padding. Either update all buttons to use py-3 or revert the sign-up buttons to py-2.

Suggested change
className="btn-primary text-sm py-3"
className="btn-primary text-sm py-2"

Copilot uses AI. Check for mistakes.
onClick={handleVerifyEmail}
disabled={isLoading}
className="btn-primary text-sm py-2"
className="btn-primary text-sm py-3"
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The PR description states that email verification code functionality was added to send codes to user emails instead of the terminal. However, examining the backend code (core/users/views.py and core/utils/utils.py) shows that the email verification functionality already exists and is properly implemented. The current changes only modify button sizing and spacing in the UI, with no actual changes to the email verification logic. The PR description should be updated to accurately reflect that these changes are UI improvements, not email verification implementation.

Copilot uses AI. Check for mistakes.
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.

1 participant