Skip to content

Commit 403dae1

Browse files
atulmguptaCopilot
andcommitted
fix(ci): day-log layer comments and i18n split
Add hexagonal Layer lines on daylog packages. Pin Drawer overlay eslint on className. Refresh i18n usage manifest after en.json day-log keys. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2e7a7a8 commit 403dae1

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

internal/api/daylog/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Package daylog serves GET /api/v1/day-log — one vehicle's
22
// local-calendar-day event timeline.
33
//
4+
// Layer: handler
5+
//
46
// # Taxonomy
57
//
68
// Every event carries {id, ts, type, layer, vehicle_id, ref_kind,

internal/database/daylog/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// Package daylog is the read-model repo behind GET /api/v1/day-log.
22
//
3+
// Layer: repository
4+
//
35
// It reassembles one vehicle's local-calendar-day event timeline from
46
// existing durable sources — no new tables, no write-path changes:
57
//

web/src/components/ui/Drawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ export function Drawer({
9696
// Drawer is a slide-in panel primitive, not a centered dialog.
9797
// Phase-45 / Prompt 04: NOT migrated to <Modal>.
9898
return createPortal(
99-
// eslint-disable-next-line no-restricted-syntax -- overlay primitive; z-[60] matches Modal above StatusBar/tab bar
10099
<div
101100
ref={drawerRef}
101+
// eslint-disable-next-line no-restricted-syntax -- overlay primitive; z-[60] matches Modal above StatusBar/tab bar
102102
className="fixed inset-0 z-[60]"
103103
role="dialog"
104104
aria-modal="true"

web/src/i18n/en/usage-manifest.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,6 +2295,7 @@
22952295
"routes.dataGovernance",
22962296
"routes.dataQuality",
22972297
"routes.dataRepair",
2298+
"routes.dayLog",
22982299
"routes.departureForecast",
22992300
"routes.destinationTransitions",
23002301
"routes.devTools",
@@ -4555,6 +4556,7 @@
45554556
"routes.dataGovernance",
45564557
"routes.dataQuality",
45574558
"routes.dataRepair",
4559+
"routes.dayLog",
45584560
"routes.departureForecast",
45594561
"routes.destinationTransitions",
45604562
"routes.devTools",

0 commit comments

Comments
 (0)