Skip to content

Resolving issues with user profile data handling#75

Merged
aryansondharva merged 1 commit into
mainfrom
copilot/fix-user-profile-data-issues
May 29, 2026
Merged

Resolving issues with user profile data handling#75
aryansondharva merged 1 commit into
mainfrom
copilot/fix-user-profile-data-issues

Conversation

Copilot AI commented May 29, 2026

Copy link
Copy Markdown
Contributor

Pull request created by AI Agent

@vercel

vercel Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
aryansondharva Ready Ready Preview, Comment May 29, 2026 3:05pm
tech-assassin Ready Ready Preview, Comment May 29, 2026 3:05pm

@aryansondharva aryansondharva marked this pull request as ready for review May 29, 2026 15:05
Copilot AI review requested due to automatic review settings May 29, 2026 15:05
@aryansondharva aryansondharva merged commit 3aa058e into main May 29, 2026
7 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates profile synchronization so successful profile edits can notify mounted profile views to refresh data.

Changes:

  • Adds a sanitized profile update event payload builder in auth.service.ts.
  • Dispatches a profile-updated browser event from authService.updateUser.
  • Updates Profile.tsx to listen for the new profile-updated event name.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Client/src/services/auth.service.ts Emits a sanitized profile-updated event when profile data changes.
Client/src/pages/profile/view/Profile.tsx Listens for the new profile update event and refetches the current user profile.

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

Copilot AI requested a review from aryansondharva May 29, 2026 15:08
Copilot stopped work on behalf of aryansondharva due to an error May 29, 2026 15:09
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.

3 participants