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 first creation of segment in self-hosted context #1394

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

PrettyWood
Copy link
Contributor

@PrettyWood PrettyWood commented Aug 18, 2022

When starting a brand new instance of flagsmith in self-hosted environment, I couldn't create a segment. This is because I didn't set the segment_operators remote config value.
But this was not explained directly in the product. This is a proposition to fix this behavior

closes #1354

BEFORE

Screenshot 2022-08-18 at 14 56 43

AFTER

Screenshot 2022-08-18 at 15 32 46

@PrettyWood PrettyWood changed the title fix segments in self-hosted context fix first creation of segment in self-hosted context Aug 18, 2022
@@ -1,8 +1,15 @@
import React, { Component } from 'react';
import CreateSegmentModal from '../modals/CreateSegment';
import TryIt from '../TryIt';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unused import

@dabeeeenster dabeeeenster added the bug Something isn't working label Aug 18, 2022
@dabeeeenster dabeeeenster added this to the Front End ToDo milestone Aug 18, 2022
@kyle-ssg
Copy link
Member

Ah this is a great quality of life change, thanks so much @PrettyWood

@kyle-ssg kyle-ssg merged commit d4f3392 into Flagsmith:main Aug 19, 2022
@PrettyWood PrettyWood deleted the fix-segments branch August 19, 2022 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot create a segment on self-hosted
3 participants