-
-
Notifications
You must be signed in to change notification settings - Fork 440
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
Add cancel button for exiting install modal #835
Add cancel button for exiting install modal #835
Conversation
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.
LGTM, nice PR
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.
Hi, thanks for the PR
I know it works fine but I think having three buttons there is not ideal. can you go with the Close button solution?
An X icon that you can grab from FontAwesome (I think we already have a use case in this component). The icon name is: faXmark
.
Add some margin on it as well since that example has none.
Nice, can you make it a big bigger and post a screenshot with it on the right corner as well, so we can decide which one is better? |
Thanks. Let's go with smaller icon on the right. I think it's the best way 🙂 |
.vscode/settings.json
Outdated
"statusBarItem.hoverBackground": "#fa1b49", | ||
"statusBarItem.remoteBackground": "#dd0531", | ||
"statusBarItem.remoteForeground": "#e7e7e7", | ||
"titleBar.activeBackground": "#dd0531", |
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 are all this settings?
electron/main.ts
Outdated
webviewTag: true, | ||
contextIsolation: false, |
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.
Don't change these
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.
Yeah those 2 files weren't supposed to be in the commit, sorry about that
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.
Apart from dragonDScript's comments about those extra changes I only have a question about the use of !important
.
The rest looks good to 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.
LGTM; nice PR. fix what the others told you and it'll be good to go
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.
great!
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.
LGTM 👍🏽
thanks for that!
Glad I could help! :) thanks |
Solves issue: #826 of adding the "Cancel" button for the install modal
Here's a quick demo of the functionality:
Screen.Recording.2021-12-29.at.14.20.51.mov
Regards, Arturo