Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions src/components/cloud-agent-next/ChatSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function SessionRow({
);
}

const PLATFORM_FILTERS = ['all', 'cloud-agent', 'cli', 'extension'] as const;
const PLATFORM_FILTERS = ['all', 'cloud-agent', 'cli', 'slack', 'extension'] as const;

function platformFilterLabel(p: (typeof PLATFORM_FILTERS)[number]): string {
switch (p) {
Expand All @@ -258,6 +258,8 @@ function platformFilterLabel(p: (typeof PLATFORM_FILTERS)[number]): string {
return 'Cloud';
case 'cli':
return 'CLI';
case 'slack':
return 'Slack';
case 'extension':
return 'Ext';
}
Expand Down Expand Up @@ -475,9 +477,11 @@ export function ChatSidebar({
? 'Cloud'
: platformFilter === 'cli'
? 'CLI'
: platformFilter === 'extension'
? 'Ext'
: platformFilter}
: platformFilter === 'slack'
? 'Slack'
: platformFilter === 'extension'
? 'Ext'
: platformFilter}
<X className="h-3 w-3 opacity-60" />
</button>
)}
Expand Down
1 change: 1 addition & 0 deletions src/routers/cli-sessions-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const KNOWN_PLATFORMS = [
'cli',
'agent-manager',
'app-builder',
'slack',
] as const;

const PAGE_SIZE = 10;
Expand Down
Loading