You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): diagnostics I/O totals and process scan show in the app's language - #43746
In Settings → Diagnostics, three labels stay in English in every other UI language: the read and write totals under Read throughput and Write throughput ("192 KB observed") and the Process scan row in Collection health ("3/1060 retained"). The headings and badges around them are translated.
Change
ResourceTelemetryDiagnostics.tsx now builds those labels with gt("{bytes} observed", { bytes }) and gt("{retained}/{scanned} retained", { retained, scanned }), the same way #43490 translated the process count badge in this file. The two new keys are added to all 10 web catalogs next to their neighbouring entries, with wording that matches each catalog's existing "observed CPU time" and "retained process samples" strings.
Verification
An AI agent ran each check below.
The German browser test in resourceTelemetryState.browser.test.tsx that fix(web): diagnostics process counts show in the app's language #43490 added now also expects "512 B beobachtet", "300 B beobachtet" and "12/40 gespeichert". It fails on 2e830d773347 (the card renders "512 B observed") and passes on this branch.
vp run i18n:check and vp run check:changed pass.
Opened Diagnostics in the real web app with the native resource monitor running, on the base commit and on this branch (captures below).
Setup: Linux, Chromium, web app from vp run dev with fresh isolated data and the native resource monitor, UI language Deutsch, 1280×1400.
Steps: Einstellungen → Allgemein → Sprache: Deutsch → Einstellungen → Diagnose.
Before (2e830d773347)
After (5ed4ca5e7426)
German UI: read and write totals say "observed" and the process scan says "retained" in English
German UI: read and write totals say "beobachtet" and the process scan says "gespeichert"
Not shown: the other eight non-English languages, which use the new catalog entries the same way; the desktop app, which renders this same web component. Mobile has no Diagnostics screen. Values sent by the server, such as the thermal state ("unknown") and health status ("HEALTHY"), still show untranslated; they need a label for each server value and are left out of this fix.
Reviewing files that changed from the base of the PR and between 5ed4ca5 and 02d8c34.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
Resource telemetry diagnostics now format observed read and write byte totals and retained-versus-scanned process counts through translated messages. Translation entries were added across ten language catalogs, and the browser test now checks these displayed values.
The diagnostics component uses translated interpolation for observed byte totals and retained-versus-scanned process counts. Ten language catalogs provide the message entries. The browser test supplies sample totals and scan counts and asserts their displayed values.
pingdotgg/t3code#40286: Adds an Arabic translation catalog whose key parity with English is affected by the new English entries in this PR.
Suggested labels:bugfix
Suggested reviewers:maria-rcks, juliusmarminge
Merge Risk: Minimal · previous review 5ed4c
This change localizes the observed read and write totals and the retained/scanned process count on the diagnostics screen. It carries little merge risk. The German output is covered by a browser test.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the change: diagnostics I/O totals and the process scan label are now translated into the app's language. It is a conventional commit title with a clear scope. The PR changes the web d…
Description check
The description follows the template. It has Problem, Change, Verification, and a note on agent use. The Scope section is missing. It does not link an issue, and it does not say why the fix needs no i…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the change: diagnostics I/O totals and the process scan label are now translated into the app's language. It is a conventional commit title with a clear scope. The PR changes the web diagnostics component, adds catalog keys in all 10 web locales, and updates the German browser test, which matches the title.
Full details: Description check
Explanation
The description follows the template. It has Problem, Change, Verification, and a note on agent use. The Scope section is missing. It does not link an issue, and it does not say why the fix needs no issue. It also does not state whether a maintainer requested the PR. The Verification section is detailed and includes before and after captures, which the template asks for on UI changes. The Problem and Change sections are clear and specific.
Resolution
Add a Scope section. Link the issue that shows the bug, or explain why a small obvious fix needs no issue. Also state whether a maintainer asked for this PR. The description is otherwise complete.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
Select Deutsch in Settings → General, open Diagnostics, wait for NATIV HEALTHY, inspect read/write totals, then scroll to Prozessscan. Both runs used Chromium at 1280×800, light theme and fresh synthetic state.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:M30-99 changed lines (additions + deletions).vouch:unvouchedAuthor is not yet trusted in the VOUCHED list.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In Settings → Diagnostics, three labels stay in English in every other UI language: the read and write totals under Read throughput and Write throughput ("192 KB observed") and the Process scan row in Collection health ("3/1060 retained"). The headings and badges around them are translated.
Change
ResourceTelemetryDiagnostics.tsxnow builds those labels withgt("{bytes} observed", { bytes })andgt("{retained}/{scanned} retained", { retained, scanned }), the same way #43490 translated the process count badge in this file. The two new keys are added to all 10 web catalogs next to their neighbouring entries, with wording that matches each catalog's existing "observed CPU time" and "retained process samples" strings.Verification
An AI agent ran each check below.
resourceTelemetryState.browser.test.tsxthat fix(web): diagnostics process counts show in the app's language #43490 added now also expects "512 B beobachtet", "300 B beobachtet" and "12/40 gespeichert". It fails on2e830d773347(the card renders "512 B observed") and passes on this branch.vp run i18n:checkandvp run check:changedpass.Setup: Linux, Chromium, web app from
vp run devwith fresh isolated data and the native resource monitor, UI language Deutsch, 1280×1400.Steps: Einstellungen → Allgemein → Sprache: Deutsch → Einstellungen → Diagnose.
2e830d773347)5ed4ca5e7426)Not shown: the other eight non-English languages, which use the new catalog entries the same way; the desktop app, which renders this same web component. Mobile has no Diagnostics screen. Values sent by the server, such as the thermal state ("unknown") and health status ("HEALTHY"), still show untranslated; they need a label for each server value and are left out of this fix.
Generated with Claude Opus 5.5 in T3 Code Nightly