-
Notifications
You must be signed in to change notification settings - Fork 757
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
Added a nice UI for the E2E-enabled account first connect #1241
Added a nice UI for the E2E-enabled account first connect #1241
Conversation
Instead of immediately popping up the mnemonic dialogue, only show a notification bar on the account setup page. For the cases where the user does not want to use E2E, this is significantly less intrusive than the old approach.
What do you think @jancborchardt? |
Good stuff @ivan-cukic! Only details:
Thanks a lot! 🚀 |
I first wrote it with the dashes, and then saw that it is written without dashes in a few places, so I ended up removing them. Will put them back. WRT 'setup', I wanted to ask whether anyone has a better idea for the button title as it is not really setting anything up. Yes, the icon is awkward on Windows. It uses |
Nice work 👍
How about "Enable" or "Activate"? (Perhaps "Enable..." / "Activate..." to signal there's something more to adjust than just a click.) While writing this I feel I'd personally prefer "Enable" rather than "Activate"^^ |
- Text changed to "Enable..." instead of "Setup" - The close icon follows NC style - "end-to-end" instead of "end to end" Signed-off-by: Ivan Čukić <ivan.cukic@kde.org>
@misch7 to be even more descriptive, the button should include what it will enable, like "Enable encryption". |
Even though this could be clear to understand from the notification context (see screenshot) I think you're right, this would improve the button to be super clear to the user. And it would still be short enough. |
Message changed. |
src/gui/accountsettings.cpp
Outdated
{ | ||
ui->encryptionMessage->setText(tr("This account supports end-to-end encryption")); | ||
|
||
QAction *mnemonic = new QAction(tr("Enable encryption..."), this); |
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.
QAction *mnemonic = new QAction(tr("Enable encryption..."), this); | |
QAction *mnemonic = new QAction(tr("Enable encryption"), this); |
The ellipsis is not really needed here.
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.
It was requested by @camilasan to indicate that it opens up a new window
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.
Hm, I wouldn’t expect that from "…" a simple ellipsis. Also other buttons like "Add folder sync connection" and "Edit ignored files" which open a new window don’t do that. So I’d cut it for less noise.
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.
Looking good for me design-wise, nice work @ivan-cukic! 👍
Instead of immediately popping up the mnemonic dialogue,
only show a notification bar on the account setup page.
For the cases where the user does not want to use E2E,
this is significantly less intrusive than the old approach.
This is related to #917 and #753