Skip to content

Add an entry to the search history when the search is triggered by an option change#61993

Merged
roblourens merged 4 commits intomicrosoft:masterfrom
iBlackShadow:iblackshadow/fix-search-history-not-being-saved
Nov 12, 2018
Merged

Add an entry to the search history when the search is triggered by an option change#61993
roblourens merged 4 commits intomicrosoft:masterfrom
iBlackShadow:iblackshadow/fix-search-history-not-being-saved

Conversation

@iBlackShadow
Copy link
Contributor

fixes #61346

was triggered by an option change
@roblourens
Copy link
Member

This looks great but it makes me realize that we have the same problem in another case - when the user presses enter in the "files to include/exclude" box, it also doesn't save the history. Maybe we should call addToHistory from onQueryChanged?

@iBlackShadow
Copy link
Contributor Author

that might be the best solution because that way we can be sure that the history is saved every time a search is done.

i will give it a try to see how it works.

@roblourens
Copy link
Member

Are you still looking at this @iBlackShadow?

@iBlackShadow
Copy link
Contributor Author

Yeah, i have been a little busy but i want to fix this this weekend.

@msftclas
Copy link

msftclas commented Nov 11, 2018

CLA assistant check
All CLA requirements met.

@roblourens roblourens merged commit fedb338 into microsoft:master Nov 12, 2018
@roblourens roblourens added this to the November 2018 milestone Nov 12, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search history

3 participants