Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added i18n for search header component. #1084

Merged
merged 1 commit into from
May 22, 2024

Conversation

saleem-latif
Copy link
Contributor

Jira Ticket: ENT-8580

Description:
This PR adds i18n support for search header component.

For all changes

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)
  • Ensure English strings are marked for translation. See documentation for more details.

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

Copy link

codecov bot commented May 21, 2024

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 86.01%. Comparing base (f711578) to head (160699a).

Files Patch % Lines
src/components/search/SearchPage.jsx 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1084      +/-   ##
==========================================
+ Coverage   86.00%   86.01%   +0.01%     
==========================================
  Files         381      381              
  Lines        7759     7774      +15     
  Branches     1893     1894       +1     
==========================================
+ Hits         6673     6687      +14     
- Misses       1032     1033       +1     
  Partials       54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@saleem-latif saleem-latif force-pushed the saleem-latif/ENT-8580 branch 2 times, most recently from e650568 to 126e423 Compare May 21, 2024 08:39
Copy link
Member

@adamstankiewicz adamstankiewicz left a comment

Choose a reason for hiding this comment

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

LGTM with a minor nit.

package.json Outdated
@@ -9,7 +9,7 @@
"dependencies": {
"@edx/brand": "npm:@openedx/brand-openedx@1.2.2",
"@edx/frontend-component-footer": "13.0.2",
"@edx/frontend-enterprise-catalog-search": "9.0.0",
"@edx/frontend-enterprise-catalog-search": "^10.3.0",
Copy link
Member

Choose a reason for hiding this comment

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

nit: pin the dependency (similar to others; maintain convention) and re-run npm install to update package-lock.json.

@saleem-latif saleem-latif merged commit 06ce1c0 into master May 22, 2024
7 checks passed
@saleem-latif saleem-latif deleted the saleem-latif/ENT-8580 branch May 22, 2024 05:07
@saleem-latif saleem-latif restored the saleem-latif/ENT-8580 branch May 31, 2024 11:06
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.

3 participants