feat(research): add workspace and evidence-linked finding UI

This commit is contained in:
Boki 2026-10-24 01:26:07 -04:00
parent ee45257507
commit e3bd708838
21 changed files with 4566 additions and 1379 deletions

View file

@ -10,8 +10,13 @@ export function Layout() {
// Determine title from current route
const getTitle = () => {
const path = location.pathname.replace('/', '');
if (!path || path === 'dashboard') {return 'Dashboard';}
if (path === 'research' || path.startsWith('research/')) {
return 'Research';
}
if (!path || path === 'dashboard') {
return 'Dashboard';
}
// Handle nested routes
if (path.includes('/')) {
const parts = path.split('/');
@ -20,7 +25,7 @@ export function Layout() {
return parts[1].charAt(0).toUpperCase() + parts[1].slice(1);
}
}
return path.charAt(0).toUpperCase() + path.slice(1);
};