Keep every picked card on the finished Rule, and wait for its words before Continue.
This commit is contained in:
1 parent
a846169960
commit
a2815ae05f
16 files changed
+417
-114
No files matched your search
@@ -15,9 +15,8 @@ import type {
|
||||
|
||||
/**
|
||||
* Catalog copy for method/value sections. Generate draft inserts these into
|
||||
* empty creation-modal fields. Publish still merges them onto saved overrides
|
||||
* so every method carries a complete section payload when the author only
|
||||
* edited a subset of fields.
|
||||
* empty creation-modal fields. Publish keeps blank parts blank — it does not
|
||||
* fill library text the pen holder never wrote.
|
||||
*/
|
||||
type CustomRuleMethodRow = {
|
||||
id: string;
|
||||
@@ -145,6 +144,16 @@ export function emptyDecisionApproachTextFields(
|
||||
};
|
||||
}
|
||||
|
||||
export function emptyDecisionApproachDetails(): DecisionApproachDetailEntry {
|
||||
return {
|
||||
corePrinciple: "",
|
||||
applicableScope: [],
|
||||
selectedApplicableScope: [],
|
||||
stepByStepInstructions: "",
|
||||
objectionsDeadlocks: "",
|
||||
};
|
||||
}
|
||||
|
||||
export function conflictManagementPresetFor(
|
||||
id: string,
|
||||
): ConflictManagementDetailEntry {
|
||||
@@ -233,8 +242,8 @@ export function coreValuePresetForLabel(label: string): CoreValueDetailEntry {
|
||||
}
|
||||
|
||||
/**
|
||||
* Published / display copy: saved draft wins when non-empty; otherwise preset
|
||||
* by chip id (numeric presets), then by label match in `coreValues.json`.
|
||||
* Generate draft and legacy placeholder replacement: saved copy wins when
|
||||
* non-empty; otherwise preset by chip id, then by label match.
|
||||
*/
|
||||
export function mergeCoreValueDetailWithPresets(
|
||||
chipId: string,
|
||||
|
||||
Reference in new issue
Block a user