-
Notifications
You must be signed in to change notification settings - Fork 38
Fix #163: incorrect light theme color in github sign in button in sign in page #199
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
base: main
Are you sure you want to change the base?
Conversation
|
@Karelaking is attempting to deploy a commit to the Divya Tiwari's projects Team on Vercel. A member of the Team first needs to authorize it. |
β Deploy Preview for tiwaridivya25-devconnect ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Thanks for creating a PR for your Issue!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Fixes the GitHub OAuth buttonβs hover styling in light theme (to keep the GitHub icon visible), while also refactoring some UI formatting and changing how the βcreate conversationβ modal loads user lists.
Changes:
- Adjust GitHub social button icon container hover background in light theme on Login/Register pages.
- Reformat several JSX/template-string blocks for readability/consistency.
- Update
CreateConversationModalto fetch users via theprofilestable (with backend-availability guard) instead of the Supabase admin API.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/pages/LoginPage.tsx | Tweaks light-theme hover styling for the GitHub sign-in button (icon container) and applies formatting cleanups. |
| src/pages/RegisterPage.tsx | Mirrors the GitHub button hover styling fix from Login and applies formatting cleanups. |
| src/components/CreateConversationModal.tsx | Switches user fetching to a profiles table query with demo/back-end availability handling and minor formatting. |
π‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| id: profile.id, | ||
| email: '', // Email not exposed for privacy | ||
| user_metadata: { | ||
| full_name: profile.full_name, | ||
| avatar_url: profile.avatar_url, |
Copilot
AI
Jan 29, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Users are mapped with email: '' for privacy, but this component still uses user.email for filtering and renders it in the list. This produces a blank secondary line and makes email search ineffective. Consider making email optional and updating filter/render to use available profile fields (e.g., full_name/username) instead.
Co-authored-by: Copilot <[email protected]>
π Description
π― Type of Change
π Related Issues
Closes #163
π Changes Made
π§ͺ Testing
Testing Steps:
π¨ Screenshots/Demo
π¦ Dependencies
β Checklist
Code Quality
npm run lintand fixed all issuesTesting & Functionality
Documentation
Git & Commits
Breaking Changes
π Additional Context
π Reviewer Notes
π Deployment Notes