export type SingleTabloTabId =
  | "overview"
  | "etapes"
  | "tasks"
  | "files"
  | "discussion"
  | "events"
  | "roadmap";

export function getSingleTabloStatusConfig(status: string) {
  switch (status) {
    case "in_progress":
      return {
        label: "En cours",
        badgeClass:
          "bg-yellow-50 text-yellow-700 border border-yellow-200 dark:bg-yellow-950/30 dark:text-yellow-400 dark:border-yellow-800",
      };
    case "done":
      return {
        label: "Terminé",
        badgeClass:
          "bg-green-50 text-green-600 border border-green-200 dark:bg-green-950/30 dark:text-green-400 dark:border-green-800",
      };
    default:
      return {
        label: "À faire",
        badgeClass:
          "bg-blue-50 text-blue-600 border border-blue-200 dark:bg-blue-950/30 dark:text-blue-400 dark:border-blue-800",
      };
  }
}
