Skip to content

Add prompt to issue reporter asking users to test on insiders build before submitting report #138881

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

DavidJRWang
Copy link
Contributor

This PR fixes #52210

This PR adds text to the "Steps to Reproduce" section of the issue reporter asking the user to test on an insiders build before submitting the report. This PR also detects the build the user is running and decides whether to display the text or not based on that information.

To test, you can change the version in package.json. Tacking "-insiders" to the end of it indicates an insiders build, and will flip whether or not the text shows.

@TylerLeonhardt
Copy link
Member

Just a heads up. Things slow down during the holidays. I'll try to get to this as soon as I can, but please have patience with me 🙏

@TylerLeonhardt TylerLeonhardt added this to the Backlog milestone Dec 17, 2021
Copy link

@p4nu p4nu left a comment

Choose a reason for hiding this comment

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

We could add a new paragraph for the new text to not break the underlying translations.

@@ -759,7 +759,7 @@ export class IssueReporter extends Disposable {
}

reset(descriptionTitle, localize('stepsToReproduce', "Steps to Reproduce"), $('span.required-input', undefined, '*'));
reset(descriptionSubtitle, localize('performanceIssueDesciption', "When did this performance issue happen? Does it occur on startup or after a specific series of actions? We support GitHub-flavored Markdown. You will be able to edit your issue and add screenshots when we preview it on GitHub."));
reset(descriptionSubtitle, localize('performanceIssueDesciption', "When did this performance issue happen ? Does it occur on startup or after a specific series of actions? We support GitHub-flavored Markdown.You will be able to edit your issue and add screenshots when we preview it on GitHub."));
Copy link

Choose a reason for hiding this comment

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

Suggested change
reset(descriptionSubtitle, localize('performanceIssueDesciption', "When did this performance issue happen ? Does it occur on startup or after a specific series of actions? We support GitHub-flavored Markdown.You will be able to edit your issue and add screenshots when we preview it on GitHub."));
reset(descriptionSubtitle, localize('performanceIssueDesciption', "When did this performance issue happen? Does it occur on startup or after a specific series of actions? We support GitHub-flavored Markdown. You will be able to edit your issue and add screenshots when we preview it on GitHub."));

@@ -740,7 +740,7 @@ export class IssueReporter extends Disposable {
show(extensionsBlock);
}
reset(descriptionTitle, localize('stepsToReproduce', "Steps to Reproduce"), $('span.required-input', undefined, '*'));
reset(descriptionSubtitle, localize('bugDescription', "Share the steps needed to reliably reproduce the problem. Please include actual and expected results. We support GitHub-flavored Markdown. You will be able to edit your issue and add screenshots when we preview it on GitHub."));
reset(descriptionSubtitle, localize('bugDescription', "Share the steps needed to reliably reproduce the problem.Please include actual and expected results.We support GitHub - flavored Markdown.You will be able to edit your issue and add screenshots when we preview it on GitHub. {0}", this.issueReporterModel.getData().versionInfo.vscodeVersion.includes('insiders') ? '' : 'Please ensure that this issue hasn\'t already been resolved on an insiders build before submitting.'));
Copy link

Choose a reason for hiding this comment

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

This will break the current translation. Also check that spaces are like in the original text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add prompt to "test on insiders" to issue reporter
5 participants