Redesign env config UI: tabs, 2-col form, remove per-field badges

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 21:10:54 +08:00
parent 0d2ce9c126
commit 576f6fbcfc
6 changed files with 312 additions and 136 deletions
+5 -1
View File
@@ -207,7 +207,11 @@ def build_env_ui_payload(
_build_field(key, label, note, schema, values)
for key, label, note in sec["fields"]
]
groups.append({"title": sec["title"], "fields": fields})
groups.append({
"title": sec["title"],
"fields": fields,
"has_restart": any(f.get("restart_required") for f in fields),
})
return groups