ui tweaks

This commit is contained in:
talksik
2026-04-07 15:31:10 -07:00
parent 4a4e09ae0b
commit a9a51f499e
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ function TopBar() {
const { data: particle } = useParticle(path); const { data: particle } = useParticle(path);
return ( return (
<div className="drag-region flex items-center gap-3 border-b px-3 py-1"> <div className="drag-region flex items-center gap-3 border-b px-3 py-1 bg-muted">
<WindowControls /> <WindowControls />
<Breadcrumb className="no-drag"> <Breadcrumb className="no-drag">
+4 -4
View File
@@ -1,6 +1,6 @@
import { useCallback, useMemo, useState } from "react"; import { useCallback, useMemo, useState } from "react";
import { useNavigate, useParams } from "react-router-dom"; import { useNavigate, useParams } from "react-router-dom";
import { List, LayoutGrid } from "lucide-react"; import { List, LayoutGrid, CircleDot, CircleCheckBig } from "lucide-react";
import { particlePath } from "@/lib/particle-path"; import { particlePath } from "@/lib/particle-path";
import { ParticleListView } from "@/features/particles/particle-list-view"; import { ParticleListView } from "@/features/particles/particle-list-view";
import { ParticleGridView } from "@/features/particles/particle-grid-view"; import { ParticleGridView } from "@/features/particles/particle-grid-view";
@@ -49,14 +49,14 @@ export default function NetworkRoot() {
return ( return (
<div className="relative flex min-h-0 flex-1 flex-col"> <div className="relative flex min-h-0 flex-1 flex-col">
{/* Top bar — stays in place */} {/* Top bar — stays in place */}
<div className="flex shrink-0 items-center justify-between px-3 pt-2 pb-1 border-b"> <div className="flex shrink-0 items-center justify-between p-1 border-b">
<Tabs <Tabs
value={statusTab} value={statusTab}
onValueChange={(v) => setStatusTab(v as "open" | "closed")} onValueChange={(v) => setStatusTab(v as "open" | "closed")}
> >
<TabsList> <TabsList>
<TabsTrigger value="open">Open</TabsTrigger> <TabsTrigger value="open"><CircleDot className="size-3 text-green-500" /> Open</TabsTrigger>
<TabsTrigger value="closed">Closed</TabsTrigger> <TabsTrigger value="closed"><CircleCheckBig className="size-3" /> Closed</TabsTrigger>
</TabsList> </TabsList>
</Tabs> </Tabs>
<ToggleGroup <ToggleGroup
@@ -255,7 +255,7 @@ export function ParticleListView({ streams, networkId, isLoading, selectedIndex
<div className="mx-auto flex h-full max-w-sm flex-col items-center justify-center gap-2 px-4 text-center"> <div className="mx-auto flex h-full max-w-sm flex-col items-center justify-center gap-2 px-4 text-center">
<Radio className="text-muted-foreground size-8" /> <Radio className="text-muted-foreground size-8" />
<p className="text-muted-foreground text-sm"> <p className="text-muted-foreground text-sm">
No recent streams yet. Start a conversation using the keyboard shortcuts below. No streams here. Start a conversation using the keyboard shortcuts below.
</p> </p>
</div> </div>
); );