Add custom intervention modals

This commit is contained in:
adilallo
2026-05-01 22:05:05 -06:00
parent 58d0e33500
commit dee2dd800e
67 changed files with 3480 additions and 197 deletions
@@ -15,6 +15,19 @@ describe("stripCustomRuleSelectionFields", () => {
selectedConflictManagementIds: ["z"],
methodSectionsPinCommitted: { communication: true },
coreValueDetailsByChipId: { "1": { meaning: "", signals: "" } },
customMethodCardMetaById: {
x: { label: "Custom", supportText: "S" },
},
customMethodCardFieldBlocksById: {
x: [
{
kind: "text",
id: "f1",
blockTitle: "T",
placeholderText: "",
},
],
},
sections: [{ categoryName: "Communication", entries: [] }],
};
const out = stripCustomRuleSelectionFields(prev);
@@ -28,5 +41,7 @@ describe("stripCustomRuleSelectionFields", () => {
expect(out.selectedConflictManagementIds).toBeUndefined();
expect(out.methodSectionsPinCommitted).toBeUndefined();
expect(out.coreValueDetailsByChipId).toBeUndefined();
expect(out.customMethodCardMetaById).toBeUndefined();
expect(out.customMethodCardFieldBlocksById).toBeUndefined();
});
});