Skip to content

fix: update-env-state-on-metadata-update#6831

Open
Zaimwa9 wants to merge 1 commit intomainfrom
fix/update-env-metadata-not-updating-env-state
Open

fix: update-env-state-on-metadata-update#6831
Zaimwa9 wants to merge 1 commit intomainfrom
fix/update-env-metadata-not-updating-env-state

Conversation

@Zaimwa9
Copy link
Contributor

@Zaimwa9 Zaimwa9 commented Mar 3, 2026

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

  • I have read the Contributing Guide.
  • 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.

Changes

Updating custom fields did not update the local env state that is used in the general page. It forced user to refresh after having updated the fields to be able to correctly save the general data.

  • Update local env state after custom fields successful update

How did you test this code?

  • In dashboard

Steps to reproduce:

  1. Create a custom fields required on environment
  2. Toggle change requests (will fail)
  3. Go to Custom fields and update the value
  4. Go back to toggle change requests (would still fail until refresh)

@Zaimwa9 Zaimwa9 requested a review from a team as a code owner March 3, 2026 08:23
@Zaimwa9 Zaimwa9 requested review from kyle-ssg and removed request for a team March 3, 2026 08:23
@vercel
Copy link

vercel bot commented Mar 3, 2026

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

Project Deployment Actions Updated (UTC)
flagsmith-frontend-preview Ready Ready Preview, Comment Mar 3, 2026 8:23am
flagsmith-frontend-staging Ready Ready Preview, Comment Mar 3, 2026 8:23am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Ignored Ignored Mar 3, 2026 8:23am

Request Review

@github-actions github-actions bot added front-end Issue related to the React Front End Dashboard fix labels Mar 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

Docker builds report

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

@Zaimwa9 Zaimwa9 requested a review from talissoncosta March 3, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants