Skip to content

feat(bot): give GitHub and Linear their own session category instead of 'other'#4077

Open
kilo-code-bot[bot] wants to merge 1 commit into
mainfrom
feat/bot-platform-categories
Open

feat(bot): give GitHub and Linear their own session category instead of 'other'#4077
kilo-code-bot[bot] wants to merge 1 commit into
mainfrom
feat/bot-platform-categories

Conversation

@kilo-code-bot

@kilo-code-bot kilo-code-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bot-spawned Cloud Agent sessions from GitHub and Linear were previously lumped into the "other" bucket in session filters and badges, because only 'slack' was in KNOWN_PLATFORMS.
  • Added 'github' and 'linear' to KNOWN_PLATFORMS in cli-sessions-router.ts so the SQL NOT IN guard correctly excludes them from the "other" pseudo-filter.
  • Added 'github' and 'linear' to PLATFORM_FILTERS in ChatSidebar.tsx (web) and platform-filter-modal.tsx (mobile) with their display labels.
  • Added distinct session badges for 'github' (zinc) and 'linear' (indigo) in SessionsList.tsx.

Verification

  1. Trigger a bot session from GitHub (or Linear) and confirm the resulting Cloud Agent session appears under the "GitHub" (or "Linear") filter tab, not "Other".
  2. Check the session list badge shows "GitHub" / "Linear" instead of the purple "Extension" fallback.

Visual Changes

N/A

Reviewer Notes

The createdOnPlatform value is already stored correctly as 'github' / 'linear' (set via thread.adapter.name in agent-runner.ts). This change only adds the missing recognition of those values in the filter/display layer.


Built for Remon Oldenbeuving by Kilo for Slack

@kilo-code-bot

kilo-code-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

Straightforward addition of github and linear to KNOWN_PLATFORMS and PLATFORM_FILTERS arrays, with corresponding display labels and session badges. Change propagates correctly to all three consumer routers (cli-sessions, unified-sessions, cli-sessions-v2) via the shared import.

Files Reviewed (4 files)
  • apps/web/src/routers/cli-sessions-router.ts
  • apps/web/src/components/cloud-agent-next/ChatSidebar.tsx
  • apps/mobile/src/components/agents/platform-filter-modal.tsx
  • apps/web/src/components/cloud-agent/SessionsList.tsx

Reviewed by deepseek-v4-pro-20260423 · 271,217 tokens

Review guidance: REVIEW.md from base branch main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants