mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Added short comments for cloud password settings sections.
This commit is contained in:
@@ -23,6 +23,27 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "styles/style_layers.h"
|
#include "styles/style_layers.h"
|
||||||
#include "styles/style_settings.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 Settings {
|
||||||
namespace CloudPassword {
|
namespace CloudPassword {
|
||||||
|
|
||||||
|
@@ -28,6 +28,24 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "styles/style_layers.h"
|
#include "styles/style_layers.h"
|
||||||
#include "styles/style_settings.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 Settings {
|
||||||
namespace CloudPassword {
|
namespace CloudPassword {
|
||||||
|
|
||||||
|
@@ -20,6 +20,25 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "styles/style_boxes.h"
|
#include "styles/style_boxes.h"
|
||||||
#include "styles/style_settings.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 Settings {
|
||||||
namespace CloudPassword {
|
namespace CloudPassword {
|
||||||
|
|
||||||
|
@@ -29,6 +29,30 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "styles/style_layers.h"
|
#include "styles/style_layers.h"
|
||||||
#include "styles/style_settings.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 Settings {
|
||||||
namespace CloudPassword {
|
namespace CloudPassword {
|
||||||
namespace {
|
namespace {
|
||||||
|
@@ -26,6 +26,21 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "styles/style_layers.h"
|
#include "styles/style_layers.h"
|
||||||
#include "styles/style_settings.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 Settings {
|
||||||
namespace CloudPassword {
|
namespace CloudPassword {
|
||||||
namespace {
|
namespace {
|
||||||
|
Reference in New Issue
Block a user