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> <Content showMobileNav>
<SideNav slot="side-nav"> <SideNav slot="side-nav">
<SideNavItem <SideNavItem
text="Automation History" text="Automations"
url={$url("./automation-history")} url={$url("./automations")}
active={$isActive("./automation-history")} active={$isActive("./automations")}
/> />
<SideNavItem <SideNavItem
text="Backups" text="Backups"

View File

@ -169,13 +169,13 @@
<Layout noPadding> <Layout noPadding>
<Layout gap="XS" noPadding> <Layout gap="XS" noPadding>
<Heading>Automations</Heading> <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> </Layout>
<Divider /> <Divider />
<Layout gap="XS" noPadding> <Layout gap="XS" noPadding>
<Heading size="XS">Chain automations</Heading> <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"> <div class="setting-spacing">
<Toggle <Toggle
text={"Enable chaining"} text={"Enable chaining"}
@ -190,7 +190,7 @@
<Divider /> <Divider />
<Layout gap="XS" noPadding> <Layout gap="XS" noPadding>
<Heading size="XS">History</Heading> <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> </Layout>
<div class="controls"> <div class="controls">
<div class="search"> <div class="search">

View File

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