From 862bf142687458c79316f0c7c49c5bb78683ac76 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 10 Nov 2021 15:56:51 +0000 Subject: [PATCH] Rename blocks to be shorter --- .../components/design/AppPreview/componentStructure.json | 4 ++-- packages/client/manifest.json | 8 ++++---- .../{CardListWithSearch.svelte => CardsBlock.svelte} | 0 .../blocks/{TableWithSearch.svelte => TableBlock.svelte} | 0 packages/client/src/components/app/blocks/index.js | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) rename packages/client/src/components/app/blocks/{CardListWithSearch.svelte => CardsBlock.svelte} (100%) rename packages/client/src/components/app/blocks/{TableWithSearch.svelte => TableBlock.svelte} (100%) diff --git a/packages/builder/src/components/design/AppPreview/componentStructure.json b/packages/builder/src/components/design/AppPreview/componentStructure.json index 9a87bb5761..c4fd33b084 100644 --- a/packages/builder/src/components/design/AppPreview/componentStructure.json +++ b/packages/builder/src/components/design/AppPreview/componentStructure.json @@ -3,8 +3,8 @@ "name": "Blocks", "icon": "Article", "children": [ - "tablewithsearch", - "cardlistwithsearch" + "tableblock", + "cardsblock" ] }, "section", diff --git a/packages/client/manifest.json b/packages/client/manifest.json index 2c49d7d524..4a50a11fce 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -2622,9 +2622,9 @@ } ] }, - "tablewithsearch": { + "tableblock": { "block": true, - "name": "Table with search", + "name": "Table block", "icon": "Table", "styles": ["size"], "info": "Only the first 3 search columns will be used.", @@ -2769,9 +2769,9 @@ } ] }, - "cardlistwithsearch": { + "cardsblock": { "block": true, - "name": "Card list with search", + "name": "Cards block", "icon": "Table", "styles": ["size"], "info": "Only the first 3 search columns will be used.", diff --git a/packages/client/src/components/app/blocks/CardListWithSearch.svelte b/packages/client/src/components/app/blocks/CardsBlock.svelte similarity index 100% rename from packages/client/src/components/app/blocks/CardListWithSearch.svelte rename to packages/client/src/components/app/blocks/CardsBlock.svelte diff --git a/packages/client/src/components/app/blocks/TableWithSearch.svelte b/packages/client/src/components/app/blocks/TableBlock.svelte similarity index 100% rename from packages/client/src/components/app/blocks/TableWithSearch.svelte rename to packages/client/src/components/app/blocks/TableBlock.svelte diff --git a/packages/client/src/components/app/blocks/index.js b/packages/client/src/components/app/blocks/index.js index 7d0d15080a..af238b901d 100644 --- a/packages/client/src/components/app/blocks/index.js +++ b/packages/client/src/components/app/blocks/index.js @@ -1,2 +1,2 @@ -export { default as tablewithsearch } from "./TableWithSearch.svelte" -export { default as cardlistwithsearch } from "./CardListWithSearch.svelte" +export { default as tableblock } from "./TableBlock.svelte" +export { default as cardsblock } from "./CardsBlock.svelte"