UI: Ability to temporarily disable/pause individual Segment Overrides (like "commenting out")
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách xác định giao diện xem chi tiết của feature và luồng đánh giá segment override. Theo dõi cách một override được lưu trữ và chọn, sau đó xác định trạng thái active/paused được lưu bền vững, UI bị làm mờ hoặc Dormant, cùng hành vi fallback. Bổ sung coverage cho thấy các override bị tạm dừng sẽ bị bỏ qua, trong khi các override đang active vẫn giữ nguyên hành vi hiện tại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 9.9k
- Fork
- 658
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 171
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Flagsmith/flagsmith
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Flagsmith/flagsmith#9119 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fix Button Alignment in SDK Installation SectionCó thể đã có người làm @manueldezman đã nhận 4 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Flagsmith/flagsmith#9056 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidanceCó thể đã có người làm @jcd1991 đã nhận 5 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Flagsmith/flagsmith#9045 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Expose whether an organisation is blocked for API usageCó thể đã có người làm @PiUnknown đã nhận 39 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Flagsmith/flagsmith#8773 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Flagsmith/flagsmith
Issue tương tự
-
documentation good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
documentation good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
[Suggestion]: AgentermĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
collabnix/awesome-mcp-lists#490 ·
Maintainer thường phản hồi trong vòng 2 ngày