Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

### Added

- **Landing page repositioned around what DevScope now does.** Developers get a
productivity toolkit for Claude Code (voice when a session needs you, live
topology, error recall, search, slash commands, next-step hints); team leads
get shared know-how and tooling friction, explicitly aggregate. The hero shows
an animated Claude Code session with error recall and voice instead of the
activity feed, and the team mockup drops velocity and workload framing.
- **Privacy section says what developers control:** private mode, team sharing
off by default, export or delete. The FAQ gains "How do I opt out?" and no
longer claims prompts are never collected or that hooks add zero latency.
- **Topology demo matches the real view:** branches, subagent tasks, "Your
turn" / waiting / inactive states, project grouping, live tool counts, cost on
your own sessions, working filters and the detail panel. It no longer captures
scroll, so the page scrolls past it.
- New logo mark and favicons, CSS-only section backdrops (glows, grid/dots,
grain), and balanced headline wrapping.

- **Richer topology cards, project groups and filters.** Your own session cards
show the model, tokens and cost; every visible session shows its tool calls and
failures (`toolCalls` / `toolFailures` on `/api/sessions/active`, counted live
Expand Down
1 change: 1 addition & 0 deletions packages/dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="icon" type="image/png" href="/favicon-192.png" sizes="192x192" />
<link rel="apple-touch-icon" href="/favicon-180.png" />
Expand Down
Binary file modified packages/dashboard/public/favicon-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/dashboard/public/favicon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/dashboard/public/favicon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/dashboard/public/favicon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packages/dashboard/public/favicon.ico
Binary file not shown.
9 changes: 9 additions & 0 deletions packages/dashboard/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions packages/dashboard/src/assets/logo-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 9 additions & 7 deletions packages/dashboard/src/components/flow/DetailPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ interface DetailPanelProps {
/** All topology nodes, to list a session's subagents. */
nodes: Node[];
onClose: () => void;
/** Off in the landing demo, whose sessions do not exist. */
showSessionLink?: boolean;
}

/** Side panel for the selected topology node; follows its live data. */
export function DetailPanel({ node, nodes, onClose }: DetailPanelProps) {
export function DetailPanel({ node, nodes, onClose, showSessionLink = true }: DetailPanelProps) {
return (
<aside className="absolute right-0 top-0 z-10 flex h-full w-[380px] max-w-full flex-col border-l border-gray-800 bg-gray-950/95 shadow-2xl backdrop-blur">
<div className="flex justify-end p-2">
Expand All @@ -31,16 +33,16 @@ export function DetailPanel({ node, nodes, onClose }: DetailPanelProps) {
</div>
<div className="min-h-0 flex-1 overflow-y-auto px-4 pb-4">
{node.type === "session" ? (
<SessionDetails data={node.data as SessionNodeData} nodes={nodes} />
<SessionDetails data={node.data as SessionNodeData} nodes={nodes} showSessionLink={showSessionLink} />
) : (
<AgentDetails data={node.data as AgentNodeData} />
<AgentDetails data={node.data as AgentNodeData} showSessionLink={showSessionLink} />
)}
</div>
</aside>
);
}

function SessionDetails({ data, nodes }: { data: SessionNodeData; nodes: Node[] }) {
function SessionDetails({ data, nodes, showSessionLink }: { data: SessionNodeData; nodes: Node[]; showSessionLink: boolean }) {
const { session, activityState, lastActivityAt, recentEvents, toolCalls, toolFailures } = data;
const state = STATE_CONFIG[activityState];
const agents = nodes.filter(
Expand Down Expand Up @@ -114,12 +116,12 @@ function SessionDetails({ data, nodes }: { data: SessionNodeData; nodes: Node[]

<RecentActivity events={recentEvents} />

<FullSessionLink sessionId={session.id} />
{showSessionLink ? <FullSessionLink sessionId={session.id} /> : null}
</div>
);
}

function AgentDetails({ data }: { data: AgentNodeData }) {
function AgentDetails({ data, showSessionLink }: { data: AgentNodeData; showSessionLink: boolean }) {
return (
<div className="space-y-5">
<header className="space-y-1">
Expand All @@ -137,7 +139,7 @@ function AgentDetails({ data }: { data: AgentNodeData }) {

<RecentActivity events={data.recentEvents} />

<FullSessionLink sessionId={data.sessionId} />
{showSessionLink ? <FullSessionLink sessionId={data.sessionId} /> : null}
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/dashboard/src/components/flow/FlowView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export function FlowView() {
);
}

function FilterToggle({ label, active, onClick }: { label: string; active: boolean; onClick: () => void }) {
export function FilterToggle({ label, active, onClick }: { label: string; active: boolean; onClick: () => void }) {
return (
<button
onClick={onClick}
Expand Down
2 changes: 1 addition & 1 deletion packages/dashboard/src/components/flow/useFlowLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const INACTIVE_AFTER_MS = 2 * 60_000;
const NOW_REFRESH_MS = 10_000;

/** States in which the session is doing work, so its edge animates. */
const WORKING_STATES = new Set<SessionActivityState>(["running", "thinking", "compacting"]);
export const WORKING_STATES = new Set<SessionActivityState>(["running", "thinking", "compacting"]);

/** Events kept per node for the detail panel. */
const RECENT_EVENT_LIMIT = 15;
Expand Down
78 changes: 78 additions & 0 deletions packages/dashboard/src/components/landing/Backdrop.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
import { cn } from "@/lib/utils";

/* ------------------------------------------------------------------ */
/* Section backdrops: glows, a faded grid or dot field, and film */
/* grain. All generated in CSS / an inline SVG filter, so there are */
/* no image assets to license or load. The grid and dot patterns */
/* follow Magic UI's GridPattern / DotPattern (MIT). */
/* ------------------------------------------------------------------ */

/** Brand colours: the logo's green, and the blue/violet of the headline gradient. */
const GREEN = "18 224 127";
const BLUE = "96 165 250";
const VIOLET = "167 139 250";

/** SVG turbulence as a data URI: the usual "grainy gradient" trick. */
const GRAIN =
"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\")";

type Pattern = "grid" | "dots" | "none";

interface Glow {
color: "green" | "blue" | "violet";
/** CSS position of the glow's centre, e.g. "20% 10%". */
at: string;
/** Ellipse size, e.g. "60% 50%". */
size?: string;
opacity?: number;
}

interface BackdropProps {
pattern?: Pattern;
glows?: Glow[];
grain?: boolean;
/** Where the pattern is fully visible before it fades out. */
fadeFrom?: "center" | "top" | "bottom";
className?: string;
}

const RGB = { green: GREEN, blue: BLUE, violet: VIOLET };

const FADE = {
center: "radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%)",
top: "linear-gradient(to bottom, black 0%, transparent 70%)",
bottom: "linear-gradient(to top, black 0%, transparent 70%)",
};

export function Backdrop({ pattern = "none", glows = [], grain = true, fadeFrom = "center", className }: BackdropProps) {
const glowLayers = glows
.map((g) => `radial-gradient(ellipse ${g.size ?? "50% 45%"} at ${g.at}, rgb(${RGB[g.color]} / ${g.opacity ?? 0.14}), transparent 70%)`)
.join(", ");

const patternImage =
pattern === "grid"
? "linear-gradient(to right, rgb(255 255 255 / 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.05) 1px, transparent 1px)"
: pattern === "dots"
? "radial-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px)"
: null;

return (
<div aria-hidden className={cn("pointer-events-none absolute inset-0 -z-10 overflow-hidden", className)}>
{glowLayers ? <div className="absolute inset-0" style={{ backgroundImage: glowLayers }} /> : null}
{patternImage ? (
<div
className="absolute inset-0"
style={{
backgroundImage: patternImage,
backgroundSize: pattern === "grid" ? "48px 48px" : "22px 22px",
maskImage: FADE[fadeFrom],
WebkitMaskImage: FADE[fadeFrom],
}}
/>
) : null}
{grain ? (
<div className="absolute inset-0 opacity-[0.06] mix-blend-overlay" style={{ backgroundImage: GRAIN }} />
) : null}
</div>
);
}
4 changes: 2 additions & 2 deletions packages/dashboard/src/components/landing/ClaudeBrand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const CLAUDE_COLOR = "#DE7356";

/** Inline <span> that renders "Claude Code" in Claude's brand terracotta. */
export function ClaudeBrand() {
return <span style={{ color: CLAUDE_COLOR }}>Claude Code</span>;
return <span className="whitespace-nowrap" style={{ color: CLAUDE_COLOR }}>Claude Code</span>;
}

/**
Expand All @@ -21,7 +21,7 @@ export function brandify(text: string): ReactNode {
if (parts.length === 1) return text;
return parts.map((part, i) =>
part === "Claude Code" ? (
<span key={i} style={{ color: CLAUDE_COLOR }}>
<span key={i} className="whitespace-nowrap" style={{ color: CLAUDE_COLOR }}>
Claude Code
</span>
) : (
Expand Down
20 changes: 12 additions & 8 deletions packages/dashboard/src/components/landing/CtaSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { motion } from "motion/react";
import { usePersona } from "./PersonaContext";
import { getCtaContent } from "./personaContent";
import { brandify } from "./ClaudeBrand";
import { Backdrop } from "./Backdrop";

/* ------------------------------------------------------------------ */
/* CtaSection — Final call-to-action with radial gradient backdrop */
Expand All @@ -13,9 +14,9 @@ const revealVisible = { opacity: 1, y: 0 } as const;
const revealViewport = { once: true, amount: 0.3 } as const;

const DEFAULT = {
heading: "Start building better AI skills today",
heading: "Give Claude Code a memory",
subtext:
"Set up DevScope in under 5 minutes. Open source, self-hosted, zero developer friction.",
"Set up DevScope in under 5 minutes. Open source, self-hostable, and you choose what's shared.",
buttonLabel: "Get Started Free",
};

Expand All @@ -24,11 +25,14 @@ export function CtaSection() {
const c = persona ? getCtaContent(persona) : DEFAULT;

return (
<section id="cta" className="relative overflow-hidden py-24 px-4">
{/* ---- Background radial glow ---- */}
<div
aria-hidden
className="pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_at_center,oklch(0.488_0.243_264.376/0.1),transparent_70%)]"
<section id="cta" className="relative isolate overflow-hidden py-24 px-4">
<Backdrop
pattern="dots"
fadeFrom="center"
glows={[
{ color: "green", at: "50% 55%", size: "40% 50%", opacity: 0.12 },
{ color: "blue", at: "50% 40%", size: "60% 50%", opacity: 0.08 },
]}
/>

<div className="relative max-w-3xl mx-auto text-center">
Expand All @@ -37,7 +41,7 @@ export function CtaSection() {
whileInView={revealVisible}
viewport={revealViewport}
transition={{ duration: 0.5, ease: "easeOut" }}
className="text-3xl sm:text-4xl font-bold tracking-tight text-foreground"
className="text-3xl sm:text-4xl font-bold tracking-tight text-balance text-foreground"
>
{brandify(c.heading)}
</motion.h2>
Expand Down
8 changes: 4 additions & 4 deletions packages/dashboard/src/components/landing/FaqSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ const DEFAULT_FAQ: readonly FaqItem[] = [
{
question: "What is DevScope?",
answer:
"DevScope is an open-source monitoring and upskilling platform for Claude Code developer sessions. It captures session lifecycle events, analyzes AI-assisted workflows, surfaces effective patterns, and helps developers and teams improve their AI engineering skills over time.",
"DevScope is an open-source companion for Claude Code. It remembers your sessions, and your team's if they choose to share, and brings back what worked while you code: fixes for errors you've seen, earlier answers, proven prompts and skills. A dashboard adds search, a live view of every session, and team insights.",
},
{
question: "How does the Claude Code plugin work?",
answer:
"The DevScope plugin installs as Claude Code hooks — lightweight async Bash scripts that fire on session events like prompts, tool calls, and session start/end. All hooks run asynchronously and non-blocking, so there is zero impact on your Claude Code workflow. Install with: claude plugin marketplace add DowLucas/devscope-plugin",
"The DevScope plugin installs as Claude Code hooks that fire on prompts, tool calls and session start and end. Recording runs in the background. The recall and hint hooks run inline, are capped at 5 seconds, are skipped on any error, and can each be turned off. Install with: claude plugin marketplace add DowLucas/devscope-plugin",
},
{
question: "What data does DevScope collect?",
Expand All @@ -50,7 +50,7 @@ const DEFAULT_FAQ: readonly FaqItem[] = [
{
question: "How is DevScope different from Claude Code's built-in analytics?",
answer:
"Claude Code does not currently provide session-level analytics or team-wide upskilling insights. DevScope fills that gap: it tracks which tools you use, how your sessions are structured, where you get stuck, and what patterns lead to successful outcomes — then surfaces those insights in a dashboard you and your team can act on.",
"Claude Code forgets each session when it ends. DevScope keeps them, searchable and shared with the team if you choose, and feeds what worked back into new sessions as they happen, instead of only reporting on them afterwards.",
},
] as const;

Expand Down Expand Up @@ -85,7 +85,7 @@ export function FaqSection() {
transition={{ duration: 0.5, ease: "easeOut" }}
className="text-center mb-12"
>
<h2 className="text-3xl sm:text-4xl font-bold tracking-tight text-foreground">
<h2 className="text-3xl sm:text-4xl font-bold tracking-tight text-balance text-foreground">
Frequently asked questions
</h2>
</motion.div>
Expand Down
Loading
Loading