Skip to content

Fix: ProfileGallery API fetch#170

Open
JuuyouSan wants to merge 1 commit into
devfrom
bug/dashboardProfile-ProfileGalleryInitialFetch
Open

Fix: ProfileGallery API fetch#170
JuuyouSan wants to merge 1 commit into
devfrom
bug/dashboardProfile-ProfileGalleryInitialFetch

Conversation

@JuuyouSan
Copy link
Copy Markdown
Contributor

@JuuyouSan JuuyouSan commented May 20, 2026

What changed

  • ProfileGallery didn't receive any images and fetched images on its own. We already fetch on auth login, and cache in local storage. Changed it so that dashboard/Profile main calls ProfileGallery AND sends initialImages so ProfileGallery doesn't need to call backend on its own.
  • Cleaned up some old comments and whitespace

Why

  • Reduce API calls

How to test

  1. Open app and travel around
  2. Track backend logs

Checklist

  • PR title is conventional (feat:, fix:, chore:, docs:)
  • Tested locally
  • No secrets/credentials logged or committed
  • This PR is reasonably sized (if large, explained why)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

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

Project Deployment Actions Updated (UTC)
meteormate Ready Ready Preview, Comment May 20, 2026 10:41pm

Request Review

@JuuyouSan JuuyouSan changed the title Bug: ProfileGallery API fetch Fix: ProfileGallery API fetch May 20, 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.

1 participant