mirror of
https://github.com/stablyai/orca.git
synced 2026-10-19 00:03:20 +00:00
* Add workspace board live resize behavior * Add workspace board create controls * Hide empty status sidebar sections * Update default workspace status order
21 lines
884 B
TypeScript
21 lines
884 B
TypeScript
import type { WorkspaceStatusDefinition } from './types'
|
|
|
|
export const DEFAULT_STATUS_VISUALS: Record<string, { color: string; icon: string }> = {
|
|
todo: { color: 'neutral', icon: 'circle' },
|
|
'in-progress': { color: 'conductor-progress', icon: 'conductor-progress' },
|
|
'in-review': { color: 'conductor-review', icon: 'conductor-review' },
|
|
completed: { color: 'conductor-done', icon: 'conductor-done' }
|
|
}
|
|
|
|
export const DEFAULT_WORKSPACE_STATUSES = [
|
|
{ id: 'completed', label: 'Done', color: 'conductor-done', icon: 'conductor-done' },
|
|
{ id: 'in-review', label: 'In review', color: 'conductor-review', icon: 'conductor-review' },
|
|
{
|
|
id: 'in-progress',
|
|
label: 'In progress',
|
|
color: 'conductor-progress',
|
|
icon: 'conductor-progress'
|
|
},
|
|
{ id: 'todo', label: 'Todo', color: 'neutral', icon: 'circle' }
|
|
] as const satisfies readonly WorkspaceStatusDefinition[]
|