From f64447f52c5118a015d605182545462f1168f922 Mon Sep 17 00:00:00 2001 From: Alexandre Brandizzi Date: Thu, 24 Sep 2026 22:06:24 -0300 Subject: [PATCH] chore(dashboard): keep ticket keys out of source comments --- e2e/dashboard/dashboard.visual.spec.ts | 2 +- src/domain/dashboard/types/dashboard-stats.ts | 2 +- src/domain/dashboard/utils/work-order-drilldown-links.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/dashboard/dashboard.visual.spec.ts b/e2e/dashboard/dashboard.visual.spec.ts index 83ab9f77..2e60bf41 100644 --- a/e2e/dashboard/dashboard.visual.spec.ts +++ b/e2e/dashboard/dashboard.visual.spec.ts @@ -192,7 +192,7 @@ async function mockDashboardApi(page: Page, userRoles: string) { } if (pathname.includes("/Dashboard/Stats")) { - // The server reports no unassigned work for a dispatcher-scoped view (SH-392). + // The server reports no unassigned work for a dispatcher-scoped view. const unassigned = userRoles === "Dispatcher" ? 0 : 11; return fulfillJson(route, { data: { ...STATS, unassigned } }); } diff --git a/src/domain/dashboard/types/dashboard-stats.ts b/src/domain/dashboard/types/dashboard-stats.ts index ddd550ce..5ff5c5fc 100644 --- a/src/domain/dashboard/types/dashboard-stats.ts +++ b/src/domain/dashboard/types/dashboard-stats.ts @@ -20,7 +20,7 @@ export interface DashboardStats { scheduledTomorrow: number; pendingUplifts: number; avetaPending: number; - /** Open WOs with no dispatcher in the selected period (SH-392). */ + /** Open WOs with no dispatcher in the selected period. */ unassigned: number; breakdown: DashboardBreakdownRow[]; statusDistribution: DashboardStatusBucketRow[]; diff --git a/src/domain/dashboard/utils/work-order-drilldown-links.ts b/src/domain/dashboard/utils/work-order-drilldown-links.ts index c901de02..4388c018 100644 --- a/src/domain/dashboard/utils/work-order-drilldown-links.ts +++ b/src/domain/dashboard/utils/work-order-drilldown-links.ts @@ -79,7 +79,7 @@ export function workOrderRegionDrilldownSearch( } /** - * The Unassigned tile's list (SH-392): open WOs with no dispatcher in the + * The Unassigned tile's list: open WOs with no dispatcher in the * Dashboard period, the same set the backend counts. All time sends no dates, * so the board searches every week, undated WOs included. */