From a4425d89179249f6c995ab51ee0f73ba6d5b9dce Mon Sep 17 00:00:00 2001 From: Taskmaster-1 <126377225+Taskmaster-1@users.noreply.github.com> Date: Wed, 21 Oct 2026 21:54:49 +0530 Subject: [PATCH 1/2] Bring the paper-and-ink brand inside the app Paper is now the default theme (dark is opt-in), with ink pill buttons, larger type and a faint grain. Approvals are paper slips that get an APPROVED or DENIED stamp, the task page reads like a document and ends with a printed run receipt, Home is a briefing with a first-run guide, empty states show what the page will hold, and the sign-in page reuses the landing's slip on an amber field. --- apps/web/app/(app)/activity/page.tsx | 145 +++- apps/web/app/(app)/app-shell.tsx | 2 +- apps/web/app/(app)/automations/page.tsx | 226 ++++-- apps/web/app/(app)/connections/page.tsx | 70 +- apps/web/app/(app)/inbox/page.tsx | 167 ++++- apps/web/app/(app)/knowledge/page.tsx | 100 ++- apps/web/app/(app)/page.tsx | 667 +++++++++++++++--- apps/web/app/(app)/settings/model-picker.tsx | 14 +- apps/web/app/(app)/settings/page.tsx | 121 ++-- apps/web/app/(app)/settings/policy-editor.tsx | 29 +- apps/web/app/(auth)/auth-form.tsx | 125 ++-- apps/web/app/globals.css | 201 ++++-- apps/web/app/layout.tsx | 5 +- .../web/components/approval/approval-card.tsx | 354 ++++++---- .../components/approval/approval-compact.tsx | 62 +- apps/web/components/approval/payload.tsx | 70 +- .../web/components/landing/signature-hero.tsx | 13 +- apps/web/components/shell/rail.tsx | 24 +- apps/web/components/task/composer.tsx | 74 +- apps/web/components/task/conversation.tsx | 397 ++++++++--- apps/web/components/task/run-panel.tsx | 68 +- apps/web/components/task/task-view.tsx | 70 +- apps/web/components/ui.tsx | 95 ++- apps/web/lib/theme-boot.ts | 7 +- apps/web/lib/theme.ts | 9 +- docs/design.md | 85 ++- 26 files changed, 2303 insertions(+), 897 deletions(-) diff --git a/apps/web/app/(app)/activity/page.tsx b/apps/web/app/(app)/activity/page.tsx index 8133a06..f432a5f 100644 --- a/apps/web/app/(app)/activity/page.tsx +++ b/apps/web/app/(app)/activity/page.tsx @@ -58,7 +58,12 @@ export default function ActivityPage() { return ( + Activity & spend + + } description="Every run, what it cost, and every tool call with the decision behind it." actions={ - - + + + + + + ); @@ -448,3 +457,74 @@ function AutomationForm({ ); } + +function splitSchedule(cron: string): [string, string | null] { + const d = describeCron(cron); + if (!d) return ["Custom", null]; + const [when, at] = d.split(" at "); + return at ? [when!, at] : [d, null]; +} + +/** The tear-off stub on the left of a schedule ticket. */ +function ScheduleStub({ cron, enabled }: { cron: string; enabled: boolean }) { + const [when, at] = splitSchedule(cron); + return ( + + ); +} + +/** Empty-state art: two schedule tickets. */ +function SampleSchedule() { + const ticket = (at: string, when: string, name: string, line: string) => ( +
+
+ {at} + + {when} + +
+
+

{name}

+

{line}

+
+ + + + + Next in 14h + +
+
+
+ ); + return ( +
+
+ {ticket("17:00", "Fridays", "What shipped", "Summarise merged PRs and closed issues")} +
+
+ {ticket( + "8:00", + "Weekdays", + "Morning brief", + "Unread email, today's Linear, anything urgent", + )} +
+
+ ); +} diff --git a/apps/web/app/(app)/connections/page.tsx b/apps/web/app/(app)/connections/page.tsx index 1962219..460bc1b 100644 --- a/apps/web/app/(app)/connections/page.tsx +++ b/apps/web/app/(app)/connections/page.tsx @@ -6,7 +6,6 @@ import { ExternalLink, KeyRound, LoaderCircle, - Plug, Plus, RefreshCw, Trash, @@ -16,6 +15,7 @@ import { type FormEvent, useEffect, useState } from "react"; import { Sheet } from "@/components/overlay"; import { useToast } from "@/components/toast"; import { + BrandGlyph, EFFECT_EXPLAINER, EffectPill, EmptyState, @@ -99,6 +99,7 @@ export default function ConnectionsPage() { return ( ) : list.length === 0 ? ( } + illustration={} title="No connections yet" action={ {!c.tools || c.tools.length === 0 ? ( -

+

{c.tools ? "This server doesn't offer any tools." : "Tools appear after a successful check."} @@ -543,3 +544,54 @@ function AddConnection({ ); } + +/** Empty-state art: three tools wired into the agent with dotted lines. */ +function SampleConnections() { + const tools = [ + { name: "GitHub", y: 34, note: "read" }, + { name: "Linear", y: 100, note: "write" }, + { name: "Notion", y: 166, note: "read" }, + ]; + return ( +

+ + {tools.map((t, i) => ( +
+ + + + {t.name} + + + {t.note} + + +
+ ))} +
+ +
+
+ ); +} diff --git a/apps/web/app/(app)/inbox/page.tsx b/apps/web/app/(app)/inbox/page.tsx index a758351..cb3167b 100644 --- a/apps/web/app/(app)/inbox/page.tsx +++ b/apps/web/app/(app)/inbox/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { ArrowLeft, ArrowRight, Inbox as InboxIcon } from "lucide-react"; +import { ArrowLeft, ArrowRight } from "lucide-react"; import Link from "next/link"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { @@ -8,11 +8,12 @@ import { type ApprovalHandle, ApprovalReceipt, approvalTitle, + MiniStamp, } from "@/components/approval/approval-card"; import { Markdown } from "@/components/markdown"; -import { EffectPill, EmptyState, Kbd, Skeleton, StatusDot } from "@/components/ui"; +import { EffectPill, Kbd, Monogram, Skeleton, StatusDot } from "@/components/ui"; import { type Approval, api } from "@/lib/api"; -import { cx, formatDateTime, formatRelative } from "@/lib/format"; +import { cx, formatDateTime, formatRelative, splitToolName } from "@/lib/format"; import { useApi } from "@/lib/use-api"; import { useMedia } from "@/lib/use-media"; import { useWorkspace } from "@/lib/workspace"; @@ -112,6 +113,7 @@ export default function InboxPage() { const loading = approvals === null; const empty = !loading && ordered.length === 0; + const signed = ordered.length - pending.length; return (
@@ -122,41 +124,53 @@ export default function InboxPage() { mobileDetail && "hidden md:flex", )} > -
-

Inbox

-

+

+

+ Inbox + {pending.length > 0 ? ( + {pending.length} + ) : null} +

+

{loading ? "Loading…" : pending.length - ? `${pending.length} waiting on you` - : "Nothing waiting"} + ? `${pending.length === 1 ? "One thing" : `${pending.length} things`} waiting for your signature${signed ? ` · ${signed} signed` : ""}` + : signed + ? `All signed · ${signed} this visit` + : "Nothing waiting on you"}

{loading ? ( -
+
{[0, 1, 2].map((i) => ( - + ))}
- ) : empty ? null : ( + ) : empty ? ( +
+ +
+ ) : ( groups.map((g) => ( -
-
+
+
!decided[a.toolCallId]) ? "needs" : "done"} /> {g.title || "Untitled task"}
-
    +
      {g.items.map((a) => { const d = decided[a.toolCallId]; const on = a.toolCallId === selected; + const { source } = splitToolName(a.name); return (
)) )} + {!loading ? ( + + Earlier decisions are kept in Activity + + + ) : null}
{!empty && !loading ? (