Skip to content
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

E2E: Key Backup snagging list #8066

Closed
9 of 11 tasks
lampholder opened this issue Jan 8, 2019 · 5 comments
Closed
9 of 11 tasks

E2E: Key Backup snagging list #8066

lampholder opened this issue Jan 8, 2019 · 5 comments

Comments

@lampholder
Copy link
Member

lampholder commented Jan 8, 2019

  • 'Start a new backup' should probably indicate that it's a process of regular backups that's being set up, not a one-off backup. (fixed in Move initial key backup to background matrix-org/matrix-react-sdk#2416)
  • Escaping the 'Start a new backup' modal is peculiarly difficult - I only managed it by first pressing escape, then clicking outside of the modal (fixed in Fix a few things with cancelling recovery reminder matrix-org/matrix-react-sdk#2420)
  • Debounce the feedback text on the passphrase entry
  • Niggle: stop telling my passphrase doesn't match before I've obviously finished typing it in
  • Niggle: could the 'go back and set it again' link be a backwards-directing button on the modal?
  • Niggle: the 'backup version' is not something we'd expect everyday users to understand or care about - in the final impl could this be downplayed?
  • "This device is uploading keys to this backup" (in user settings) sounds like it's in the process of doing it right now' so does "Your encryption keys are now being backed up to your Homeserver." (on the success dialogue after setting up backup) (fixed in Move initial key backup to background matrix-org/matrix-react-sdk#2416)
  • It's too easy to to dismiss the key backup nag bar forever (and never again be reminded of something you really should do)
  • It looks like we set 'showRoomRecoveryReminder' to false if the user sets up backup (rather than to record a permanent dismissal of the reminder). (fixed in Fix a few things with cancelling recovery reminder matrix-org/matrix-react-sdk#2420)
  • If you mash in a wrong key, the title of the modal is still 'Backup Restored'. And it gives you a total of the failures (rather than suggesting you check your password).
  • We should consider referring to the initial upload as an initial upload to reinforce the idea that you'll keep backing up to this backup automatically (fixed in Move initial key backup to background matrix-org/matrix-react-sdk#2416)

EDIT: Extracting "The Secure Message Recovery notif should say if you already have a backup in place (and that 'setup' means 'just verify the device that started the backup' in that case)" to a separate issue 'cause it unlocks our ability to turn this feature on by default for /develop and /experimental users

@lampholder
Copy link
Member Author

lampholder commented Jan 9, 2019

  • Set up backup notification doesn't play nicely with widgets:
    image

@jryans
Copy link
Collaborator

jryans commented Jan 9, 2019

It looks like we set 'showRoomRecoveryReminder' to false if the user sets up backup (rather than to record a permanent dismissal of the reminder).

Do you have more detail about this one? In my testing, setting up the backup does not change showRoomRecoveryReminder to false. The intent of the current code is exactly as you describe: only opting out should cause this setting to change.

@dbkr
Copy link
Member

dbkr commented Jan 9, 2019

Found this one - it's if you hit the 'x' button on the dialog at the end of the key backup process rather than the 'close' button. I'll fix this now.

dbkr added a commit to matrix-org/matrix-react-sdk that referenced this issue Jan 9, 2019
Canceling the dialog once the backup was created meant onFinished
was called with false which RoomView interprets as the backup not
being done.

This does mean you can't just hit esc to clear the dialog once you're
done: if we wanted this we could fix this in a better way.

element-hq/element-web#8066
dbkr added a commit to matrix-org/matrix-react-sdk that referenced this issue Jan 9, 2019
 * Put a cancel button on the first page of the create key backup
   dialog
 * Move settings logic into the room reminder: I know this is moving
   logic *into* a view but RoomView is quite heavyweight as it is.
 * Give the recovery reminder an explicit 'onDontAskAgainSet' rather
   than onFinished which was getting called with false when the last
   screen of the dialog was closed with the cancel 'x' rather than
   the 'close' button.

element-hq/element-web#8066
@dbkr
Copy link
Member

dbkr commented Jan 10, 2019

Sensible debouncing behaviour is quite subtle here, eg. if I type a crap password then add the '1' on the end, does it continue to tell me its crap for 0.5s or does that change happen straight away? The easiest might be for it to hide the feedback altogether while the user is 'still typing', but this may also feel weird.

I think our only precedent here is checking on the onblur handler which wouldn't work here as there's only one field so it would be essentially equivalent to validating on 'Next'.

@lampholder
Copy link
Member Author

Only niggles and the warning vs widgets issue remain, so I've pulled warning vs widgets out to a separate bug: #9078

su-ex added a commit to SchildiChat/element-web that referenced this issue Apr 1, 2022
* Live location sharing: live share warning in room ([\element-hq#8100](matrix-org/matrix-react-sdk#8100)).
* Add simple live share warning ([\element-hq#8066](matrix-org/matrix-react-sdk#8066)).
* extract reusable styled live beacon icon ([\element-hq#8103](matrix-org/matrix-react-sdk#8103)).
* Don't restore MemberInfo from RightPanel history when viewing a room ([\element-hq#8090](matrix-org/matrix-react-sdk#8090)). Fixes element-hq#21487.
* Allow sending files as replies as per MSC3676 ([\element-hq#8020](matrix-org/matrix-react-sdk#8020)). Fixes element-hq#7156.
* kill beacons on expiry ([\element-hq#8075](matrix-org/matrix-react-sdk#8075)).
* enable geolocation behaviour in location picker for live share type ([\element-hq#8068](matrix-org/matrix-react-sdk#8068)).
* Improve formatting features in the editor ([\#7104](matrix-org/matrix-react-sdk#7104)). Fixes element-hq#19501. Contributed by @alexanderstephan.
* Support MSC3026 busy presence ([\element-hq#8043](matrix-org/matrix-react-sdk#8043)).
* Show displayname in non-narrow thread summeries ([\element-hq#8036](matrix-org/matrix-react-sdk#8036)). Fixes element-hq#19646.
* Tweak search dialog based on new designs ([\element-hq#7980](matrix-org/matrix-react-sdk#7980)). Fixes element-hq#21285 and element-hq#21289.
* fallback to event text in location body when map unavailable ([\element-hq#7982](matrix-org/matrix-react-sdk#7982)). Fixes element-hq#20655.
* Send pin drop location share events ([\#7967](matrix-org/matrix-react-sdk#7967)).
* fix quicktime video thumbnailing ([\element-hq#8108](matrix-org/matrix-react-sdk#8108)). Fixes element-hq#21505.
* Fix scroll behaviour in space panel ([\element-hq#8111](matrix-org/matrix-react-sdk#8111)). Fixes element-hq#21467.
* Fix emoting with emoji or pills ([\element-hq#8105](matrix-org/matrix-react-sdk#8105)). Fixes element-hq#21497.
* Remove padding of InviteDialog & fix visual regression ([\element-hq#8076](matrix-org/matrix-react-sdk#8076)). Fixes element-hq#20631. Contributed by @luixxiul.
* Fixes mx_MLocationBody_markerBorder ([\element-hq#8069](matrix-org/matrix-react-sdk#8069)). Fixes element-hq#21444. Contributed by @luixxiul.
* Make margin and padding of mx_InviteDialog_other consistent ([\#8063](matrix-org/matrix-react-sdk#8063)). Fixes element-hq#20631. Contributed by @luixxiul.
* Fix freeze/crash when 1:1 calling ([\element-hq#8057](matrix-org/matrix-react-sdk#8057)). Fixes element-hq#21181.
* Don't assume that widget IDs are unique ([\#8052](matrix-org/matrix-react-sdk#8052)). Fixes element-hq#21399.
* Fix the header of Space landing page ([\element-hq#8048](matrix-org/matrix-react-sdk#8048)). Fixes element-hq#21402. Contributed by @luixxiul.
* Fix buttons alignment of Space list header ([\element-hq#8047](matrix-org/matrix-react-sdk#8047)). Fixes element-hq#21401. Contributed by @luixxiul.
* Fix null-guarding regression around reply_to_event dispatch ([\element-hq#8039](matrix-org/matrix-react-sdk#8039)).
* Fix clicking on copy link to thread wrongly opening thread ([\element-hq#8038](matrix-org/matrix-react-sdk#8038)). Fixes element-hq#20653.
* Fix regression around replying to search results ([\element-hq#8035](matrix-org/matrix-react-sdk#8035)). Fixes element-hq#21389.
* Share shared history keys in the background ([\element-hq#8031](matrix-org/matrix-react-sdk#8031)). Fixes element-hq#21192.
* Paginate responses to pinned polls ([\element-hq#8025](matrix-org/matrix-react-sdk#8025)). Fixes element-hq#21382.
* Fix incorrect usage of unstable variant of `is_falling_back` ([\element-hq#8016](matrix-org/matrix-react-sdk#8016)).
* Fix issues with ThreadSummary in msc-enabled mode ([\element-hq#8018](matrix-org/matrix-react-sdk#8018)). Fixes matrix-org/element-web-rageshakes#11401 and matrix-org/element-web-rageshakes#11400.
* Fix alignment of polls within threads ([\element-hq#8017](matrix-org/matrix-react-sdk#8017)). Fixes element-hq#21235.
* Fix issues with thread summaries being wrong or stale ([\element-hq#8015](matrix-org/matrix-react-sdk#8015)). Fixes element-hq#21363 and element-hq#21204.
* Fix button border color of LeaveSpaceDialog ([\element-hq#8010](matrix-org/matrix-react-sdk#8010)). Fixes element-hq#21365. Contributed by @luixxiul.
* Fix room list scroll jumps ([\element-hq#7991](matrix-org/matrix-react-sdk#7991)). Fixes element-hq#19322.
* Fix a variety of issues with HTML → Markdown conversion ([\element-hq#8004](matrix-org/matrix-react-sdk#8004)). Fixes element-hq#10648, element-hq#20718, element-hq#10722, element-hq#10389, element-hq#17610 element-hq#9984 and element-hq#20140.
* Wrap EventTile rather than its children in an error boundary ([\element-hq#7945](matrix-org/matrix-react-sdk#7945)).
* Normalized shortcut formatting for quote expansion control ([\element-hq#7995](matrix-org/matrix-react-sdk#7995)). Fixes element-hq#19685. Contributed by @Sinharitik589.
* Fix buttons and text layout on Security Key dialog ([\element-hq#7996](matrix-org/matrix-react-sdk#7996)). Fixes element-hq#21330. Contributed by @luixxiul.
* Fix formatting not being applied after links ([\element-hq#7990](matrix-org/matrix-react-sdk#7990)). Fixes element-hq#20091.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants