-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add Recovery
section in the new user settings Encryption
tab
#28673
base: develop
Are you sure you want to change the base?
Conversation
7ee9a42
to
a90f51f
Compare
a90f51f
to
b3dc812
Compare
b3dc812
to
98d86e0
Compare
98d86e0
to
2710462
Compare
2710462
to
5e31204
Compare
5e31204
to
54ede8b
Compare
54ede8b
to
1811aa6
Compare
97b9f95
to
9aecfcc
Compare
|
||
/** | ||
* Remove the cached secrets from the indexedDB | ||
* This is a workaround to simulate the case where the secrets are not cached. |
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.
ok, but do we know what could cause this to happen in practice?
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 don't know. I just know that EX is checking it and we need to do it too, cf this discussion.
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.
See discussion at https://matrix.to/#/!tahqRKMuWfcFOyQiPw:matrix.org/$Y_fPpXvI3FSrLNuI0xdcjgWcZiW__140IFaecOF0YVU?via=matrix.org&via=element.io&via=one.ems.host for potential causes
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.
Added comments
src/components/views/settings/tabs/user/EncryptionUserSettingsTab.tsx
Outdated
Show resolved
Hide resolved
src/components/views/settings/tabs/user/EncryptionUserSettingsTab.tsx
Outdated
Show resolved
Hide resolved
38de793
to
380ef62
Compare
…ient.getCrypto().checkKeyBackupAndEnable` to know if we need to set up a recovery key
380ef62
to
8bd5d6a
Compare
# Conflicts: # playwright/snapshots/settings/account-user-settings-tab.spec.ts/account-linux.png # playwright/snapshots/settings/account-user-settings-tab.spec.ts/account-smallscreen-linux.png
cbf06fd
to
e5dea48
Compare
Checklist
public
/exported
symbols have accurate TSDoc documentation.First of all, I'm sorry for the size of the PR.
Task #26468
Figma design
Add a new encryption tab with a new recovery section.
Implemented
The encryption tab has the following behaviour:
The recovery section has the following behaviour:
Not implemented
This PR DON'T (because the PR is already massive and theses tasks should be done in other PRs):