Skip to content

feat: add change password functionality to user info panel#672

Merged
surajair merged 3 commits intodevfrom
change-password
Feb 5, 2026
Merged

feat: add change password functionality to user info panel#672
surajair merged 3 commits intodevfrom
change-password

Conversation

@amitdhiman5086
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Feb 4, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: sdk.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 4, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
sdk 0b23271 Feb 05 2026, 04:52 AM

Copy link
Contributor

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

Adds a “Change Password” flow to the user info panel, including a UI modal, client mutation hook, and a new server-side action wired into the existing action registry.

Changes:

  • Add a “Change Password” button to the user info hovercard and lazy-load a modal via Suspense.
  • Implement ChangePasswordModal with client-side validation and react-query mutation.
  • Add CHANGE_PASSWORD action constant plus corresponding Express/Supabase action registration.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/pages/panels/user-info.tsx Adds Change Password entry point and lazy-loaded modal wiring
src/pages/panels/change-password-modal.tsx New dialog UI + client-side password validation + mutation usage
src/pages/hooks/utils/use-change-password.ts New react-query mutation for CHANGE_PASSWORD
src/pages/constants/ACTIONS.ts Registers CHANGE_PASSWORD action name
src/express/actions/user/index.ts Exports ChangePasswordAction
src/express/actions/user/change-password.ts Implements server-side password change action
src/express/actions/storage/index.ts Registers CHANGE_PASSWORD in SupabaseAuthActions

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

@vercel
Copy link

vercel bot commented Feb 5, 2026

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

Project Deployment Actions Updated (UTC)
sdk Ready Ready Preview, Comment Feb 5, 2026 4:51am

Request Review

@surajair surajair merged commit 50cdb04 into dev Feb 5, 2026
2 of 3 checks passed
@surajair surajair deleted the change-password branch February 5, 2026 04:51
surajair added a commit that referenced this pull request Feb 5, 2026
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