Added short comments for cloud password settings sections.

This commit is contained in:
23rd 2022-05-09 22:03:56 +03:00
parent 42f2f3c99f
commit f3efa85206
5 changed files with 97 additions and 0 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {