feat: add TeamPage component and remove TeamDialog for improved team management interface

This commit is contained in:
Anish Sarkar 2026-05-19 11:40:06 +05:30
parent 49e1395299
commit 3b168e987d
6 changed files with 28 additions and 48 deletions

View file

@ -0,0 +1,15 @@
import { TeamContent } from "./team-content";
export default async function TeamPage({
params,
}: {
params: Promise<{ search_space_id: string }>;
}) {
const { search_space_id } = await params;
return (
<div className="w-full select-none space-y-6">
<TeamContent searchSpaceId={Number(search_space_id)} />
</div>
);
}

View file

@ -307,9 +307,9 @@ export function AgentPermissionsContent() {
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="allow">Allow run without asking</SelectItem>
<SelectItem value="ask">Ask pause for approval</SelectItem>
<SelectItem value="deny">Deny block silently</SelectItem>
<SelectItem value="allow">Allow (run without asking)</SelectItem>
<SelectItem value="ask">Ask (pause for approval)</SelectItem>
<SelectItem value="deny">Deny (block silently)</SelectItem>
</SelectContent>
</Select>
<p className="text-[11px] text-muted-foreground">

View file

@ -285,8 +285,8 @@ export function AgentStatusContent() {
</AlertTitle>
<AlertDescription>
<p>
Showing a read-only mirror of the backend's <code>AgentFeatureFlags</code>. Flip an env
var and restart the backend to change a value.
Showing a read-only mirror of the backend's <code>AgentFeatureFlags</code>. Flip an
env var and restart the backend to change a value.
</p>
</AlertDescription>
</Alert>