-
-
Notifications
You must be signed in to change notification settings - Fork 827
Conversation
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
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, 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.
// No cross-signing on account but key backup available (upgrade encryption) | ||
ToastStore.sharedInstance().addOrReplaceToast({ | ||
key: THIS_DEVICE_TOAST_KEY, | ||
title: _t("Encryption upgrade available"), |
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'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.
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, agreed this is a bit odd, although arguably I should have fixed it when we only had one toast to fix!
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
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, I think whatever the outcome of the design questions is, the code will end up looking vey much like this.
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