UI: "View / Edit as JSON" mode for rapid visibility of complex Features and Segments
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- react
- 領域
- frontend
調査の方向性
ファイル、テスト、エントリポイントは指定されていません。まず dashboard 内の feature 詳細ページを見つけ、feature と segment の override データがどのように読み込まれ、保存されるかを確認します。ページが既存のフォームビューと読みやすい JSON ビューを切り替えられ、要求された編集および保存の動作が定義され、テストされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 9.9k
- フォーク
- 658
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 168
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Flagsmith/flagsmith のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Flagsmith/flagsmith#9119 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Fix Button Alignment in SDK Installation Section対応中かも @manueldezman が 3 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Flagsmith/flagsmith#9056 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidance対応中かも @jcd1991 が 4 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
Flagsmith/flagsmith#9045 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Expose whether an organisation is blocked for API usage対応中かも @PiUnknown が 38 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Flagsmith/flagsmith#8773 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500対応中かも @SAY-5 が 13 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Flagsmith/flagsmith#8510 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Flagsmith/flagsmith の issue をすべて見る
似ている issue
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NousResearch/hermes-official-plugins#538 ·
メンテナーはふだん 3 日以内に返信
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidate対応中かも @houzhongyu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MakazhanAlpamys/Soup#3415 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信