Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

667 B
Raw Blame
import type { CycleStatus } from '@/lib/api/endpoints/cycles';

// Display metadata for the cycle status, which the API derives from the dates.
// Colors are raw hex so they can drive both a dot and a text color, like the
// initiative status meta. The label of a status is a message under `cycles.status`.
export const CYCLE_STATUS_META: Record<CycleStatus, { color: string }> = {
  upcoming: { color: '#6366f1' },
  active: { color: '#eab308' },
  completed: { color: '#22c55e' },
};

// The order the list groups cycles in: what is running now, what is next, what is
// behind.
export const CYCLE_STATUS_ORDER: CycleStatus[] = ['active', 'upcoming', 'completed'];