diff --git a/app/src/lib/__tests__/dashboard/neodash-converter.test.ts b/app/src/lib/__tests__/dashboard/neodash-converter.test.ts index 74e45e10..bd359524 100644 --- a/app/src/lib/__tests__/dashboard/neodash-converter.test.ts +++ b/app/src/lib/__tests__/dashboard/neodash-converter.test.ts @@ -174,8 +174,10 @@ describe("convertNeoDash", () => { { type: "graph3d", expected: "graph" }, { type: "3d-graph", expected: "graph" }, { type: "circle_packing", expected: "circle-packing" }, + { type: "circlePacking", expected: "circle-packing" }, { type: "choropleth", expected: "choropleth" }, { type: "areamap", expected: "choropleth" }, + { type: "text", expected: "markdown" }, { type: "unknown_type", expected: "json" }, ])("maps $type → $expected", ({ type, expected }) => { const result = convertNeoDash(makeNeoDash({ type })); diff --git a/app/src/lib/dashboard/neodash-converter.ts b/app/src/lib/dashboard/neodash-converter.ts index 88051c66..e735864f 100644 --- a/app/src/lib/dashboard/neodash-converter.ts +++ b/app/src/lib/dashboard/neodash-converter.ts @@ -20,6 +20,7 @@ const CHART_TYPE_MAP: Record = { gauge: "gauge", sunburst: "sunburst", circle_packing: "circle-packing", + circlePacking: "circle-packing", treemap: "treemap", sankey: "sankey", radar: "radar", @@ -29,6 +30,7 @@ const CHART_TYPE_MAP: Record = { gantt: "gantt", select: "parameter-select", markdown: "markdown", + text: "markdown", form: "form", json: "json", };