-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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(range-slider): removed localization of metric key #24716
fix(range-slider): removed localization of metric key #24716
Conversation
Thanks @Always-prog for the PR. Would you mind expanding the PR description to include a before and after screenshot? This would help the reviewers better grok the change. |
It's just a simple problem, so there isn't much to explain about. But I have added the screenshots. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just a simple problem, so there isn't much to explain about. But I have added the screenshots.
Thank you for adding the screenshots @Always-prog. Screenshots are helpful for reviewers and they provide a lot of context to understand the problem. Take your original description for example:
Due to the this localization, the Range Slider is not functioning properly because we are unable to retrieve the min and max variables from the data because it was translated.
The term "Range Slider" can mean many different components in the application. The screenshot help us quickly understand that you're actually talking about the Numerical range filter type. A reviewer that is not very familiar with that part of the application may not get this information quickly by only looking at the code 😉
LGTM! Thank you for the fix!
Thanks @Always-prog for the updated PR description. Echoing @michael-s-molina's comment, looking at the change sans context meant it was hard to grok whether the |
@john-bodley okay, got it! |
(cherry picked from commit 2d58ddd)
SUMMARY
Due to the this localization, the Range Slider is not functioning properly because we are unable to retrieve the
min
andmax
variables from the data because it was translated.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Example with a russian localization
Before
After
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION