-
Notifications
You must be signed in to change notification settings - Fork 901
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 discover options' location #7581
Conversation
Signed-off-by: abbyhu2000 <[email protected]>
Signed-off-by: abbyhu2000 <[email protected]>
@@ -95,15 +95,15 @@ export const DiscoverChart = ({ | |||
); | |||
|
|||
const toggleLabel = i18n.translate('queryEditor.collapse', { |
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.
can you update this i18n translate
call it something like histogram.collapse
@@ -95,15 +95,15 @@ export const DiscoverChart = ({ | |||
); | |||
|
|||
const toggleLabel = i18n.translate('queryEditor.collapse', { | |||
defaultMessage: 'Toggle query editor', | |||
defaultMessage: 'Toggle discover histogram', |
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.
I think you can just say Toggle histogram
already in discover page would be redudant
Signed-off-by: abbyhu2000 <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7581 +/- ##
=======================================
Coverage 63.67% 63.67%
=======================================
Files 3630 3630
Lines 79545 79545
Branches 12609 12609
=======================================
Hits 50652 50652
Misses 25819 25819
Partials 3074 3074
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* fix discover options Signed-off-by: abbyhu2000 <[email protected]> * Changeset file for PR #7581 created/updated * fix discover options Signed-off-by: abbyhu2000 <[email protected]> * update tooltip Signed-off-by: abbyhu2000 <[email protected]> --------- Signed-off-by: abbyhu2000 <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 3cfcc8a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix discover options * Changeset file for PR #7581 created/updated * fix discover options * update tooltip --------- (cherry picked from commit 3cfcc8a) Signed-off-by: abbyhu2000 <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
* fix discover options Signed-off-by: abbyhu2000 <[email protected]> * Changeset file for PR opensearch-project#7581 created/updated * fix discover options Signed-off-by: abbyhu2000 <[email protected]> * update tooltip Signed-off-by: abbyhu2000 <[email protected]> --------- Signed-off-by: abbyhu2000 <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Description
Fix discover options' location when query enhancement is off.
Issues Resolved
Screenshot
When toggle is off:
When toggle is on:
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration