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

[Bug] Traces redirection while QA enabled #2369

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

TackAdam
Copy link
Collaborator

@TackAdam TackAdam commented Mar 3, 2025

Description

Re-direction from Traces to Explorer to view logs is being over written when QA is enabled.

Before:

BeforeChange.mov

After:

AfterChange.mov

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Adam Tackett <tackadam@amazon.com>
@TackAdam TackAdam added bug Something isn't working backport 2.x labels Mar 3, 2025
@TackAdam TackAdam marked this pull request as ready for review March 3, 2025 20:24
Copy link
Member

@joshuali925 joshuali925 left a comment

Choose a reason for hiding this comment

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

does it affect query assist feature?

@TackAdam
Copy link
Collaborator Author

TackAdam commented Mar 3, 2025

does it affect query assist feature?

Not that I can tell, as soon as a question is prompted it switched the source to the selected index and overrides what is present from the re-direction.

@@ -259,7 +259,6 @@ export const Search = (props: any) => {
setSelectedIndex(reduxIndex);
// sets the editor text and populates sidebar field for a particular index upon initialization
const indexQuery = `source = ${reduxIndex[0].label}`;
handleQueryChange(indexQuery);
Copy link
Collaborator

Choose a reason for hiding this comment

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

If I'm remembering correctly, this method was used to set the query inside of the "query area" from a redirection related to query assistant. Did we know what this was used for beforehand and if it remains unaffected with this change?
One of these redirections I believe were from the welcome page with sample indices and sample natural language queries, could start with testing that interaction.

Copy link
Member

Choose a reason for hiding this comment

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

@paulstn Do you know was it some custom welcome page or released in a particular OS version? We are not able to find this on our side..

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Tested the 2.13 new home page setting which just provides links to documentation, no workflow identified that landed on the explorer page with an example query.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Regardless of being able to find the welcome page, the purpose of this line was to populate the query area with some placeholder text. If we're fine removing that placeholder then there isn't an issue.

@TackAdam TackAdam merged commit 8adb81e into opensearch-project:main Mar 5, 2025
18 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 5, 2025
Signed-off-by: Adam Tackett <tackadam@amazon.com>
Co-authored-by: Adam Tackett <tackadam@amazon.com>
(cherry picked from commit 8adb81e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
TackAdam pushed a commit that referenced this pull request Mar 5, 2025
(cherry picked from commit 8adb81e)

Signed-off-by: Adam Tackett <tackadam@amazon.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>
Co-authored-by: Adam Tackett <tackadam@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants