Skip to content
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

User Photo Gallery not updating after uploading photo. #1270

Open
mikeschen opened this issue Jan 29, 2025 · 1 comment
Open

User Photo Gallery not updating after uploading photo. #1270

mikeschen opened this issue Jan 29, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mikeschen
Copy link
Contributor

Steps to Reproduce

  1. Go to Profile (openbeta.io aka Prod.)
  2. Click to Upload
  3. Upload photo
  4. See that photo is not shown, unless full reload is clicked.

Screenshots

Image

Expected Behavior

Image should appear in gallery.
Same issue with Profile pic, after updating profile, then going back to User Profile page old image is still there.
This is likely issue with API call not going thru and/or triggered correctly.
Solutions include leveraging Router callback or useEffect.

Current Behavior

Image only appears on full page reload

Browser & version

All

Operating system

All

@mikeschen mikeschen added the bug Something isn't working label Jan 29, 2025
@vnugent
Copy link
Contributor

vnugent commented Jan 30, 2025

The UserGallery component is buggy. We should migrate it to Next 13 app dir structure and simplify the code in the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants