feat: redesign UI for modern look and clean UX

- Refined dark theme with zinc palette and indigo accents
- Clean sidebar showing only project/session tree
- Moved pattern management to full-screen settings panel
- New session modal with project + pattern picker
- Modern chat with avatar icons, inline send button, Enter-to-send
- Welcome pane when no session is selected
- Added lucide-react for consistent iconography
- Custom scrollbar styling and auto-resize textarea
- Removed clutter: no sidebar pattern list, no verbose headers

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot CLI
2026-03-21 11:22:51 +01:00
co-authored by Copilot
parent 88ca754e7b
commit 32f8de6485
11 changed files with 911 additions and 598 deletions
+8 -4
View File
@@ -3,13 +3,17 @@ import type { ReactNode } from 'react';
interface AppShellProps {
sidebar: ReactNode;
content: ReactNode;
overlay?: ReactNode;
}
export function AppShell({ sidebar, content }: AppShellProps) {
export function AppShell({ sidebar, content, overlay }: AppShellProps) {
return (
<div className="flex min-h-screen bg-slate-950 text-slate-100">
<aside className="w-[360px] shrink-0 border-r border-slate-800 bg-slate-900/90">{sidebar}</aside>
<main className="min-w-0 flex-1">{content}</main>
<div className="relative flex h-screen bg-[var(--color-surface-0)] text-zinc-100">
<aside className="flex w-72 shrink-0 flex-col border-r border-[var(--color-border)] bg-[var(--color-surface-1)]">
{sidebar}
</aside>
<main className="relative min-w-0 flex-1">{content}</main>
{overlay}
</div>
);
}