Force Frontend to Fetch Fresh Profile Data #212

Closed
opened 2026-06-05 09:00:10 +02:00 by kincses · 2 comments
Owner

Problem: Vue frontend used stale cache instead of fetching fresh profile data from backend /auth/me endpoint. Fix: Added onMounted with fetchUser() call in ProfileView.vue + loading spinner.

Problem: Vue frontend used stale cache instead of fetching fresh profile data from backend /auth/me endpoint. Fix: Added onMounted with fetchUser() call in ProfileView.vue + loading spinner.
kincses added this to the Phase 1: Core Functionality Fixes milestone 2026-06-05 09:00:10 +02:00
kincses added the Scope: FrontendType: BugStatus: In Progress labels 2026-06-05 09:00:15 +02:00
kincses started working 2026-06-05 09:00:15 +02:00
Author
Owner

▶️ Munka megkezdve: 2026-06-05 09:00:15

▶️ **Munka megkezdve:** 2026-06-05 09:00:15
kincses added Status: Done and removed Status: In Progress labels 2026-06-05 09:01:55 +02:00
kincses worked for 1 minute 2026-06-05 09:01:55 +02:00
Author
Owner

Munka befejezve: 2026-06-05 09:01:54

Technikai Összefoglaló:
Added onMounted with authStore.fetchUser() call in ProfileView.vue to force-fetch fresh profile data from GET /auth/me on page load. Added isPageLoading spinner to prevent null rendering during fetch. Build verified: 112 modules, 0 errors.

⏱️ Az idő rögzítve.

✅ **Munka befejezve:** 2026-06-05 09:01:54 **Technikai Összefoglaló:** Added onMounted with authStore.fetchUser() call in ProfileView.vue to force-fetch fresh profile data from GET /auth/me on page load. Added isPageLoading spinner to prevent null rendering during fetch. Build verified: 112 modules, 0 errors. ⏱️ *Az idő rögzítve.*
Sign in to join this conversation.