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 refresh 404 #1285

Closed
greghart opened this issue Feb 19, 2025 · 2 comments
Closed

User Photo Gallery refresh 404 #1285

greghart opened this issue Feb 19, 2025 · 2 comments

Comments

@greghart
Copy link
Contributor

greghart commented Feb 19, 2025

Steps to Reproduce

  1. Go to user profile page (user with photos) eg. https://openbeta.io/u/{username}
  2. Click a photo to open modal
  3. Observe URL updates to a url like https://openbeta.io/p/{username}/{filename}.jpg
  4. Refresh the page
  5. Observe 404 page

Screenshots

Image

Expected Behavior

A few options for expected behavior:

  • Don't update client history with URL that doesn't exist in step 2/3
  • Setup a new route for the URL that displays profile page with modal open to given photo name
  • Setup a new route for the URL that displays a photo in a standalone page.

Current Behavior

Bad URL + 404

Browser & version

Chrome 133.0.6943.98

Operating system

Windows 10

May be fixed in #1270 as part of refactor mentioned by this comment

@greghart greghart changed the title User Gallery Photo Page refresh 404 User Photo Gallery refresh 404 Feb 19, 2025
@mikeschen
Copy link
Contributor

Seems to be fixed in #1293
Will confirm and close.

@mikeschen
Copy link
Contributor

Fixed in #1293 however wrong URL shows on reload. This will be fixed in #1214 #1214

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

No branches or pull requests

2 participants