-
Notifications
You must be signed in to change notification settings - Fork 285
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
Snapshots, dialogs and UI revisit #5685
Snapshots, dialogs and UI revisit #5685
Conversation
23f2a73
to
d400172
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.
Waiting on rebase of #5671 before giving a more thorough review, but I think we can improve some of the messages used throughout the dialogs.
d400172
to
c9f2096
Compare
972538f
to
d8f5d5b
Compare
@rak-phillip I added the title bar to confirmation dialogs. Blocking dialogs ATM are still not-movable and not-closable. |
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.
background.ts
Outdated
|
||
if (options.format.type !== 'question') { | ||
/** On Linux it does nothing */ | ||
mainWindow.setOpacity(0.7); |
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'm not sure if changing the opacity generates the desired effect here. The entire main window becomes transparent, where I'm thinking that the intent is to dim the main window as a means to communicate that it is "disabled" while the modal is open
We might need to create some form of overlay using an electron BrowserView1, via css, or some other method
Footnotes
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.
Thank you Phil.
- I've fixed the close button on Windows; it was caused by
closable: true
option, which is not required in the snapshots case. - I've fixed the dialog position on windows, now it should be always in the middle of the
mainWindow
.
18fb357
to
351e0ab
Compare
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
- Implement dialog workflow - Implement dialog structure Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com> Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com> Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com> Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com> Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com> Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
351e0ab
to
f6a516a
Compare
- Fix dialog position on Windows - Fix close button on Windows - Remove opacity on Windows - Code refactoring Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
d5d7b16
to
6d806bf
Compare
Tested on Linux/MacOS/Windows |
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 overall. Just a few comments to address.
<span | ||
v-if="snapshot.formattedCreateDate" | ||
class="value" | ||
v-html="t('snapshots.card.created', { date: snapshot.formattedCreateDate.date, time: snapshot.formattedCreateDate.time }, true)" |
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.
We will need to make sure that we follow up with #4323 in our next release.
Co-authored-by: Phillip Rak <rak.phillip@gmail.com> Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Thanks @rak-phillip , I've pushed the requested changes +
|
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
999b148
to
7799752
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.
LGTM
Fixes #5677
Screenshots
Empty page
Cards
Cards + notes
Confirm delete
Confirm Restore
Creation dialog
Restoring dialog
Creating/Restoring dialog at startup
Error example