UI: Ability to temporarily disable/pause individual Segment Overrides (like "commenting out")
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Beginne damit, die Detailansicht des Features und den Auswertungspfad für Segment-Overrides zu lokalisieren. Verfolge, wie ein Override gespeichert und ausgewählt wird, und definiere anschließend den persistierten active/paused-Zustand, die ausgegraute oder Dormant-UI sowie das Fallback-Verhalten. Füge Tests hinzu, die zeigen, dass pausierte Overrides ignoriert werden, während aktive Overrides das aktuelle Verhalten beibehalten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Is your feature request related to a problem?
Our developers frequently create complex feature setups and experiments using multiple Segment Overrides with layered conditions (e.g., targeting by Client Type like Android/iOS, Internal Users, or specific Regional Regulations).
Currently, if an experiment needs to be paused, or a specific segment rule needs to be temporarily deactivated, the only option is to completely delete the segment override from the feature. When we need to re-enable it weeks or months later, developers have to rebuild that complex logic from scratch. This is highly tedious, causes unnecessary friction, and drastically increases the risk of human error.
Describe the solution you'd like.
We would like the ability to toggle the active state of a specific segment override directly within the feature's UI, effectively "commenting it out."
Disable/Pause Toggle: Add a simple "Active / Paused" toggle switch (or a pause icon) next to each Segment Override row inside the feature detail view.
Visual Feedback: When an override is paused, the UI block should be visually greyed out or marked with a "Dormant" badge.
Evaluation Logic: When paused, the Flagsmith evaluation engine should completely ignore this segment override, falling back to the next active segment or the default feature value, exactly as if the override had been deleted.
Describe alternatives you've considered
- Deleting and Recreating: The current forced workaround. It destroys the historical configuration and relies on developers perfectly remembering complex multi-condition logic to rebuild it later.
- Using Terraform to "comment out" the block: As mentioned in other feedback, we use Terraform, but relying on TF PRs for every small toggle completely defeats the purpose of having an agile Flagsmith Dashboard.
- Creating duplicate "dummy" features: Cloning the feature just to preserve the segment logic clutters the project workspace and creates technical debt.
Additional context
Giving developers the ability to "comment out" a segment override aligns perfectly with standard engineering workflows. It allows teams to safely pause experiments, handle seasonal feature toggles (e.g., "Black Friday Promos"), or temporarily roll back a specific cohort's access without permanently destroying the configuration they spent time building.
- Vorherrschende Sprache
- Python
- Sterne
- 9.9k
- Forks
- 658
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 171
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Flagsmith/flagsmith
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Flagsmith/flagsmith#9119 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Fix Button Alignment in SDK Installation SectionEvtl. vergeben @manueldezman hat das vor 4 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Flagsmith/flagsmith#9056 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidanceEvtl. vergeben @jcd1991 hat das vor 5 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
Flagsmith/flagsmith#9045 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Expose whether an organisation is blocked for API usageEvtl. vergeben @PiUnknown hat das vor 39 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Flagsmith/flagsmith#8773 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Flagsmith/flagsmith
Ähnliche Issues
-
documentation good first issue help wanted
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
-
documentation good first issue help wanted
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
-
documentation good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
-
[Suggestion]: AgentermOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
collabnix/awesome-mcp-lists#490 ·
Maintainer antworten meist innerhalb von 2 Tagen