Dashboard: an archived flag shows Off with an on/off switch the API refuses

未关闭 适合新手
#1,748 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
frontend

调研方向

首先找到 feature flag 列表、flag 详情页、状态筛选器,以及 dashboard 与 API 的功能对照表。追踪每个视图如何显示已归档的 flag,并与拒绝启用这些 flag 的 API 响应进行比较。完成标准是:已归档的 flag 在文本中标记为“Archived”,没有开关,并通过链接的文档说明如何取消归档,同时功能对照表保持一致。

由索引模型根据 Issue 内容生成。

描述

bug post-launch

On the feature flags list and on a flag's page, an archived flag is shown as "Off" with a live on/off switch. Turning it on is refused by the API ("Unarchive it before turning it on"), and the dashboard offers no way to unarchive it. The status filter offers only All, On and Off.

Expected: an archived flag reads "Archived" (as text, not colour alone), has no on/off switch, and says how to unarchive it (through the API, linking the archived-flags docs). Optionally, the filter offers "Archived".

Notes: keep the dashboard-vs-API capability table consistent (archiving is API only today).

主要语言
Python
星标
0
派生
4
平均合并
5 小时 36 分钟
30 天内合并 PR
509

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Controlvar/controlvar 的其他 Issue

查看 Controlvar/controlvar 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。