Fix: sync profile image across screens using ProfileContext#298
Fix: sync profile image across screens using ProfileContext#29823abdul23 merged 2 commits intoopencodeiiita:mainfrom
Conversation
|
Hey @git-Rag PR Template is not followed. Kindly follow the template & edit it again for consideration as a valid pull request. Thanks for contributing in OpenCode'25 ✨✨! Correct Tempelate: |
|
Hey @git-Rag Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm. Thanks for contributing in OpenCode'25 ✨✨! |
|
You’re right — the initial fix ensures profile image sync between Profile and Home screens, but there are additional screens where the avatar is rendered that are still consuming Clerk data directly. As I've mentioned before in my previous comments I only specifically did the Home screen and profile right now I misunderstood it a bit that we had to finish all the files and that's on me but the code is solely done by me and I can show you logs and instances of my work yesterday the photos are not AI generated there's Clerk logs for proving that aswell. I’m updating those screens to use the shared ProfileContext as well so the profile image stays consistent across all surfaces where it appears. I’ll push the updated changes shortly and confirm testing across all relevant screens. |
|
are the changes done ? |
|
I'll get it done in an hour or two, I apologize for the delay. |
|
I’ve now updated all remaining screens where the profile/avatar UI is rendered (Map, Event Gallery, My Uploads, Settings, Bubble Details) to consume ProfileContext. The profile avatar now stays in sync instantly across the app after update, without reloads. I’ve also attached a screen recording demonstrating the fix end-to-end on my device. Testing.mp4In the video, you can see the profile avatar syncing correctly across all screens (Home, Map, Event Gallery, My Uploads, Bubble Details, and Settings). The brief pauses you may notice are due to loading time, as the backend was intentionally disabled during these UI checks. The profile data is fetched locally via ProfileContext, and once available, it reflects consistently everywhere. Please feel free to review the recording, and let me know if there’s any screen I might have missed. I’ll be happy to address it. |
|
Apologies for any inconvenience caused. This is my first time contributing to an open-source project, and I’m actively learning through the process. Thank you for your patience and for pointing things out, I really appreciate the guidance. |
|
Hey @git-Rag Your PR has been merged 🥳🥳 and you have earned 30 points. Thanks for contributing in OpenCode'25✨✨ |



Issue: #296
Summary
Testing