Skip to content

Hide the feedback form after clicking Submit a bug#55938

Merged
RMacfarlane merged 4 commits intomicrosoft:masterfrom
itamark:close-feedback-on-reporter-open
Aug 22, 2018
Merged

Hide the feedback form after clicking Submit a bug#55938
RMacfarlane merged 4 commits intomicrosoft:masterfrom
itamark:close-feedback-on-reporter-open

Conversation

@itamark
Copy link
Contributor

@itamark itamark commented Aug 7, 2018

Fixes #55713

@RMacfarlane RMacfarlane self-assigned this Aug 7, 2018
@ramya-rao-a ramya-rao-a requested a review from RMacfarlane August 7, 2018 16:21
.on('click', event => {
dom.EventHelper.stop(event);
if(!!this.requestFeatureLink){
shell.openExternal(this.requestFeatureLink);
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks good!

I think it would be simpler to keep the 'href' as this.requestFeatureLink above, and then the on click could just have this.hide() and let the event bubble.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a really good point. I'll rework this tomorrow to use that approach.

@itamark
Copy link
Contributor Author

itamark commented Aug 17, 2018

@RMacfarlane updated the PR with your idea of just letting the event bubble after hiding.

@RMacfarlane
Copy link
Contributor

Pushed one small change to remove an unused import. This looks good to me, thanks for your contribution!

@RMacfarlane RMacfarlane merged commit f2e49a2 into microsoft:master Aug 22, 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.

The feedback popup should disappear after choosing to submit a bug

3 participants