feat: wire workspace CRUD UI to backend
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import { EditorPanel } from "@/components/editor/EditorPanel";
|
||||
import { TerminalPanel } from "@/components/terminal/TerminalPanel";
|
||||
import { FileExplorerPanel } from "@/components/workspace/FileExplorerPanel";
|
||||
import { StatusBar } from "@/components/workspace/StatusBar";
|
||||
import { WorkspaceSelector } from "@/components/workspace/WorkspaceSelector";
|
||||
import { useWorkspaceUiStore } from "@/lib/store/workspace-ui-store";
|
||||
import {
|
||||
findFileByPath,
|
||||
@@ -28,9 +29,11 @@ export function WorkspaceShell({ files }: WorkspaceShellProps) {
|
||||
return (
|
||||
<div className="flex h-full w-full flex-col bg-background text-foreground">
|
||||
{/* Toolbar */}
|
||||
<header className="flex h-9 shrink-0 items-center border-b border-border bg-sidebar px-3">
|
||||
<header className="flex h-9 shrink-0 items-center gap-1 border-b border-border bg-sidebar px-3">
|
||||
<h1 className="text-sm font-semibold">codespace</h1>
|
||||
<Separator orientation="vertical" className="mx-3 h-4" />
|
||||
<Separator orientation="vertical" className="mx-2 h-4" />
|
||||
<WorkspaceSelector />
|
||||
<Separator orientation="vertical" className="mx-2 h-4" />
|
||||
<div className="flex items-center gap-1">
|
||||
<Button
|
||||
variant="ghost"
|
||||
|
||||
Reference in New Issue
Block a user