Keep every picked card on the finished Rule, and wait for its words before Continue.

This commit is contained in:
adilallo committed 2026-11-22 17:56:38 -07:00
1 parent a846169960
commit a2815ae05f
16 files changed
+417 -114

No files matched your search

@@ -221,8 +221,7 @@ export function communityRuleEntryFromMethodChip(
const blocks = [...presetBlocks, ...wizardBlocks];
const description = nonEmptyTrimmed(options?.supportText);
if (blocks.length === 0) {
if (!description) return null;
return { title, body: description };
return { title, body: description ?? "" };
}
return {
title,
@@ -387,8 +386,8 @@ export function sectionFromConflict(
}
/**
* Swap template `sections` method rows for fully-resolved entries built from
* `methodSelections` (preset + overrides).
* Swap template `sections` method rows for entries built from
* `methodSelections`.
*/
export function replaceMethodSectionsWithMethodSelections(
sections: CommunityRuleSection[],