Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

753 B
Raw Blame
import {
  formatActiveFilterBadge,
  formatActiveFilterLabel
} from '../../../src/shared/workspace-view/workspace-row-filters'

export const WORKSPACE_OPTIONS_TITLE = 'Workspace options'

export function workspaceOptionsBadgeText(activeFilterCount: number): string | null {
  return activeFilterCount > 0 ? formatActiveFilterBadge(activeFilterCount) : null
}

export function workspaceOptionsAccessibilityLabel(activeFilterCount: number): string {
  return activeFilterCount > 0
    ? `${WORKSPACE_OPTIONS_TITLE} (${formatActiveFilterLabel(activeFilterCount)} active)`
    : WORKSPACE_OPTIONS_TITLE
}

// Why: the host may be headless, so the note can't promise a desktop sidebar.
export const WORKSPACE_VIEW_SHARED_NOTE = 'Synced across your devices'