• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yext / search-ui-react / 16125266659
86%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2025 06:49PM UTC
Jobs 1
Files 108
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2025 06:46PM UTC coverage: 88.338% (+0.1%) from 88.189%
16125266659

push

github

web-flow
Use react-i18next for default translations (#543)

* Use react-i18next for default translations

The default translations live in the locales/ folder.
To enable translation on the react components, use <SearchI18nextProvider/> wrapper.
SearchI18nextProvider component accepts a seach headless instance and an optional translation overrides object.

J=WAT-3442,WAT-3443
TEST=manual

updated test-site to enable translation with some overrides. Spun up test-site and saw expected translations and overrides on initial load and upon locale changes.

* Removed fallbacks.

Manually tested on test-site and VLE locator.
1. Tested without SearchI18nextProvider wrapper, saw the strings rendered in English regardless of the locale.
2. Tested with SearchI18nextProvider wrapper, saw strings translated based on locale files and overrides are applied as expected.

Updated jest tests.

820 of 1025 branches covered (80.0%)

Branch coverage included in aggregate %.

96 of 100 new or added lines in 28 files covered. (96.0%)

1 existing line in 1 file now uncovered.

2066 of 2242 relevant lines covered (92.15%)

136.4 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
47.37
-2.63% src/components/ApplyFiltersButton.tsx
1
84.96
-0.37% src/components/Filters/HierarchicalFacetDisplay.tsx
2
88.72
-0.29% src/components/SearchBar.tsx

Uncovered Existing Lines

Lines Coverage ∆ File
1
84.96
-0.37% src/components/Filters/HierarchicalFacetDisplay.tsx
Jobs
ID Job ID Ran Files Coverage
1 16125266659.1 07 Jul 2025 06:49PM UTC 108
88.34
GitHub Action Run
Source Files on build 16125266659
  • Tree
  • List 108
  • Changed 25
  • Source Changed 25
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16125266659
  • 162f63a2 on github
  • Prev Build on main (#15907528776)
  • Next Build on main (#16152090902)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc