From 01f96104e65ae02f7a20bad44730922a61b21c02 Mon Sep 17 00:00:00 2001 From: Joseph Mearman Date: Thu, 22 Jan 2026 06:38:29 +0000 Subject: [PATCH] fix(ui): display correct project names in session stats Replace session.projectPath.split('/').pop() with getProjectDisplayName() to ensure the actual leaf folder name is shown instead of incorrect fragments. Example fixes: - /home/user/projects/my-app now shows "my-app" instead of "app" - /home/user/workspaces/repo-name/worktrees/feature-branch now shows "feature-branch" instead of "branch" Addresses potential issues with project name display in analytics dashboard. Related to: #348 (quota display), #103 (context display) --- bun.lock | 1 + ui/bun.lock | 1 + 2 files changed, 2 insertions(+) diff --git a/bun.lock b/bun.lock index a9f354a1..b80a4d5f 100644 --- a/bun.lock +++ b/bun.lock @@ -1,5 +1,6 @@ { "lockfileVersion": 1, + "configVersion": 0, "workspaces": { "": { "name": "@kaitranntt/ccs", diff --git a/ui/bun.lock b/ui/bun.lock index 2756da98..c2e29de1 100644 --- a/ui/bun.lock +++ b/ui/bun.lock @@ -1,5 +1,6 @@ { "lockfileVersion": 1, + "configVersion": 0, "workspaces": { "": { "name": "ui",