feat: various fixes

This commit is contained in:
Arman committed 2022-11-14 09:37:52 +01:00
1 parent e326bf6215
commit 1771514c98
5 files changed
+11 -16

No files matched your search

+5 -8
View File
@@ -80,8 +80,6 @@
</div>
<div class="status u-margin-inline-start-auto">
<Status status={$log.data.status}>{$log.data.status}</Status>
<time>TBI</time>
</div>
</div>
<div class="tabs u-margin-block-start-48 u-sep-block-end">
@@ -147,7 +145,6 @@
</div>
<div>
<p>Triggered by: {$log.data.trigger}</p>
<p>Type: TBI</p>
</div>
<div class="status u-margin-inline-start-auto">
<Status status={$log.data.status}>{$log.data.status}</Status>
@@ -162,16 +159,16 @@
on:click={() => (selectedTab = 'response')}>
Response
</Tab>
<Tab
selected={selectedTab === 'errors'}
on:click={() => (selectedTab = 'errors')}>
Errors
</Tab>
<Tab
selected={selectedTab === 'logs'}
on:click={() => (selectedTab = 'logs')}>
Logs
</Tab>
<Tab
selected={selectedTab === 'errors'}
on:click={() => (selectedTab = 'errors')}>
Errors
</Tab>
</Tabs>
</div>
<div class="theme-dark u-stretch u-margin-block-start-32 u-overflow-hidden">
@@ -26,7 +26,7 @@
</script>
<WizardStep>
<svelte:fragment slot="title">Create document data</svelte:fragment>
<svelte:fragment slot="title">Create data</svelte:fragment>
<svelte:fragment slot="subtitle">
Provide document data based on attributes you created earlier.
</svelte:fragment>
@@ -5,7 +5,7 @@
</script>
<WizardStep>
<svelte:fragment slot="title">Set Permissions</svelte:fragment>
<svelte:fragment slot="title">Permissions</svelte:fragment>
<svelte:fragment slot="subtitle">
Assign read or write permissions at the <b> Collection Level</b> or
<b> Document Level</b>. If collection Level permissions are assigned, permissions applied to
@@ -133,7 +133,9 @@
$log.show = true;
$log.func = $func;
$log.data = activeDeployment;
}}>Logs</Button>
}}>
Build logs
</Button>
<Button secondary on:click={() => execute.set($func)}>Execute now</Button>
</svelte:fragment>
</CardGrid>
@@ -154,7 +156,6 @@
<TableCellHead width={100}>Deployment ID</TableCellHead>
<TableCellHead width={140}>Created</TableCellHead>
<TableCellHead width={100}>Status</TableCellHead>
<TableCellHead width={90}>Build time</TableCellHead>
<TableCellHead width={70}>Size</TableCellHead>
<TableCellHead width={25} />
</TableHeader>
@@ -179,8 +180,7 @@
{deployment.status}
</Status>
</TableCell>
<!-- TODO: replace with build time, when implemented -->
<TableCellText title="Build Time">TBI</TableCellText>
<TableCellText title="Size">
{calculateSize(deployment.size)}
</TableCellText>
@@ -55,7 +55,6 @@
<TableCellHead width={140}>Created</TableCellHead>
<TableCellHead width={110}>Status</TableCellHead>
<TableCellHead width={90}>Trigger</TableCellHead>
<TableCellHead width={70}>Type</TableCellHead>
<TableCellHead width={100}>Duration</TableCellHead>
</TableHeader>
<TableBody>
@@ -86,7 +85,6 @@
<span class="text u-trim">{execution.trigger}</span>
</Pill>
</TableCellText>
<TableCellText title="Type">TBI</TableCellText>
<TableCellText title="Duration">
{calculateTime(execution.duration)}</TableCellText>
</TableRowButton>