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

Cannot delete segment rule conditions #3724

Open
4 tasks
rolodato opened this issue Apr 5, 2024 · 0 comments
Open
4 tasks

Cannot delete segment rule conditions #3724

rolodato opened this issue Apr 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working front-end Issue related to the React Front End Dashboard

Comments

@rolodato
Copy link
Contributor

rolodato commented Apr 5, 2024

How are you running Flagsmith

  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way (add details in description below)

Describe the bug

When creating or editing a segment, if you delete any condition and try to add it back in again, sometimes this will not work. I'm not entirely sure how to describe the behaviour.

Steps To Reproduce

  1. Browse to the Segments view
  2. Click on "Create Segment" or edit an existing segment
  3. Click on "Add AND Condition" or "Add AND NOT Condition", it doesn't matter which
  4. Delete the condition you just created
  5. Click on "Add Condition" again, also doesn't matter which
  6. Try to delete the condition again. Nothing happens and no errors are printed to the JS console

Expected behavior

It should always be possible to delete segment conditions. If this is intended behaviour for some reason, an error or tooltip should be displayed.

Screenshots

Screen.Recording.2024-04-05.at.16.28.32.mov
@rolodato rolodato added bug Something isn't working front-end Issue related to the React Front End Dashboard labels Apr 5, 2024
@rolodato rolodato changed the title Segment rule conditions Cannot delete segment rule conditions Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

No branches or pull requests

3 participants