ux tweaks to new automations setting page

This commit is contained in:
Peter Clement 2024-01-19 16:04:44 +00:00
parent b05484bb49
commit 242dd3ea52
5 changed files with 7 additions and 7 deletions

View File

@ -15,9 +15,9 @@
<Content showMobileNav>
<SideNav slot="side-nav">
<SideNavItem
text="Automation History"
url={$url("./automation-history")}
active={$isActive("./automation-history")}
text="Automations"
url={$url("./automations")}
active={$isActive("./automations")}
/>
<SideNavItem
text="Backups"

View File

@ -169,13 +169,13 @@
<Layout noPadding>
<Layout gap="XS" noPadding>
<Heading>Automations</Heading>
<Body>See your automation history and edit advanced settings</Body>
<Body size="S">See your automation history and edit advanced settings</Body>
</Layout>
<Divider />
<Layout gap="XS" noPadding>
<Heading size="XS">Chain automations</Heading>
<Body>Allow automations to trigger from other automations</Body>
<Body size="S">Allow automations to trigger from other automations</Body>
<div class="setting-spacing">
<Toggle
text={"Enable chaining"}
@ -190,7 +190,7 @@
<Divider />
<Layout gap="XS" noPadding>
<Heading size="XS">History</Heading>
<Body>Free plan stores up to 1 day of automation history</Body>
<Body size="S">Free plan stores up to 1 day of automation history</Body>
</Layout>
<div class="controls">
<div class="search">

View File

@ -1,5 +1,5 @@
<script>
import { redirect } from "@roxi/routify"
$redirect("../settings/automation-history")
$redirect("../settings/automations")
</script>