RI-8275 i18n: migrate Vector Search#6190
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ 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 0155d39. Configure here.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0155d39f5a
ℹ️ 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".
Code Coverage - Frontend unit tests
Test suite run success7763 tests passing in 860 suites. Report generated by 🧪jest coverage report action from cb90a9e |
Route the Vector Search index list area through i18n under vectorSearch.list.* with Bulgarian translations: header + info popover, create-index menu, delete-index confirmation, column headers/tooltips, empty states, and the row-action labels. Column headers/tooltips and row-action labels resolve at render time; a `label` field on IndexListAction keeps `name` stable for test ids. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…I-8275)
Route the Vector Search create-index flow and query page through i18n with
Bulgarian translations.
Create-index flow → vectorSearch.{createIndex,fieldType,onboarding,sampleData,
selectKeyOnboarding}.*: page header/footer/toolbar/content, index-name editor,
confirm-key-change modal, field-type modal + list (labels/tooltips/descriptions/
validation), onboarding, pick-sample-data, select-key onboarding. Shared
field-type descriptions (create-redisearch-index/constants.ts, also used by the
browser make-searchable modal) under vectorSearch.fieldType.desc.*.
Query page → vectorSearch.{query,queryLibrary,commandView}.*: editor actions/
tooltips/tabs/placeholder/Monaco onboarding, query library + save/delete modals,
command view, page header/breadcrumb. Group-command label uses count-based
plurals.
Create-index and query-library toasts go under notification.*. Module-level
constants resolve at render time; Redis tokens left untranslated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Route the remaining Vector Search screens through i18n with Bulgarian translations, completing pages/vector-search coverage: - welcome screen, no-search-results - index details + info side panel (labels, column headers, tooltips) - RQE-not-available / version-not-supported / upgrade banner / search-page fallback - keys browser (select-key, scan counters, supported-types info) Module-level constants resolve at render time via getters; scan counters use <Trans> to preserve testid spans; Redis type tokens (HASH/JSON) and the document title left untranslated per convention. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0155d39 to
cb90a9e
Compare

What
Route the entire Vector Search page (
pages/vector-search/**) through i18next with Bulgarian translations, under thevectorSearch.*namespace (list, create-index flow, query page, query library, welcome + state screens).Testing
yarn type-check(no new errors),yarn i18n:check(en/bg parity 665/665),yarn lint:ui.pages/vector-searchjest suite (723 tests) + the browser make-searchable modal suite pass.?lang=bg; empty bg values fall back to English.Note
Low Risk
String-only and locale wiring changes with no auth or data-path changes; main risk is missing keys or tests that still assume English literals.
Overview
Adds a large
vectorSearch.*(and relatednotification.*) key set inen.jsonandbg.json, and wires the Vector Search area throughuseTranslation,i18n.t, andTransinstead of inline English.UI coverage includes index list, create-index flow (onboarding, field modals, keys browser), query editor/library, welcome and fallback screens, sample-data picker, and shared pieces like command view and upgrade banner. Toasts for index creation and query-library save/delete/cleanup now use the same keys.
Refactors move labels that used to live in module-level constants into call-time helpers (
getStepContent,getIndexListColumns,getValidationMessages,getPhoneticOptions, etc.) so text follows the active locale. Shared browserFIELD_TYPE_OPTIONSnow usedescriptionKeypointing atvectorSearch.fieldType.desc.*. Index list actions can pass an optional translatedlabel;index-list/constants.tsis removed in favor of inline i18n in the column config.Tests that asserted fixed English strings now use
i18n.tor the new getters.Reviewed by Cursor Bugbot for commit cb90a9e. Bugbot is set up for automated code reviews on this repo. Configure here.