Files
joelhooks__joelclaw/apps/web/app/adrs/band-config.ts
Joel Hooks 94f210001e fix: upsertContent treats soft-deleted records as fresh inserts
Soft-deleted records (deletedAt set) were matching the hash guard
and returning 'skipped', preventing re-sync after removal.
Now skips hash guard for soft-deleted records so they get restored.
2026-03-01 07:34:17 -08:00

37 lines
946 B
TypeScript

export const BAND_ORDER = ["do-now", "next", "de-risk", "park"] as const;
export type PriorityBand = (typeof BAND_ORDER)[number];
export const BAND_CONFIG: Record<
PriorityBand,
{ label: string; color: string; bg: string; border: string; glow: string }
> = {
"do-now": {
label: "Do Now",
color: "text-claw",
bg: "bg-pink-950/20",
border: "border-pink-800/40",
glow: "shadow-[0_0_6px_rgba(255,20,147,0.2)]",
},
next: {
label: "Next",
color: "text-amber-400",
bg: "bg-amber-950/20",
border: "border-amber-800/40",
glow: "shadow-[0_0_6px_rgba(251,191,36,0.15)]",
},
"de-risk": {
label: "De-risk",
color: "text-blue-400",
bg: "bg-blue-950/20",
border: "border-blue-800/40",
glow: "shadow-[0_0_6px_rgba(96,165,250,0.15)]",
},
park: {
label: "Park",
color: "text-neutral-500",
bg: "bg-neutral-900/30",
border: "border-neutral-700/40",
glow: "",
},
};