Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

docs(templates): fix comparison table category from Frozen Column to Comparison (#7162)

Joeydee509620ac7
diff --git a/.changeset/table-comparison-category-fix.md b/.changeset/table-comparison-category-fix.md
new file mode 100644
index 0000000000..dd340bb90a
--- /dev/null
+++ b/.changeset/table-comparison-category-fix.md
@@ -0,0 +1,9 @@
+---
+'@astryxdesign/cli': patch
+---
+
+[fix] Fix comparison table category from "Table - Frozen Column" to "Table - Comparison"
+@ernestt
+
+The category described an implementation detail (the frozen label column) instead of
+what the template is for. Builders searching by layout type now find it under Comparison.
diff --git a/packages/cli/assets/templates/pages/table-comparison/template.doc.mjs b/packages/cli/assets/templates/pages/table-comparison/template.doc.mjs
index bcee2612fc..ac1f5c4c02 100644
--- a/packages/cli/assets/templates/pages/table-comparison/template.doc.mjs
+++ b/packages/cli/assets/templates/pages/table-comparison/template.doc.mjs
@@ -8,5 +8,5 @@ export const doc = {
description:
'Transposed matrix that puts candidates in the columns and criteria in grouped rows, with a pinned label column that survives horizontal scroll, columns you can swap or add, and best-in-row marks you can toggle. Compare, comparison, matrix, spec sheet, feature grid, pricing table, benchmark, frozen column, sticky column, or side-by-side.',
isReady: true,
- category: 'Table - Frozen Column',
+ category: 'Table - Comparison',
};
diff --git a/packages/cli/authoring/doctypes/template/type.ts b/packages/cli/authoring/doctypes/template/type.ts
index 5ab09a4d7e..590d999e1c 100644
--- a/packages/cli/authoring/doctypes/template/type.ts
+++ b/packages/cli/authoring/doctypes/template/type.ts
@@ -132,6 +132,7 @@ export type TemplateCategory =
| 'Table - Filtering'
| 'Table - Tree/Hierarchical List'
| 'Table - Frozen Column'
+ | 'Table - Comparison'
| 'Table - Chart'
| 'Table - Heatmap'
// Form