From 74832d13035922c2d41c9a349f5cdbbd62c6f629 Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Wed, 27 May 2020 13:21:13 +0100 Subject: [PATCH] Update to component groupings --- .../ComponentSelectionList.svelte | 2 - .../userInterface/temporaryPanelStructure.js | 65 +++++++------------ 2 files changed, 25 insertions(+), 42 deletions(-) diff --git a/packages/builder/src/components/userInterface/ComponentSelectionList.svelte b/packages/builder/src/components/userInterface/ComponentSelectionList.svelte index 6fc4193017..0bf848e4a8 100644 --- a/packages/builder/src/components/userInterface/ComponentSelectionList.svelte +++ b/packages/builder/src/components/userInterface/ComponentSelectionList.svelte @@ -52,11 +52,9 @@ diff --git a/packages/builder/src/components/userInterface/temporaryPanelStructure.js b/packages/builder/src/components/userInterface/temporaryPanelStructure.js index eba4c51bb1..f27b3c7788 100644 --- a/packages/builder/src/components/userInterface/temporaryPanelStructure.js +++ b/packages/builder/src/components/userInterface/temporaryPanelStructure.js @@ -10,15 +10,6 @@ export default { name: "Basic", isCategory: true, children: [ - { - _component: "##builtin/screenslot", - name: "Screenslot", - description: - "This component is a placeholder for the rendering of a screen within a page.", - icon: "ri-crop-2-fill", - commonProps: {}, - children: [], - }, { _component: "@budibase/standard-components/container", name: "Container", @@ -222,6 +213,7 @@ export default { valueKey: "checked", control: Checkbox, }, + ], }, }, @@ -248,21 +240,6 @@ export default { children: [], properties: { design: { ...all } }, }, - { - name: "Nav Bar", - _component: "@budibase/standard-components/Navigation", - description: - "A component for handling the navigation within your app.", - icon: "ri-navigation-fill", - children: [], - properties: { design: { ...all } }, - }, - ], - }, - { - name: "Data", - isCategory: true, - children: [ { name: "Table", description: "A component that generates a table from your data.", @@ -283,22 +260,6 @@ export default { }, children: [], }, - { - _component: "@budibase/standard-components/datatable", - name: "DataTable", - description: "A table for displaying data from the backend.", - icon: "ri-archive-drawer-fill", - properties: { design: { ...all } }, - children: [], - }, - { - _component: "@budibase/standard-components/dataform", - name: "DataForm", - description: "Form stuff", - icon: "ri-file-edit-fill", - properties: { design: { ...all } }, - children: [], - }, { name: "Chart", _component: "@budibase/standard-components/datachart", @@ -325,5 +286,29 @@ export default { }, ], }, + { + name: "Layouts", + isCategory: true, + children: [ + { + _component: "##builtin/screenslot", + name: "Screenslot", + description: + "This component is a placeholder for the rendering of a screen within a page.", + icon: "ri-crop-2-fill", + commonProps: {}, + children: [], + }, + { + name: "Nav Bar", + _component: "@budibase/standard-components/Navigation", + description: + "A component for handling the navigation within your app.", + icon: "ri-navigation-fill", + children: [], + properties: { design: { ...all } }, + }, + ], + }, ], }