GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): localize missing Jira credential fields by StiensWout · Pull Request #44984 · pingdotgg/t3code

Conversation

@StiensWout

@StiensWout StiensWout commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Submitting a Jira API token with an empty site showed the English word “site” inside the German validation message. Web and desktop now translate the required site and account email names using Jira’s field IDs, so rewording a form label cannot break the validation translation.

Related: #39786, #39979, #39943, #39993, #39980, #40016, #39941, #38381, #38001

Reproduction on main

Commit 2bebf9ebe9 (main), in the running web app:

  1. Open the T3 Code web app and wait until it is connected to its local environment.
  2. Open Settings, then General.
  3. Open the Language menu and choose Deutsch.
  4. Open Source control settings.
  5. Expand the Jira row so its connection fields are visible.
  6. Leave the Site field empty.
  7. Type any token into the API token field.
  8. Press Enter.

The message reads "Gib zuerst site ein." The word site stays the English field name. Expected: The validation message under the token field is in German and names the missing Jira site with a German word for that field.

The cause is at apps/web/src/components/settings/IssueTrackerSettings.tsx:151. Ran pnpm scenarios:prove scripts/scenarios/jira-required-site-message-follows-app-language.e2e.ts --target web with the repro scenario added: it failed in 2 of 2 runs on a clean checkout, with expected "Gib zuerst site ein." to match /\b(?:Website|Adresse|Domain|Instanz)\b/i in the output.

Evidence

Environment: The web app in Chromium on Linux x64, a fresh checkout.

Proven: the repro fails at the test commit eb4b719d4a and passes on the head 809c44ba39, both on main c6bc226997.

Before After
Commit eb4b719d4a 809c44ba39
Result ASSERTION_FAILED: expected "Gib zuerst site ein." to match /\b(?:Website|Adresse|Domain|Instanz)\b/i passed
jira required site message Before: jira required site message After: jira required site message
failure Before: failure

Before the fix, recorded:

https://pub-b182a4071edc4521829926b34990540b.r2.dev/files/9f596af8-454b-416b-a4c8-77c7d17fe67f/before-recording.webm

After the fix, recorded:

https://pub-b182a4071edc4521829926b34990540b.r2.dev/files/560be5d1-253c-4c86-a8d8-b499295f3366/after-recording.webm

Outside view: a person sees it in the running web app by following the steps under Reproduction on main.

Tests

  • eb4b719d4a adds the failing test, alone, before the fix.
  • pnpm exec vp run check:changed c6bc2269979a990620f88aab247dbbed38baa9b0 passed on head.

Not in this change

  • The fix uses the existing validation sentence and preserves the server-provided label fallback for other fields.
  • Form labels are outside the scope of this validation change. Mobile disables submission until the required fields are filled in.
  • The browser scenario verifies the complete German missing-site message. The account email and add-account form share the same validation path.

Who did the work

  • Repro written by GPT 6.2 Sol, in Codex
  • Outside view by Grok 4.7, in Grok
  • Duplicate check judged by Claude Opus 5.5, in Claude Code
  • Written by GPT 6.2 Sol, in Codex
  • Trimmed by Claude Opus 5.5, in Claude Code
  • Reviewed by Claude Opus 5.5, in Claude Code, and by GPT 6.2 Sol, in Codex, and by Grok 4.7, in Grok
  • Reproduction, checks and proof run by a program on base and head, not by an agent

Made in T3 Code by GPT 6.2 Sol, Claude Opus 5.5 and Grok 4.7

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
StiensWout and others added 3 commits November 28, 2026 14:37
@StiensWout @codex
test(web): cover the German Jira required site message
eb4b719
Co-authored-by: GPT 6.2 Sol <[email protected]>
@StiensWout @codex
fix(web): localize missing Jira credential fields
6f9dab1
Co-authored-by: GPT 6.2 Sol <[email protected]>
@StiensWout @codex
fix(web): identify Jira validation fields by key
809c44b
Co-authored-by: GPT 6.2 Sol <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Nov 28, 2026
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Jira settings form now uses specific localized messages when the site or email field is blank during token submission. Translation entries were added in 11 locales. An end-to-end scenario checks the German message for a missing site.

Changes: Jira validation messages

Layer / File(s) Summary
Select, translate, and verify Jira validation messages
apps/web/src/components/settings/IssueTrackerSettings.tsx, apps/web/src/i18n/translations/{de,en,es,fr,ja,ko,pl,pt-BR,ru,sv,zh}.json, scripts/scenarios/jira-required-site-message-follows-app-language.e2e.ts
When a non-null token is submitted with a blank Jira site or email field, the form uses the matching specific message. Other missing fields retain the generic message based on the field label. The locale files add the messages, and the end-to-end scenario checks the German missing-site message.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: juliusmarminge

Merge Risk: Minimal · up to 727fa

This change shows localized messages in the Jira settings form when the site or account email is missing, and it adds translations in 11 locales. No merge-blocking risk was found. A missing translation would fall back to English text, so any failure would be cosmetic.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(web): localize missing Jira credential fields" matches the main change. The PR fixes the German validation message for a missing Jira site, which showed the English word "site". The fix…
Description check Passed The description follows the template. It has a problem statement (the English word "site" in the German validation message), a change explanation (translate required site and account email by Jira fie…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(web): localize missing Jira credential fields" matches the main change. The PR fixes the German validation message for a missing Jira site, which showed the English word "site". The fix maps each Jira field ID to a complete localized sentence. The title follows the conventional commit format and names the affected area and the change. It is slightly broad, since the change also covers the account email field and desktop. It does not describe any unrelated change.

Full details: Description check

Explanation

The description follows the template. It has a problem statement (the English word "site" in the German validation message), a change explanation (translate required site and account email by Jira field ID), and a scope section (it links related issues and explains that form labels are out of scope). Verification is detailed: a before/after failing test, commit hashes, screenshots, and recordings. The template asks for a conventional commit title, and the title meets that. The Scope section does not clearly say whether a linked issue shows this bug, and the Related list contains several issue numbers without saying which one reports this bug. The description is mostly complete, so this check passes.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 516fe91
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 865affe5-1d9f-4e4f-b816-e762b3df7fdb
Commits

Reviewing files that changed from the base of the PR and between d47b9c2 and 727fa97.

Files selected for processing: 12

  • apps/web/src/components/settings/IssueTrackerSettings.tsx
  • apps/web/src/i18n/translations/de.json
  • apps/web/src/i18n/translations/en.json
  • apps/web/src/i18n/translations/es.json
  • apps/web/src/i18n/translations/fr.json
  • apps/web/src/i18n/translations/ja.json
  • apps/web/src/i18n/translations/ko.json
  • apps/web/src/i18n/translations/pl.json
  • apps/web/src/i18n/translations/pt-BR.json
  • apps/web/src/i18n/translations/ru.json
  • apps/web/src/i18n/translations/sv.json
  • apps/web/src/i18n/translations/zh.json
Files skipped from review as they are similar to previous changes: 12

  • apps/web/src/components/settings/IssueTrackerSettings.tsx
  • apps/web/src/i18n/translations/de.json
  • apps/web/src/i18n/translations/en.json
  • apps/web/src/i18n/translations/es.json
  • apps/web/src/i18n/translations/fr.json
  • apps/web/src/i18n/translations/ja.json
  • apps/web/src/i18n/translations/ko.json
  • apps/web/src/i18n/translations/pl.json
  • apps/web/src/i18n/translations/pt-BR.json
  • apps/web/src/i18n/translations/ru.json
  • apps/web/src/i18n/translations/sv.json
  • apps/web/src/i18n/translations/zh.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 28, 2026
juliusmarminge and others added 3 commits November 28, 2026 13:54
@juliusmarminge
Merge remote-tracking branch 'origin/main' into wf/find-dfc54e7ebe523…
acb3db3
…2e032c920d1
@juliusmarminge @claude
test(web): assert only the exact German Jira site message
d47b9c2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(web): translate Jira's missing-field messages as whole sentences
727fa97
Translating the field name alone and inserting it into a separately
translated sentence breaks languages that inflect nouns by case. Map each
Jira field id to its own complete sentence instead, keeping the
{field} sentence only for server-authored labels.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge

juliusmarminge commented Nov 28, 2026

Copy link
Copy Markdown
Member

The automated pipeline stopped on this pull request and will not merge it:

the proof was not accepted:

  • The before is not shown to be a bug: both commits label the Jira fields in English ('Site', 'Account email'), and the before message 'Gib zuerst site ein.' names the field exactly as its visible label reads (lowercased), so the app does not contradict itself; nothing is clipped or broken, and no maintainer comment on the PR calls it a bug.
  • The after's wording ('die Website', 'die E-Mail-Adresse des Kontos') matches no visible field label, because the labels stay 'Site' and 'Account email'. The proof's own markdown admits this label-mismatch objection is unresolved.
  • 001-missing-email-german.png (before) shows the API token input in a different, transitional state from the after: the redaction box is shifted up and the placeholder 'Nicht festgelegt' is visible under it, while the after shows one redacted box. The pair differs in something the fix does not touch.
  • The before recording (video.webm, 14.5s) ends on the missing-site message and never shows the missing-email step. The after recording (18s) has a transitional frame of Jira expanded with only the API token row rendered.
  • Only German on web was exercised; the other 10 catalogs and desktop are unverified, as the capture step itself notes.

It stays open for a person to finish or close.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added takeover:blocked Takeover blocked; reason in the PR body and removed takeover:in-progress A takeover lead is working on this PR labels Nov 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). takeover:blocked Takeover blocked; reason in the PR body vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@StiensWout @juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.