-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Welcome Dialog Service #176580
Welcome Dialog Service #176580
Conversation
d1c9fe3
to
ba8a027
Compare
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.
I am a little bit confused why we now have a modalDialogService
. To clarify, we already have IDialogService
and it opens modal dialogs (either native or custom). Why do we need a second service?
If we can move the functionality into the IDialogService
that would be better, otherwise for a developer it will be hard to tell apart dialog service from modal dialog service.
Fixed. |
0386762
to
c0afba8
Compare
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.
Why not just welcomeDialog
? To me, every dialog is modal by definition.
c0afba8
to
336a349
Compare
336a349
to
cc7b02e
Compare
b9f88f9
to
8715139
Compare
src/vs/workbench/contrib/welcomeDialog/browser/welcomeDialog.contribution.ts
Outdated
Show resolved
Hide resolved
e99aaa2
to
c4ebad2
Compare
e5536d4
to
1e035cf
Compare
Thanks Ben. Since there are no other architecture changes, ill remove you from this PR. I did update the comment as you requested.
Related: #166895
The
welcomeDialogService
uses the existingvscode/src/vs/base/browser/ui/dialog/dialog.ts
Line 69 in 040a680
to create a welcome modal dialog.