Skip to content
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

Allow additional extension data from Issue Reporter API #196103

Merged
merged 9 commits into from
Oct 23, 2023

Conversation

justschen
Copy link
Contributor

regarding #46726

Laying initial groundwork and proposed API.

* laying the groundwork for issue reporter API

* working version 1

* added additional support, checkbox

* smol change with disabling edits and cleanup

* added blocker, timeout of 5 seconds, instead of rejecting we return

* added working template data as well

* removed test code

* cleaning up commit

* working with injecting template and allowing editing

* cleanup pass 1

* added progress bar and code cleanup

* cleanup and adding docs
@justschen justschen marked this pull request as ready for review October 23, 2023 17:50
@vscodenpa vscodenpa added this to the October 2023 milestone Oct 23, 2023
src/vs/code/electron-sandbox/issue/issueReporterModel.ts Outdated Show resolved Hide resolved
@@ -120,6 +124,12 @@ ${this.getInfos()}
private getInfos(): string {
let info = '';

if (this._data.issueType === IssueType.Bug || this._data.issueType === IssueType.PerformanceIssue) {
Copy link
Member

Choose a reason for hiding this comment

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

man this function makes my head hurt. So many ifs... we should clean this up in debt week.

src/vs/code/electron-sandbox/issue/issueReporterModel.ts Outdated Show resolved Hide resolved
src/vs/code/electron-sandbox/issue/issueReporterPage.ts Outdated Show resolved Hide resolved
src/vs/code/electron-sandbox/issue/issueReporterPage.ts Outdated Show resolved Hide resolved
src/vs/code/electron-sandbox/issue/issueReporterService.ts Outdated Show resolved Hide resolved
src/vs/code/electron-sandbox/issue/issueReporterService.ts Outdated Show resolved Hide resolved
src/vs/code/electron-sandbox/issue/issueReporterService.ts Outdated Show resolved Hide resolved
src/vs/workbench/api/common/extHost.api.impl.ts Outdated Show resolved Hide resolved
justschen and others added 2 commits October 23, 2023 12:53
Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
@justschen justschen enabled auto-merge (squash) October 23, 2023 20:03
@justschen justschen merged commit 8887abd into microsoft:main Oct 23, 2023
6 checks passed
Alex0007 pushed a commit to Alex0007/vscode that referenced this pull request Oct 26, 2023
…6103)

* issue-reporter-main merge into branch (microsoft#13)

* laying the groundwork for issue reporter API

* working version 1

* added additional support, checkbox

* smol change with disabling edits and cleanup

* added blocker, timeout of 5 seconds, instead of rejecting we return

* added working template data as well

* removed test code

* cleaning up commit

* working with injecting template and allowing editing

* cleanup pass 1

* added progress bar and code cleanup

* cleanup and adding docs

* added default data in issuereporter test

* extension data hidden by default, better loading indication

* cleanup

* added codicons

* added codicon styling, removed progress bar:

* code cleanup

* better preview button handling

* cleaning up part 4

Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>

---------

Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
@github-actions github-actions bot locked and limited conversation to collaborators Dec 7, 2023
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.

3 participants