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

Use issue reporter for settings search #43274

Merged
merged 7 commits into from
Feb 10, 2018

Conversation

roblourens
Copy link
Member

Fixes #43268

This implements a special mode for the issue reporter to allow filing issues with settings search info. The settings search type is not allowed as an option when opening the reporter through the Help menu, so the select options are set up dynamically. The rest of it is following the pattern of the types that are already there.

Another change is to add a new IssueService to the frontend which gets the theme info, installed extensions, other common stuff to provide a simpler API to code that wants to show the reporter. Another reason for it is that all the settings stuff is in browser, so it can't directly use the dependencies from electron-browser unless I move it all over there, which I want to avoid.

@roblourens roblourens self-assigned this Feb 9, 2018
query: string;
filterResultCount: number;
}

export interface IIssueService {
Copy link
Contributor

Choose a reason for hiding this comment

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

How about naming the new interface something like IWorkbenchIssueService and keeping the old one as IIssueService? To me, raw sounds like something that would always be wrapped/used as a base, but this is being used directly in the main process

Copy link
Member Author

Choose a reason for hiding this comment

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

"Raw" is used in similar situations for search and debug but I'm not sure why... I like IWorkbenchIssueService better.

Copy link
Contributor

@RMacfarlane RMacfarlane left a comment

Choose a reason for hiding this comment

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

Looks good!

@roblourens roblourens force-pushed the roblou/settingsSearchIssueReporter branch from 398a9b1 to 0f513d4 Compare February 10, 2018 02:31
@roblourens roblourens merged commit 540a998 into master Feb 10, 2018
@roblourens roblourens deleted the roblou/settingsSearchIssueReporter branch February 10, 2018 02:32
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 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.

Add a special mechanism for Insiders users to file issues on settings search
2 participants