-
Notifications
You must be signed in to change notification settings - Fork 33.4k
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: David Wang <daviwang@umich.edu>
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 🙏 |
There was a problem hiding this 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.")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.')); |
There was a problem hiding this comment.
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.
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.