Skip to content

Fixes #64669: Keep extensions' search input value after window reload#68198

Closed
vldmrkl wants to merge 206 commits intomicrosoft:masterfrom
vldmrkl:issue-64669
Closed

Fixes #64669: Keep extensions' search input value after window reload#68198
vldmrkl wants to merge 206 commits intomicrosoft:masterfrom
vldmrkl:issue-64669

Conversation

@vldmrkl
Copy link
Contributor

@vldmrkl vldmrkl commented Feb 8, 2019

This Pull Request fixes issue #64669

As discussed on the issue page, I created viewletState for searchBox in order to save value of the search box, and use it when it is re-rendered.

CC: @sandy081

@msftclas
Copy link

msftclas commented Feb 8, 2019

CLA assistant check
All CLA requirements met.

@sandy081 sandy081 added this to the February 2019 milestone Feb 13, 2019
@sandy081 sandy081 added the extensions Issues concerning extensions label Feb 13, 2019
protected saveState(): void {
const value = this.searchBox.getValue();
this.searchViewletState['query.value'] = value;
if (value.indexOf('@installed') >= 0) {
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed it

@sandy081
Copy link
Member

@klymenkoo Tested it and it does not work. I changed extensions viewlet to show installed extensions and did refresh. After refresh, input box shows @installed but the views were not updated

image

@vldmrkl
Copy link
Contributor Author

vldmrkl commented Feb 22, 2019

@sandy081 I added triggerSearch() function if there is value in searchBox while creation. Should work now. Let me know if there is anything else needed to be fixed.

joaomoreno and others added 27 commits February 22, 2019 10:45
* add functionality to hide open context menu
fix toggling of ... menu on windows
fix toggling of global activity bar menu on windows
fix position of global activity bar menu on windows
fixes microsoft#62413
fixes microsoft#61766

* addressing feedback

* linting error

* updating to eat mouse click to dismiss menu

* remove native context menu changes as unnecessary

* use an invisible div to block mouse

* move logic into context menu handler

* sanitize SNAP variables

* rename update.channel to update.mode

fixes microsoft#67407

* dervie status background from editor widget background
Fixes microsoft#59606

This matches how the editor find widget works
@sandy081
Copy link
Member

@klymenkoo Thanks for the changes. Merged it by cherry picking commit by commit as I kinda messed up with merging. Thanks a lot.

@sandy081 sandy081 closed this Feb 22, 2019
@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

extensions Issues concerning extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.