Skip to content

RI-8277 Migrate rdi pipeline-management to i18n#6223

Merged
valkirilov merged 2 commits into
mainfrom
fe/feature/RI-8277/i18n-rdi-pipeline-mgmt
Jul 20, 2026
Merged

RI-8277 Migrate rdi pipeline-management to i18n#6223
valkirilov merged 2 commits into
mainfrom
fe/feature/RI-8277/i18n-rdi-pipeline-mgmt

Conversation

@valkirilov

@valkirilov valkirilov commented Jul 17, 2026

Copy link
Copy Markdown
Member

What

Routes the RDI pipeline-management surface through i18next under rdi.pipeline.* (80 keys), with Bulgarian translations added to en.json/bg.json (parity kept). Final rdi PR for the i18n epic (RI-8269).

Covered:

  • Page/document title, navigation (config & jobs cards, job add/edit/delete controls + delete confirmation, undeployed-changes tooltip, "Pipeline management").
  • Config & job editor pages: titles, doc-link descriptions (<Trans>), test-connection button, loading, dry-run button, SQL/JMESPath editor button.
  • Dry-run panel: title, input section, tab tooltips (two-line, <br/> via <Trans>), aria-labels, no-commands / no-transformation messages, invalid-input tooltip.
  • Test-connections panel & log: title, source/target headers, render-time column headers, "Successful".
  • Template form/popover/button: title, pipeline/database type selects, apply/cancel, insert-template, no-template-available tooltips.
  • Upload & download-from-server modals (titles, warnings, buttons, zip-validation errors).

Testing

  • yarn test for redisinsight/ui/src/pages/rdi/pipeline-management — 164 tests pass.
  • yarn lint:ui, yarn type-check, yarn i18n:check all clean.
  • Manually: open a pipeline (config + a job), templates, test connections, dry-run, upload/download modals; append ?lang=bg to preview Bulgarian.

Note: adds keys to the shared rdi.* region of en.json/bg.json (as do #6221 and #6222); a trivial sorted-merge may be needed depending on merge order — all pure additive insertions.


Closes RI-8277

🤖 Generated with Claude Code


Note

Low Risk
Presentation-only i18n wiring with no changes to pipeline deploy, upload, or API behavior; risk is limited to missing keys or locale-specific copy regressions.

Overview
Moves all user-visible copy on the RDI pipeline-management flow from hard-coded English strings to i18next under rdi.pipeline.*, with matching entries in en.json and bg.json (~80 keys).

Pipeline management pages and modals (navigation, config/job editors, dry-run, test connections, templates, upload/download, source picker) now use useTranslation, Trans for inline doc links and multi-line tooltips, and i18n.t where hooks are not available (e.g. job name validation, shared error helpers). Upload zip validation still uses stable internal error tokens, then maps known messages to translated labels for display.

Template “No template” select options are built at render time via useMemo so the label follows the active locale; the old module-level NO_OPTIONS constant was removed.

Reviewed by Cursor Bugbot for commit 442deac. Bugbot is set up for automated code reviews on this repo. Configure here.

@valkirilov
valkirilov requested a review from a team as a code owner July 17, 2026 07:56
@valkirilov valkirilov self-assigned this Jul 17, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 05cdc0c885

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 83.29% 27827/33411
🟡 Branches 69.31% 11919/17196
🟡 Functions 78.22% 7396/9455
🟢 Lines 83.74% 27092/32354

Test suite run success

7829 tests passing in 865 suites.

Report generated by 🧪jest coverage report action from 442deac

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 8399102. Configure here.

pawelangelow
pawelangelow previously approved these changes Jul 17, 2026
@valkirilov
valkirilov force-pushed the fe/feature/RI-8277/i18n-rdi-pipeline-mgmt branch from 8399102 to 2d41c12 Compare July 17, 2026 14:40
pawelangelow
pawelangelow previously approved these changes Jul 20, 2026
Route the RDI pipeline-management surface through i18n under rdi.pipeline.*
with Bulgarian translations: navigation, config & job editor pages,
dry-run panel, test-connections panel & log, template form/popover/button,
and the upload/download modals. Shared rdiErrorMessages resolves via the
i18n singleton; TestConnectionsLog headers via a render-time getColumns(t);
<Trans> for doc links and <br/> tooltips.

The template "No template" fallback option is built at render (useMemo[t])
instead of a module-level i18n.t so it follows the active language.

Rebased onto main after #6221/#6219/#6224 merged; rdi.* locale keys
merged and sorted.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@valkirilov
valkirilov force-pushed the fe/feature/RI-8277/i18n-rdi-pipeline-mgmt branch from 2d41c12 to 289c693 Compare July 20, 2026 05:30

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 289c6931d1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…277)

Address review feedback: validateZip threw localized strings and the
catch reused that message for the RDI_PIPELINE_UPLOAD_FAILED telemetry
event, so the same failure reported different values per locale and
split upload analytics. Throw canonical English messages (sent as-is to
telemetry) and translate only the displayed error via a canonical->key
map, falling back to the raw message for other errors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@valkirilov
valkirilov merged commit 900d231 into main Jul 20, 2026
21 checks passed
@valkirilov
valkirilov deleted the fe/feature/RI-8277/i18n-rdi-pipeline-mgmt branch July 20, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants