Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: has override logic to check enabled state differences #5094

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

kyle-ssg
Copy link
Member

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

The has segment override boolean didn't check for whether the enabled state was different to the defaults.

Before:
image

After:
image

How did you test this code?

As above

@kyle-ssg kyle-ssg requested a review from a team as a code owner February 12, 2025 13:42
@kyle-ssg kyle-ssg requested review from tiagoapolo and removed request for a team February 12, 2025 13:42
Copy link

vercel bot commented Feb 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 1:43pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 1:43pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Feb 12, 2025 1:43pm

@github-actions github-actions bot added the front-end Issue related to the React Front End Dashboard label Feb 12, 2025
Copy link
Contributor

github-actions bot commented Feb 12, 2025

Docker builds report

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

@github-actions github-actions bot added the fix label Feb 12, 2025
@@ -634,12 +634,10 @@ const UserPage: FC<UserPageType> = (props) => {
Utils.featureStateToValue(v) ===
actualValue,
)
const flagDifferent =
Copy link
Member Author

Choose a reason for hiding this comment

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

Unused variable

Copy link
Contributor

github-actions bot commented Feb 12, 2025

Uffizzi Preview deployment-60851 was deleted.

@kyle-ssg kyle-ssg merged commit 328443e into main Feb 12, 2025
33 checks passed
@kyle-ssg kyle-ssg deleted the fix/has-override-logic branch February 12, 2025 17:00
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