-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Conversation
query: string; | ||
filterResultCount: number; | ||
} | ||
|
||
export interface IIssueService { |
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.
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
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.
"Raw" is used in similar situations for search and debug but I'm not sure why... I like IWorkbenchIssueService better.
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.
Looks good!
…simpler interface to launch the issue reporter
…et when the setting is set
398a9b1
to
0f513d4
Compare
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 fromelectron-browser
unless I move it all over there, which I want to avoid.