Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Verification nag toasts #3940

Merged
merged 4 commits into from
Jan 27, 2020
Merged

Verification nag toasts #3940

merged 4 commits into from
Jan 27, 2020

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 25, 2020

Implement the three differenty cases for this session, and also fix
ones for other sessions which had the wrong copy.

Fixes element-hq/element-web#11220

Implement the three differenty cases for this session, and also fix
ones for other sessions which had the wrong copy.

Fixes element-hq/element-web#11220
@dbkr dbkr requested a review from a team January 25, 2020 16:55
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks for working on this polish! 😁 Even though the design questions in the issue were never answered, this seems like a fine attempt and we can always tweak from here.

src/DeviceListener.js Outdated Show resolved Hide resolved
src/DeviceListener.js Outdated Show resolved Hide resolved
// No cross-signing on account but key backup available (upgrade encryption)
ToastStore.sharedInstance().addOrReplaceToast({
key: THIS_DEVICE_TOAST_KEY,
title: _t("Encryption upgrade available"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit hard to check everything for consistency when the toast titles are written separately from the description and buttons that they go with. Not something that has to be changed now, but just pointing out it would easier to review if all of content for a given toast was in the same place.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, agreed this is a bit odd, although arguably I should have fixed it when we only had one toast to fix!

dbkr and others added 2 commits January 27, 2020 09:44
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
Copy link
Member Author

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think whatever the outcome of the design questions is, the code will end up looking vey much like this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nag UI when some of your own devices are not verified by you
2 participants