fix(ui): keep the chat launcher and Archie bar clear of controls and the canvas

Reserve bottom space for the floating launcher at phone width, drop the
duplicate provider class and the setup guidance sentence, give the source
and model rows room to size, place the Archie bar below the canvas, use the
shared Empty on the not-found page, and let the org overview list titles.
This commit is contained in:
sam committed 2026-10-18 15:54:31 +11:00
1 parent 61d93b6469
commit ac60445bf8
8 files changed
+56 -48

No files matched your search

+2 -2
View File
@@ -61,7 +61,7 @@ const eyebrow = "mb-2 text-[11px] font-medium tracking-[0.06em] text-fg-subtle u
<Input
:id="`org-alias-${alias}`"
:model-value="model"
class="max-w-md flex-1 font-mono"
class="max-w-md flex-1 font-mono max-sm:basis-full"
placeholder="provider/model"
:aria-invalid="issue(String(alias)) ? true : undefined"
@update:model-value="(v) => setAlias(String(alias), String(v))"
@@ -83,7 +83,7 @@ const eyebrow = "mb-2 text-[11px] font-medium tracking-[0.06em] text-fg-subtle u
<div v-for="(provider, name) in providers" :key="name" class="flex flex-wrap items-center gap-3 border-b border-border px-4 py-2.5 last-of-type:border-b-0">
<span class="w-28 font-mono text-sm font-medium">{{ name }}</span>
<Input v-model="provider.class" class="w-36 font-mono" :aria-label="`Class for ${name}`" />
<Input v-model="provider.base_url" class="max-w-md flex-1 font-mono" placeholder="base URL (empty: class default)" :aria-label="`Base URL for ${name}`" />
<Input v-model="provider.base_url" class="max-w-md flex-1 font-mono max-sm:basis-full" placeholder="base URL (empty: class default)" :aria-label="`Base URL for ${name}`" />
<Button variant="ghost" size="icon" class="ml-auto" :aria-label="`Remove provider ${name}`" @click="delete providers[name]"><Trash2 /></Button>
</div>
<form class="flex gap-2 border-t border-border px-4 py-3" @submit.prevent="addProvider">
+6 -7
View File
@@ -3,7 +3,7 @@ import { ArrowRight } from "@lucide/vue";
import PageHeader from "@/base/PageHeader.vue";
import { Button } from "@/components/ui/button";
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { Card, CardHeader, CardTitle } from "@/components/ui/card";
/**
* The organisation home: where each kind of organisation configuration lives,
@@ -13,11 +13,11 @@ import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/ca
* consumes it.
*/
const areas = [
{ title: "Execution identities", detail: "Who runs work, what it may touch, and the Git author it commits as.", to: "/org/agents" },
{ title: "Connections", detail: "The forge an organisation clones and pushes through, and which agents may use it.", to: "/org/connections" },
{ title: "Models", detail: "The providers and aliases runs and chat resolve.", to: "/org/models" },
{ title: "Schedules and playbooks", detail: "Automation that starts work without a request.", to: "/org/schedules" },
{ title: "Members and access", detail: "People, workspaces and the policies that permit operations.", to: "/org/members" },
{ title: "Execution identities", to: "/org/agents" },
{ title: "Connections", to: "/org/connections" },
{ title: "Models", to: "/org/models" },
{ title: "Schedules and playbooks", to: "/org/schedules" },
{ title: "Members and access", to: "/org/members" },
];
</script>
@@ -34,7 +34,6 @@ const areas = [
<Card size="sm" class="h-full transition-colors hover:border-primary/40">
<CardHeader>
<CardTitle>{{ area.title }}</CardTitle>
<CardDescription>{{ area.detail }}</CardDescription>
</CardHeader>
</Card>
</RouterLink>