feat(next): box user card on /machine
This commit is contained in:
@@ -18,6 +18,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@spoon/ui';
|
||||
|
||||
import type { BoxStatus, LifecycleAction } from './box-status-card';
|
||||
import { BoxStatusCard } from './box-status-card';
|
||||
import { BoxUserCard } from './box-user-card';
|
||||
|
||||
const STATUS_POLL_MS = 10_000;
|
||||
|
||||
@@ -261,6 +262,8 @@ export const MachineShell = () => {
|
||||
onAction={runLifecycle}
|
||||
/>
|
||||
|
||||
<BoxUserCard username={username} />
|
||||
|
||||
<Tabs
|
||||
value={activeTab}
|
||||
onValueChange={(value) => setActiveTab(value as 'files' | 'terminal')}
|
||||
|
||||
Reference in New Issue
Block a user