Skip to content

feat(i18n): migrate browser left panel & search bar to i18n (RI-8274) - #6284

Merged
valkirilov merged 1 commit into
mainfrom
feature/RI-8274-i18n-browser-left
Jul 27, 2026
Merged

feat(i18n): migrate browser left panel & search bar to i18n (RI-8274)#6284
valkirilov merged 1 commit into
mainfrom
feature/RI-8274-i18n-browser-left

Conversation

@valkirilov

@valkirilov valkirilov commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

Covers the left/keys panel and search bar i18n on the Browser page.

Scope

  • Key list / tree / rows (incl. `key(s)` count plural)
  • Search / filter / make-searchable / RediSearch index dropdown
  • Empty & onboarding states
  • Keys-header, key actions, delete popovers
  • keys-browser-panel summary + shared view-switch / columns-menu / scan-more

Note

Low Risk
String-sourcing and locale file additions only; no auth, data, or API behavior changes. Large UI touch surface warrants spot-checking pluralization and Trans markup in non-English locales.

Overview
Moves hardcoded English UI copy on the Browser keys panel, search bar, and related shared widgets to i18next, with matching entries in en.json and bg.json.

Components now use useTranslation (and Trans where line breaks or inline markup matter) for list/tree headers, column toggles, view switch, scan summary, multi-search controls, key rows, filters, RediSearch index UI, empty/onboarding states, delete popovers, tree folder bulk-delete tooltips, and “make searchable” flows. Key-type filter labels point at new common.keyType.* keys via typed ParseKeys on option config.

Cleanup: bulk-delete tooltip helpers are removed from browser.ts; browser-specific empty-state strings are dropped from constants/texts.tsx in favor of localized strings in NoKeysMessage. One Redisearch submit tooltip in MultiSearch is still hardcoded and was not migrated in this diff.

Reviewed by Cursor Bugbot for commit bd5dcd8. 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 24, 2026 06:59
@valkirilov valkirilov self-assigned this Jul 24, 2026
@valkirilov
valkirilov force-pushed the feature/RI-8274-i18n-browser-left branch 2 times, most recently from a09365d to ca7437e Compare July 24, 2026 07:13
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 83.33% 28152/33782
🟡 Branches 69.39% 11981/17265
🟡 Functions 78.31% 7461/9528
🟢 Lines 83.79% 27392/32690

Test suite run success

7870 tests passing in 869 suites.

Report generated by 🧪jest coverage report action from bd5dcd8

Left/keys panel + search bar of the browser, split from the full
browser-shell work as PR 1 of 2.

Covers: key list / tree / rows, search / filter / make-searchable,
empty & onboarding states, keys-header + actions + delete popovers,
and the keys-browser-panel summary/view-switch/columns-menu/scan-more.

Namespaces: browser.keyList/tree/filter/search/makeSearchable/redisearch/
viewIndex/noKeysFound/noResults/onboarding/loadSampleData/actions/
deletePopover/popoverDelete/keysHeader/keysBrowser/scanMore + common.keyType.
Add-key, bulk-actions and the shared ActionFooter are in PR 2.
@valkirilov
valkirilov force-pushed the feature/RI-8274-i18n-browser-left branch from ca7437e to bd5dcd8 Compare July 24, 2026 07:40
@valkirilov
valkirilov merged commit f377402 into main Jul 27, 2026
33 of 34 checks passed
@valkirilov
valkirilov deleted the feature/RI-8274-i18n-browser-left branch July 27, 2026 12:12
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