- Remove tab system entirely (tab-store, tab-bar, tab-link) - Split monolithic AuthContext into zustand auth + workspace stores - Move issue components/config to features/issues/ - Move WebSocket provider to features/realtime/ - Move api.ts to shared/ - Migrate all consumers from useAuth() to direct store imports - Simplify sidebar: replace hand-built dropdown with shadcn DropdownMenu, replace custom layout wrapper with SidebarInset - Remove unused @multica/store and @multica/hooks dependencies - Add @/ path alias and zustand dependency - Update CLAUDE.md with feature-based architecture conventions Net change: +293 / -2435 lines Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
20 lines
591 B
TypeScript
20 lines
591 B
TypeScript
import type { IssuePriority } from "@multica/types";
|
|
|
|
export const PRIORITY_ORDER: IssuePriority[] = [
|
|
"urgent",
|
|
"high",
|
|
"medium",
|
|
"low",
|
|
"none",
|
|
];
|
|
|
|
export const PRIORITY_CONFIG: Record<
|
|
IssuePriority,
|
|
{ label: string; bars: number; color: string }
|
|
> = {
|
|
urgent: { label: "Urgent", bars: 4, color: "text-destructive" },
|
|
high: { label: "High", bars: 3, color: "text-warning" },
|
|
medium: { label: "Medium", bars: 2, color: "text-warning" },
|
|
low: { label: "Low", bars: 1, color: "text-info" },
|
|
none: { label: "No priority", bars: 0, color: "text-muted-foreground" },
|
|
};
|