Skip to content

Conversation

@kyle-ssg
Copy link
Member

@kyle-ssg kyle-ssg commented Jan 6, 2026

Thanks for submitting a PR! Please check the boxes below:

  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Closes #6482.

a.mov

Refetches feature list on page focus.

How did you test this code?

As above

@kyle-ssg kyle-ssg requested a review from a team as a code owner January 6, 2026 21:58
@kyle-ssg kyle-ssg requested review from talissoncosta and removed request for a team January 6, 2026 21:58
@vercel
Copy link

vercel bot commented Jan 6, 2026

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

Project Deployment Review Updated (UTC)
flagsmith-frontend-preview Ready Ready Preview, Comment Jan 6, 2026 9:58pm
flagsmith-frontend-staging Ready Ready Preview, Comment Jan 6, 2026 9:58pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
docs Ignored Ignored Jan 6, 2026 9:58pm

@github-actions github-actions bot added the front-end Issue related to the React Front End Dashboard label Jan 6, 2026
@kyle-ssg kyle-ssg changed the title re-fetch features on page focus feat: re-fetch features on page focus Jan 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-6483 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-6483 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-6483 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-6483 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-6483 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-6483 Finished ✅ Results

Copy link
Contributor

@Zaimwa9 Zaimwa9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change for big wahou effect 👍

@kyle-ssg kyle-ssg merged commit 2544ca0 into main Jan 7, 2026
26 of 27 checks passed
@kyle-ssg kyle-ssg deleted the feat/reload-feature-list-on-window-focus branch January 7, 2026 09:45
talissoncosta added a commit that referenced this pull request Jan 7, 2026
- Resolve conflict: delete FeaturesPage.js (migrated to FeaturesPage.tsx)
- Incorporate PR #6483 feature: refetch features on window focus
  - Add refetchOnFocus: true to useFeatureListWithApiKey
  - Add setupListeners() to Redux store for focus/reconnect handling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refetch feature list on window focus

3 participants