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

fix(UI): service filter in service marketplace for DE #1209

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Usmanfee
Copy link
Contributor

@Usmanfee Usmanfee commented Oct 9, 2024

Description

In service marketplace to filter services by their types wasn't working when chosen language is DE. I fixed translations and added mapping object to get right key for the chosen language.

Why

We are passing translations to the ViewSelector component from a shared component with translations. In the case of a selected language, we always have English translations, which is not correct when matching with German translations. Therefore, we need a mechanism to map the languages.

Issue

#1208

Checklist

  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have checked that new and existing tests pass locally with my changes
  • I have updated changelog file about my change.

Copy link
Contributor

@shubhamv-ss shubhamv-ss left a comment

Choose a reason for hiding this comment

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

lgtm

@Usmanfee Usmanfee marked this pull request as ready for review October 10, 2024 06:59
Copy link
Contributor

@oyo oyo left a comment

Choose a reason for hiding this comment

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

this would be affected by the change from empty string to undefined

src/components/pages/ServiceMarketplace/index.tsx Outdated Show resolved Hide resolved
@Usmanfee Usmanfee force-pushed the fix/service-filter-service-marketplace branch from 0b42286 to 7d48785 Compare October 17, 2024 23:33
Copy link

sonarcloud bot commented Oct 18, 2024

@Usmanfee
Copy link
Contributor Author

@oyo feedback addressed . Please review now.Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: IN PROGRESS
Development

Successfully merging this pull request may close these issues.

3 participants