Skip to content

fix: enhance validation for contact and signup forms - #9004

Merged
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
aayan-rashid:fix/form-validation
Aug 13, 2026
Merged

fix: enhance validation for contact and signup forms#9004
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
aayan-rashid:fix/form-validation

Conversation

@aayan-rashid

Copy link
Copy Markdown
Contributor

Description

Fixes

closes #8991
closes #8992

  • Added full-name validation to the Contact form.
  • Added phone-number validation to the Contact form.
  • Added full-name validation to the Sign Up form.
  • Improved client-side validation for invalid inputs.

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Visual Preview

Before:

image

After:

image

Before:

image

After:

image

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
  • I have updated README.md if I added a new theme or URL parameter.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
  • (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

@aayan-rashid is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

@retenta-bot

retenta-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

This pull request addresses important validation issues in the contact and signup forms, which is crucial for maintaining data quality. Similar past decisions, such as fixing dead code in the calculateStreak function, highlight the importance of ensuring that our code functions correctly and efficiently. Thank you for your contributions, and I look forward to your updates!

@retenta-bot retenta-bot Bot changed the title fix: validate contact and signup form inputs fix: enhance validation for contact and signup forms Aug 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

Asset PR Size Base Size Difference Status
static/chunks/app/contact/page-[hash].js 5.38 KB 5.30 KB +0.08 KB (+1.60%) 🔴 Regression

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 4999.20 KB 4998.89 KB +0.31 KB (+0.01%)
Total CSS 354.18 KB 354.18 KB 0 B

@github-actions github-actions Bot added the type:bug Something isn't working as expected label Aug 12, 2026
@JhaSourav07
JhaSourav07 merged commit 3ac50f9 into JhaSourav07:main Aug 13, 2026
7 of 8 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Congratulations @aayan-rashid! Your PR has been successfully merged. 🚀

Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.

⚠️ Important for GSSoC Contributors:
You are strictly advised to join our Discord Server as it is mandatory for all GSSoC participants. All important announcements, point claims, and community discussions happen there.

Keep building! 💻✨

@JhaSourav07 JhaSourav07 added GSSoC 2026 level:beginner Small changes Usually isolated fixes or simple UI/text updates. quality:exceptional Outstanding contribution with exceptional implementation quality, testing. gssoc:approved PR has been reviewed and accepted for valid contribution points labels Aug 13, 2026
@github-actions github-actions Bot added this to the GSSoC 2026 milestone Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved PR has been reviewed and accepted for valid contribution points GSSoC 2026 level:beginner Small changes Usually isolated fixes or simple UI/text updates. quality:exceptional Outstanding contribution with exceptional implementation quality, testing. type:bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Sign-up form accepts invalid name bug: Contact form accepts invalid name and phone number formats

2 participants