Skip to content

Commit cd4ce36

Browse files
committed
windows parity: translation-prefix fix, +12 admin/util pages (1606/1754, 92%)
Native i18n keys carry a translation. namespace prefix the manifest keys omit; classifier now strips it. Newly COMPLETE: RbacMatrix, IngestXRay, DLQInspector, FeatureFlags, TeslaAccount, YearReview, AutomationCard, NotFound, ConflictWarnings, AutomationActivityFeed, TeslaOrders, TeslaRegion. Verification-only; gates green. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d151188 commit cd4ce36

15 files changed

Lines changed: 604 additions & 0 deletions

β€Žapps/parity/classify.jsβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ for (const { f, us, n } of files.slice(0, limit)) {
3838
for (const m of txt.matchAll(/GetString\([^,]+,\s*"([^"]+)"/g)) native.add(m[1]);
3939
// Robust: capture EVERY C# string literal (handles multi-line GetString + commas/escapes inside the string).
4040
for (const m of txt.matchAll(/"((?:[^"\\]|\\.)*)"/g)) native.add(m[1].replace(/\\"/g, '"'));
41+
// Native i18n keys carry a "translation." namespace prefix the manifest's keys omit β€” add the stripped form.
42+
for (const k of [...native]) if (k.startsWith('translation.')) native.add(k.slice('translation.'.length));
4143
const sg = us.find(u => u.kind === 'string-group');
4244
const reqStr = sg ? (sg.strings || []) : [];
4345
const missStr = reqStr.filter(k => !native.has(k));
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/automations/pages/AutomationActivityFeed.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/AutomationActivityFeed/*
4+
Units: 2 (api=0 chart=0 panel=1 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 7 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 0 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=AutomationActivityFeed.tsx units=2 status=done (string-complete + charts>=required)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/automations/pages/AutomationCard.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/AutomationCard/*
4+
Units: 3 (api=0 chart=0 panel=1 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 19 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 2 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=AutomationCard.tsx units=3 status=done (string-complete + charts>=required)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/automations/pages/ConflictWarnings.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/ConflictWarnings/*
4+
Units: 2 (api=0 chart=0 panel=0 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 1 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 0 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=ConflictWarnings.tsx units=2 status=done (string-complete + charts>=required)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/admin/pages/DLQInspectorPage.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/DLQInspectorPage/*
4+
Units: 7 (api=4 chart=0 panel=2 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 10 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 0 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=DLQInspectorPage.tsx units=7 status=done (string-complete + charts>=required)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/admin/pages/FeatureFlagsPage.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/FeatureFlagsPage/*
4+
Units: 7 (api=4 chart=0 panel=2 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 11 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 0 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=FeatureFlagsPage.tsx units=7 status=done (string-complete + charts>=required)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/admin/pages/IngestXRayPage.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/IngestXRayPage/*
4+
Units: 8 (api=2 chart=0 panel=4 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 5 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 0 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=IngestXRayPage.tsx units=8 status=done (string-complete + charts>=required)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/system/pages/NotFoundPage.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/NotFoundPage/*
4+
Units: 3 (api=0 chart=0 panel=1 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 7 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 0 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=NotFoundPage.tsx units=3 status=done (string-complete + charts>=required)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/admin/pages/RbacMatrixPage.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/RbacMatrixPage/*
4+
Units: 9 (api=4 chart=0 panel=3 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 23 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 0 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=RbacMatrixPage.tsx units=9 status=done (string-complete + charts>=required)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
=== Windows Parity Loop β€” evidence log ===
2+
Source: web/src/features/system/pages/TeslaAccountPage.tsx
3+
Native: apps/windows/TeslaSync.App/feature-views/TeslaAccountPage/*
4+
Units: 5 (api=2 chart=0 panel=1 + page/route/string-group).
5+
Verification (automated, verification-only β€” no code change; gates green from prior commit):
6+
strings: 11 required, ALL referenced in native .cs (dotted keys + GetString fallbacks); 0 missing.
7+
charts: 0 required, 0 native chart-component refs (>=required).
8+
api: Operations.* refs + registered endpoints in Generated/Api/ApiEndpoints.cs.
9+
native: full 4-file feature-view present.
10+
Gates green: build=0 / format=clean / placeholder=0 / test=31537 passed.
11+
=== PARITY === platform=windows file=TeslaAccountPage.tsx units=5 status=done (string-complete + charts>=required)

0 commit comments

Comments
Β (0)