Skip to content

Conversation

@codeunia-dev
Copy link
Owner

@codeunia-dev codeunia-dev commented Sep 15, 2025

  • Fix OAuth redirect to localhost by adding queryParams to Google sign-in
  • Improve input text visibility in complete-profile page:
    • Remove backdrop-blur and semi-transparent backgrounds
    • Change text color from gray-900 to black with font-medium
    • Fix username validation styling (remove opacity from success/error states)
  • Ensure OAuth flow works correctly for local development
  • Maintain production OAuth functionality

Summary by CodeRabbit

  • Improvements

    • Google sign-in flow updated to request user consent and support longer-lived sessions, improving continuity after login. Other sign-in methods and behaviors remain unchanged.
  • Style

    • Refreshed Complete Profile page visuals: darker, bolder header; clearer input text; removed translucent backgrounds and blur effects.
    • Username field now uses solid success/error backgrounds during validation for better contrast. Spacing, borders, and overall behavior are unchanged.

- Fix OAuth redirect to localhost by adding queryParams to Google sign-in
- Improve input text visibility in complete-profile page:
  - Remove backdrop-blur and semi-transparent backgrounds
  - Change text color from gray-900 to black with font-medium
  - Fix username validation styling (remove opacity from success/error states)
- Ensure OAuth flow works correctly for local development
- Maintain production OAuth functionality
@vercel
Copy link

vercel bot commented Sep 15, 2025

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

Project Deployment Preview Comments Updated (UTC)
codeunia Building Building Preview Comment Sep 15, 2025 5:46am

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 15, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Updated Google OAuth sign-in to include query parameters for offline access and consent. Adjusted styling in the complete profile page (headers and inputs) without changing behavior or data flow.

Changes

Cohort / File(s) Change Summary
Auth OAuth params
app/auth/signin/page.tsx
Added Google OAuth queryParams: access_type: 'offline', prompt: 'consent'. No other logic changes (redirects, errors, GitHub, password).
Profile page styling
app/complete-profile/page.tsx
Presentational updates: stronger text color/weight; removed translucent backgrounds/backdrop blur; username validation backgrounds use solid colors. No runtime or API flow changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I twitch my ears at lines refined,
A consented hop, refresh in kind.
Inputs crisp as morning dew,
Black ink bold, a polished view.
OAuth moon, offline boon—
I thump approval: ship it soon! 🐇✨

✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/oauth-profile-completion

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ad5e59b and ac573dc.

📒 Files selected for processing (2)
  • app/auth/signin/page.tsx (1 hunks)
  • app/complete-profile/page.tsx (4 hunks)

Comment @coderabbitai help to get the list of available commands and usage tips.

@codeunia-dev codeunia-dev merged commit 36dad0f into main Sep 15, 2025
2 of 4 checks passed
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.

2 participants