Skip to content

Conversation

@idoshamun
Copy link
Member

@idoshamun idoshamun commented Feb 1, 2026

Summary

  • Adds invalidation of profile experiences query key when work experience is saved or deleted in settings
  • Fixes stale data being displayed on the profile page after editing experiences in settings

The issue occurred because the settings page and profile page use different query keys for experiences. When saving/deleting in settings, only the settings query key was invalidated, but the profile page was still using its cached (now stale) data.

Test plan

  • Edit work experience in settings, save, navigate to profile - changes should be reflected
  • Delete work experience in settings, navigate to profile - deletion should be reflected

Closes ENG-84

Created by Huginn 🐦‍⬛

Preview domain

https://eng-84-work-experience-not-inval.preview.app.daily.dev

When saving or deleting work experience in settings, the profile page
cache was not invalidated, causing stale data to be displayed when
navigating back to the user profile.

Added invalidation of the profile experiences query key alongside the
existing settings query key invalidation in both useUserExperienceForm
and useRemoveExperience hooks.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@vercel
Copy link

vercel bot commented Feb 1, 2026

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

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Feb 1, 2026 8:24pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Feb 1, 2026 8:24pm

Request Review

@idoshamun idoshamun merged commit db44085 into main Feb 2, 2026
11 checks passed
@idoshamun idoshamun deleted the eng-84-work-experience-not-invalidated-when-returning-to-profile branch February 2, 2026 07:52
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.

2 participants