refactor: move from union type to object enum

This commit is contained in:
2026-07-15 02:41:17 +05:00
parent 35465f581f
commit 84f64af62d
30 changed files with 490 additions and 193 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import { resolveTaskLocations } from "@/commands/resolveTaskLocations";
import { saveTaskDescription } from "@/commands/saveTaskDescription";
import { buildDashboardView } from "@/dashboard/buildDashboardView";
import { TaskFilter } from "@/dashboard/filterTasks";
import { GroupBy } from "@/dashboard/groupTasks";
import { GroupBy } from "@/dashboard/groupBy";
import {
parseDashboardInboundMessage,
type DashboardInboundMessage,
@@ -75,7 +75,7 @@ export class TaskDashboardPanel {
#tasks: LocatedTask[] = [];
#filter: TaskFilter = {};
#groupBy: GroupBy = "none";
#groupBy: GroupBy = GroupBy.NONE;
#selectedId: string | undefined;
#disposed = false;