mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Added short comments for cloud password settings sections.
This commit is contained in:
parent
42f2f3c99f
commit
f3efa85206
5 changed files with 97 additions and 0 deletions
|
@ -23,6 +23,27 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "styles/style_layers.h"
|
||||
#include "styles/style_settings.h"
|
||||
|
||||
/*
|
||||
Available actions for follow states.
|
||||
|
||||
CreateEmail:
|
||||
– Continue to EmailConfirm.
|
||||
+ Continue to Manage if Email is confirmed already.
|
||||
– Warn and Skip to Manage.
|
||||
– Back to CreateHint.
|
||||
|
||||
ChangeEmail from ChangePassword:
|
||||
– Continue to EmailConfirm.
|
||||
+ Continue to Manage if Email is confirmed already.
|
||||
– Warn and Skip to Manage.
|
||||
– Back to ChangeHint.
|
||||
|
||||
ChangeEmail from Manage:
|
||||
– Continue to EmailConfirm.
|
||||
+ Continue to Manage if Email is confirmed already.
|
||||
– Back to Manage.
|
||||
*/
|
||||
|
||||
namespace Settings {
|
||||
namespace CloudPassword {
|
||||
|
||||
|
|
|
@ -28,6 +28,24 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "styles/style_layers.h"
|
||||
#include "styles/style_settings.h"
|
||||
|
||||
/*
|
||||
Available actions for follow states.
|
||||
|
||||
CreateEmailConfirm from CreateEmail:
|
||||
– Continue to Manage.
|
||||
– Abort to Settings.
|
||||
– Back to Settings.
|
||||
|
||||
ChangeEmailConfirm from ChangeEmail:
|
||||
– Continue to Manage.
|
||||
– Abort to Settings.
|
||||
– Back to Settings.
|
||||
|
||||
Recover from CreatePassword:
|
||||
– Continue to RecreateResetPassword.
|
||||
– Back to Settings.
|
||||
*/
|
||||
|
||||
namespace Settings {
|
||||
namespace CloudPassword {
|
||||
|
||||
|
|
|
@ -20,6 +20,25 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "styles/style_boxes.h"
|
||||
#include "styles/style_settings.h"
|
||||
|
||||
/*
|
||||
Available actions for follow states.
|
||||
|
||||
CreateHint:
|
||||
– Continue to Email.
|
||||
– Skip to Email.
|
||||
– Back to CreatePassword.
|
||||
|
||||
ChangeHint:
|
||||
– Continue to Email.
|
||||
– Skip to Email.
|
||||
– Back to ChangePassword.
|
||||
|
||||
RecreateResetHint:
|
||||
– Continue to Manage.
|
||||
– Skip to Manage.
|
||||
– Back to RecreateResetPassword.
|
||||
*/
|
||||
|
||||
namespace Settings {
|
||||
namespace CloudPassword {
|
||||
|
||||
|
|
|
@ -29,6 +29,30 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "styles/style_layers.h"
|
||||
#include "styles/style_settings.h"
|
||||
|
||||
/*
|
||||
Available actions for follow states.
|
||||
|
||||
CreatePassword:
|
||||
– Continue to CreateHint.
|
||||
– Back to Start.
|
||||
|
||||
ChangePassword:
|
||||
– Continue to ChangeHint.
|
||||
– Back to Manage.
|
||||
|
||||
CheckPassword:
|
||||
– Continue to Manage.
|
||||
– Recover to EmailConfirm.
|
||||
– Reset and wait (+ Cancel reset).
|
||||
– Reset now and Back to Settings.
|
||||
– Back to Settings.
|
||||
|
||||
RecreateResetPassword:
|
||||
– Continue to RecreateResetHint.
|
||||
– Clear password and Back to Settings.
|
||||
– Back to Settings.
|
||||
*/
|
||||
|
||||
namespace Settings {
|
||||
namespace CloudPassword {
|
||||
namespace {
|
||||
|
|
|
@ -26,6 +26,21 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "styles/style_layers.h"
|
||||
#include "styles/style_settings.h"
|
||||
|
||||
/*
|
||||
Available actions for follow states.
|
||||
|
||||
From CreateEmail
|
||||
From CreateEmailConfirm
|
||||
From ChangeEmail
|
||||
From ChangeEmailConfirm
|
||||
From CheckPassword
|
||||
From RecreateResetHint:
|
||||
– Continue to ChangePassword.
|
||||
– Continue to ChangeEmail.
|
||||
– DisablePassword and Back to Settings.
|
||||
– Back to Settings.
|
||||
*/
|
||||
|
||||
namespace Settings {
|
||||
namespace CloudPassword {
|
||||
namespace {
|
||||
|
|
Loading…
Add table
Reference in a new issue