From 1e1a9ba978a80633a8566210c55ae7838d3f4ed1 Mon Sep 17 00:00:00 2001 From: nicholaspsmith Date: Tue, 27 Jan 2026 11:09:56 -0500 Subject: [PATCH] feat: display project name in dashboard header - Add project name below lance-context title - Extract directory name from full project path - Style with secondary text color Co-Authored-By: Claude --- src/dashboard/ui.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/dashboard/ui.ts b/src/dashboard/ui.ts index 2a0bf24..dda3dc0 100644 --- a/src/dashboard/ui.ts +++ b/src/dashboard/ui.ts @@ -132,11 +132,29 @@ export function getDashboardHTML(): string { } .header-left { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 4px; + } + + .header-left h1 { display: flex; align-items: center; gap: 12px; } + .project-name { + font-size: 14px; + color: var(--text-secondary); + font-weight: 500; + padding-left: 52px; /* Align with text after logo */ + } + + .project-name:empty { + display: none; + } + .header-right { display: flex; align-items: center; @@ -772,6 +790,7 @@ export function getDashboardHTML(): string { lance-context +