Repository navigation
i18n: missing Instance translation for the app logs field label - #43312
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
There was a problem hiding this comment.
No issues found across 1 file
You’re at about 94% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Translate the instance label apps/meteor/client/views/marketplace/AppDetailsPage/tabs/AppLogs/AppLogsItem.tsx, .changeset/app-logs-instance-label.md |
The instance field label now uses t('Instance') instead of a hard-coded string. A patch changeset describes the localization fix. |
Priority:
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix · Severity of issue fixed: Low
Suggested labels: type: bug
Suggested reviewers: tassoevan
Merge Risk: 
Minimal · previous review 0ac5d
-
The Marketplace app logs Instance label is ready to merge with localized behavior.
Pre-merge checks: 
5
-
Full details: Linked Issues check
-
Explanation
Issue
#43290requires the Marketplace app logs "Instance" field label to use the existing translation key, so it displays the localized value like the sibling labels. The whole-PR diff (merge base to reviewed head) changesAppLogsItem.tsxfromlabel='Instance'tolabel={t('Instance')}on theAppsLogItemFieldrendered whenprops.instanceIdis set. This matches the issue's expected implementation exactly. The sibling labels (Total_time,Time,Event) already uset(), so the label is now consistent with them. The issue and PR description state that theInstancekey exists inen.i18n.jsonandpt-BR.i18n.json. This review did not independently read those locale files, so key existence rests on that statement. The issue text says an automated regression test was added. That statement describes completed work, not an acceptance criterion. The PR adds no test, and no coding requirement mandates one. Component tests were not run, so the rendered Portuguese output is not observed.
Full details: Out of Scope Changes check
-
Explanation
The whole-PR diff contains one code change in
AppLogsItem.tsx(one line) that implements the issue objective. The changeset.changeset/app-logs-instance-label.mdis a patch note for the same fix and is related to this PR. No unrelated app-log behavior, translation data, or other Marketplace code appears in the reviewed summary. The change since the previous reviewed head does not alter the conclusion, because the whole-PR diff still shows only this label change.
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)
Full details: Title check
-
Explanation
The title names the change: the Instance field label in Marketplace app logs now uses a translation key (t('Instance')) instead of a hard-coded string, so the label localizes. It matches the AppLogsItem.tsx change and the added changeset, which describes the same fix. It is specific and scannable.
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Errors were encountered while retrieving linked issues.
Errors: 1
-
- JIRA integration encountered authorization issues. Please disconnect and reconnect the integration in the CodeRabbit UI.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #43312 +/- ##
===========================================
+ Coverage 72.37% 72.41% +0.04%
===========================================
Files 5393 5393
Lines 232650 232776 +126
Branches 44533 44766 +233
===========================================
+ Hits 168376 168571 +195
+ Misses 59734 59683 -51
+ Partials 4540 4522 -18
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Proposed changes
In the Marketplace app logs view,
AppLogsItempasses the literal string'Instance'as theAppsLogItemFieldlabel, so that label stayed English while its siblings (Total_time,Time,Event) go throught(). It now usest('Instance'), a key that already exists in the base locale. A changeset is included.Issue(s)
Fixes #43290
Steps to test or reproduce
Instanceinpackages/i18n/src/locales/pt-BR.i18n.json), like the neighbouring labels.I could not run the component tests or the app here (they need the full monorepo install), so step 3 is the expected behaviour, not an observed run. What I did check: the file still transforms (
npx esbuild AppLogsItem.tsx, exit 0), and theInstancekey exists inen.i18n.json.No automated test is added: the existing
AppLogsItem.spec.tsxcovers story accessibility, and I cannot run jest here to verify a new assertion. I can add a label assertion if you want one.Further comments
dionisio-botasks for a QA-assured label and a milestone; both look maintainer-side, so this PR is ready for triage.Summary by CodeRabbit