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] [Data Explore] scope history on legacy discover plugin is broken #4698

Closed
abbyhu2000 opened this issue Aug 8, 2023 · 4 comments
Closed
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project

Comments

@abbyhu2000
Copy link
Member

abbyhu2000 commented Aug 8, 2023

Describe the bug

The save window on legacy discover plugin is not the same as previous one, the current one does not allow save as new toggle, and is causing some function tests to fail. Therefore, we can never edit and save an existing saved search, it always ends up saving a new saved search.

Current one:
Screenshot 2023-08-08 at 4 32 19 PM

Expected one/previous one:

Screenshot 2023-08-08 at 4 30 56 PM

@abbyhu2000 abbyhu2000 added bug Something isn't working data explorer Issues related to the Data Explorer project labels Aug 8, 2023
@ashwin-pc
Copy link
Member

I'm not able to repro this either. Here are my steps, let me know if i need to change it:

  1. Ensure that you are on legacy discover
  2. Save a search
  3. After its saved, click on save again
  4. See the screen below

Screenshot 2023-08-09 at 2 48 17 AM

@abbyhu2000
Copy link
Member Author

Pulled down the latest change from the feature branch, now the save search window works as expected.

@abbyhu2000
Copy link
Member Author

abbyhu2000 commented Aug 10, 2023

However, i think there is another bug related to this: in one functional test, it saved a saved search first on discover, then navigate to dashboard page to add that saved search to the dashboard, and save the dashboard. Then go back to discover page by clicking the discover tab in the side menu. It should directly go back to that saved search page, so then when we make modifications, the save window will show the save as new toggle. However, now in the legacy discover, the scope history seem to be lost, and clicking the discover tab in the side menu wont take us to the saved search page anymore, it will only take us to the general discover page. Thus now when we click save, the save window will not show save as new toggle, cuz it thinks this is a new saved search. @ashwin-pc

In previous discover:

Screen.Recording.2023-08-09.at.10.37.19.PM.mov

In the current legacy discover:

Screen.Recording.2023-08-09.at.10.42.28.PM.mov

@ashwin-pc ashwin-pc changed the title [BUG] [Data Explore] save window on legacy discover plugin is broken [BUG] [Data Explore] scope history on legacy discover plugin is broken Aug 22, 2023
@ashwin-pc ashwin-pc closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2023
@ashwin-pc
Copy link
Member

Since legacy discover will be removed in 2.11, this issue wont be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project
Projects
None yet
Development

No branches or pull requests

2 participants