Add more doc to the state of the `EncryptionUserSettingsTab`

florianduros/encryption-tab
Florian Duros 2025-01-08 11:05:22 +01:00
parent 82bf2cc40b
commit 84d11f8f53
No known key found for this signature in database
GPG Key ID: A5BBB4041B493F15
1 changed files with 2 additions and 0 deletions

View File

@ -25,7 +25,9 @@ import { SettingsSubheader } from "../../SettingsSubheader";
* - "main": The main panel with all the sections (Key storage, recovery, advanced).
* - "verification_required": The panel to show when the user needs to verify their session.
* - "change_recovery_key": The panel to show when the user is changing their recovery key.
* This happens when the user has a key backup and the user clicks on "Change recovery key" button of the RecoveryPanel.
* - "set_recovery_key": The panel to show when the user is setting up their recovery key.
* This happens when the user doesn't have a key backup and the user clicks on "Set up recovery key" button of the RecoveryPanel.
*/
type State = "loading" | "main" | "verification_required" | "change_recovery_key" | "set_recovery_key";