-
Notifications
You must be signed in to change notification settings - Fork 36
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
Changing select index error message to be more informative (#173) #270
Changing select index error message to be more informative (#173) #270
Conversation
…h-project#173) Signed-off-by: Evan Kielley <evankielley@gmail.com>
@evankielley Thank you for your contribution to the DSR plugin! Could please add a screenshot of the page before and after the changes. Also, the identical error message appears in multiple files; can we make it a constant? Please disregard the yarn.lock file change. The maintainers are addressing it now. |
Codecov Report
@@ Coverage Diff @@
## main #270 +/- ##
=======================================
Coverage 86.27% 86.27%
=======================================
Files 15 15
Lines 204 204
Branches 40 40
=======================================
Hits 176 176
Misses 26 26
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
No problem, will do! |
…opensearch-project#173) Signed-off-by: Evan Kielley <evankielley@gmail.com>
Ready for re-review |
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.
The change looks good to me. Can you rebase it since the yarn.lock fix should resolved #271
Oh nice. Will do. Sorry I forgot that earlier. |
Signed-off-by: Evan Kielley <evankielley@gmail.com>
Ready |
The jar hell issue should be resolved after the new artifacts for OpenSearch core are available. Merge this PR now. |
* Changing select index error message to be more informative (#173) Signed-off-by: Evan Kielley <evankielley@gmail.com> * Changing select index error message to be a constant to keep code DRY (#173) Signed-off-by: Evan Kielley <evankielley@gmail.com> * Reverting change to yarn.lock Signed-off-by: Evan Kielley <evankielley@gmail.com> --------- Signed-off-by: Evan Kielley <evankielley@gmail.com> (cherry picked from commit dff6559) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…) (#275) * Changing select index error message to be more informative (#173) * Changing select index error message to be a constant to keep code DRY (#173) * Reverting change to yarn.lock --------- (cherry picked from commit dff6559) Signed-off-by: Evan Kielley <evankielley@gmail.com> 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>
Description
When a user submits a search query with no index or only one index selected, an error message is displayed that tells the user to select an index. This pull request changes that error message to be more informative.
Issues Resolved
Resolves #173
Screenshots
Before
(Before) Both left and right indices selected
(Before) Only left index selected
(Before) Only right index selected
(Before) Neither left nor right indices selected
After
(After) Both left and right indices selected
(After) Only left index selected
(After) Only right index selected
(After) Neither left nor right indices selected
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.