From 480bfeb9a5b4c6b18de3416f75ffade478812517 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Sun, 27 Sep 2026 14:48:31 +0700 Subject: [PATCH] feat : default condition note for constellations to C0 = 100% --- components/admin/guide-section-editor.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/admin/guide-section-editor.tsx b/components/admin/guide-section-editor.tsx index 22880e6..8eafa59 100644 --- a/components/admin/guide-section-editor.tsx +++ b/components/admin/guide-section-editor.tsx @@ -229,6 +229,7 @@ const teamMemberApplyOptions = [ ] as const satisfies readonly (readonly [TeamMemberApplyField, string])[]; const multipleApplyStorageKey = (guideId: string) => `buzz-sheet:team-multiple-apply:${guideId}`; +const DEFAULT_CONSTELLATION_CONDITION_NOTE = "C0 = 100%"; type Guide = { id: string; characterKey: string; @@ -2495,7 +2496,7 @@ function ConstellationEditor({ const [groups, setGroups] = useState(() => { const source = initial.constellationGroups.length ? initial.constellationGroups - : [{ id: "constellation-condition-default", name: null, note: null, rows: [] }]; + : [{ id: "constellation-condition-default", name: null, note: DEFAULT_CONSTELLATION_CONDITION_NOTE, rows: [] }]; return source.map((group) => ({ clientId: group.id, name: group.name ?? "", @@ -2581,7 +2582,7 @@ function ConstellationEditor({ { clientId: createClientId("constellation-condition"), name: "", - note: "", + note: DEFAULT_CONSTELLATION_CONDITION_NOTE, rows: makeRows(), }, ]);