-
Notifications
You must be signed in to change notification settings - Fork 2k
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
InlineHelp: Support search doesn't retain search result between Home and FAB instances #43511
Comments
@getdave I can't reproduce this bug. Although it records the event, it happens when the popover opens ( |
@jancavan Interested in your perspective here. Is this a bug or a feature? |
This is a bug because the results are different. I type in I navigate to a different page, open up the FAB, and get different results (default links): If I click on the search box within the FAB and press enter, nothing happens. I have to clear my query first to get relevant results. I don't think we should reset the query, but we should offer continuity instead. |
Thanks, Jan.
:this: is a winner.
The thing is the state retains the query but doesn't retain the search results. Making the results persistent will fix the issue. |
Updated in response to @jancavan's feedback. |
I noticed this other bug in the Customer Home Help card. To repro:
I was expecting it to do another search, albeit only repopulating the same results (since I did not change the query). But instead, it opened up the modal from the item I previously clicked. It's stuck on the focus state. |
There are x2 support search instances in Calypso.
If you enter a search into the "My Home" version and then switch to another Page and open the "FAB" version the search query is retained but the search results are not persisted.
We should ensure that if there are results for the current query, then same results should be shown between instances.
This is as per @jancavan's feedback.
Whatever the outcome we should update the e2e tests to cover the scenario.
Steps to reproduce
Podcast
. Wait for results to load.Pages
page (or any other page that is not "My Home").What I expected
The search UI should contain the query from the "other" instance and the results should be the same.
No additional search query should be fired off.
What happened instead
The results were different for the same query.
cc @retrofox
The text was updated successfully, but these errors were encountered: