UI: "View / Edit as JSON" mode for rapid visibility of complex Features and Segments
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
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- react
- Lĩnh vực
- frontend
Hướng nghiên cứu
Không có tệp, bài kiểm thử hoặc entry point nào được nêu. Hãy bắt đầu bằng cách tìm trang chi tiết feature trong dashboard và xác định dữ liệu override của feature và segment được tải và lưu như thế nào. Được xem là hoàn thành khi trang có thể chuyển đổi giữa chế độ xem biểu mẫu hiện có và chế độ xem JSON dễ đọc, đồng thời hành vi chỉnh sửa và lưu được yêu cầu đã được xác định và kiểm thử.
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?
When a feature has multiple Segment Overrides (e.g., targeting by Client Type like Android/iOS, Internal Users, or specific User IDs), understanding the full evaluation logic from the dashboard is very tedious.
Currently, our developers have to manually scroll and open each Segment Override one by one just to see its conditions and values. There is no way to get a single, holistic view of the feature's entire state. When you are trying to quickly debug why a specific user_id is getting a certain value, digging through UI accordions is slow and frustrating.
Describe the solution you'd like.
We would love a "UI View / JSON View" toggle directly on the feature detail page.
Switching to "JSON View" would replace the standard UI forms with a syntax-highlighted code editor displaying the feature and all of its segments in a single, readable JSON payload. Ideally, this JSON view would also be directly editable, allowing developers to make quick tweaks (like updating a list of User IDs) and hitting "Save" without touching the visual UI.
Example of the desired JSON representation:
{
"feature": {
"name": "new_checkout_flow",
"description": "Revamped checkout experience",
"default_enabled": false,
"default_value": "standard"
},
"segment_overrides": [
{
"segment_name": "internal_qa_team",
"conditions": [
{ "property": "user_id", "operator": "IN", "value": "1001, 1002, 1055" }
],
"override_enabled": true,
"override_value": "debug_checkout"
},
{
"segment_name": "mobile_beta_users",
"conditions": [
{ "property": "client_type", "operator": "EQUALS", "value": "Android" },
{ "property": "app_version", "operator": "GREATER_THAN", "value": "2.1.0" }
],
"override_enabled": true,
"override_value": "v2_mobile_checkout"
}
]
}
Describe alternatives you've considered
-
Clicking through the UI: The current method. It is incredibly time-consuming to open 5+ segment overrides just to audit the current targeting logic.
-
Using Terraform/API to read state: As mentioned in other feedback, we use Terraform. However, forcing developers to pull down state via CLI or write API queries just to quickly read how a feature is configured completely defeats the purpose of having a fast, accessible Flagsmith Dashboard. We want the agility of the UI, but with the readability of code.
Additional context
Giving developers a raw JSON view drastically reduces cognitive load. It allows them to use standard browser search (Ctrl+F / Cmd+F) to instantly find if a specific rule or ID exists within a massive feature configuration, saving a significant amount of time during debugging and incident response.
- 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)
- 168
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
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 3 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 4 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 38 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
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500Có thể đã có người làm @SAY-5 đã nhận 13 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Flagsmith/flagsmith#8510 · 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ự
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NousResearch/hermes-official-plugins#538 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidateCó thể đã có người làm @houzhongyu đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MakazhanAlpamys/Soup#3415 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ 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 2 ngày