diff --git a/packages/builder/src/BackendRoot.svelte b/packages/builder/src/BackendRoot.svelte index 26cd39f756..3ce1ab508b 100644 --- a/packages/builder/src/BackendRoot.svelte +++ b/packages/builder/src/BackendRoot.svelte @@ -1,5 +1,6 @@
@@ -16,29 +20,32 @@
- {#if $store.activeNav === 'database'} + {#if activeNav === 'database'} - {:else if $store.activeNav === 'actions'} + {:else if activeNav === 'actions'} - {:else if $store.activeNav === 'access levels'} + {:else if activeNav === 'access levels'} {/if}
+ diff --git a/packages/builder/src/database/DatabaseRoot.svelte b/packages/builder/src/database/DatabaseRoot.svelte index f8e1b2875e..1bbcb5044e 100644 --- a/packages/builder/src/database/DatabaseRoot.svelte +++ b/packages/builder/src/database/DatabaseRoot.svelte @@ -2,6 +2,7 @@ import HierarchyRow from "./HierarchyRow.svelte" import RecordView from "./RecordView.svelte" import IndexView from "./IndexView.svelte" + import ModelDataTable from "./ModelDataTable" import ActionsHeader from "./ActionsHeader.svelte" import { store } from "../builderStore" import getIcon from "../common/icon" @@ -59,7 +60,7 @@
{#if !$store.currentNode} -

:)

+ {:else if $store.currentNode.type === 'record'} {:else} diff --git a/packages/builder/src/database/ModelDataTable/ModelDataTable.svelte b/packages/builder/src/database/ModelDataTable/ModelDataTable.svelte new file mode 100644 index 0000000000..caaa67b91c --- /dev/null +++ b/packages/builder/src/database/ModelDataTable/ModelDataTable.svelte @@ -0,0 +1,63 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Shoe Database
Table HeadingTable HeadingTable Heading
Table FooterTable FooterTable Footer
Table DataTable DataTable Data
Table DataTable DataTable Data
+ +
+ + \ No newline at end of file diff --git a/packages/builder/src/database/ModelDataTable/index.js b/packages/builder/src/database/ModelDataTable/index.js new file mode 100644 index 0000000000..57b83126d6 --- /dev/null +++ b/packages/builder/src/database/ModelDataTable/index.js @@ -0,0 +1 @@ +export { default } from "./ModelDataTable.svelte" \ No newline at end of file diff --git a/packages/builder/src/database/ModelDataTable/test/ModelDataTable.spec.js b/packages/builder/src/database/ModelDataTable/test/ModelDataTable.spec.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/builder/src/nav/BackendNav.svelte b/packages/builder/src/nav/BackendNav.svelte index 1da512d4eb..6b78842f40 100644 --- a/packages/builder/src/nav/BackendNav.svelte +++ b/packages/builder/src/nav/BackendNav.svelte @@ -1,4 +1,5 @@
- {#each $store.hierarchy.children as record} + + +
+
+
+
+ +
- - - +
+ +
+
diff --git a/packages/builder/src/userInterface/UserInterfaceRoot.svelte b/packages/builder/src/userInterface/UserInterfaceRoot.svelte index 18ad131923..ebb78d98e9 100644 --- a/packages/builder/src/userInterface/UserInterfaceRoot.svelte +++ b/packages/builder/src/userInterface/UserInterfaceRoot.svelte @@ -126,6 +126,7 @@ flex-direction: column; } +<<<<<<< HEAD .preview-pane { grid-column: 2; margin: 40px; @@ -134,6 +135,8 @@ box-shadow: 0 0px 6px rgba(0, 0, 0, 0.05); } +======= +>>>>>>> new backend beginnings .components-pane { grid-column: 3; background-color: var(--secondary5);