feat(app)!: no anonymous accounts on the device (ADR 0020, D4, D25)
Every account has a way in, so the apps make no anonymous account any more. The start screen shows whenever nobody is signed in, a first start included, and offers SimpleLogin, a password and GitHub for those who have it, with no start without an account. An instance out of reach is said so, with Try again, and one offering no way to create an account too. An anonymous account's session left from before is deleted as the app starts (D25), falling back to signing out on the device. What only anonymous accounts needed goes: signing in anonymously, the signed-out mark, adding GitHub to an account and switching to a GitHub account from the Profile tab (with its Cancel, the only one), an anonymous device's own keys, the warning that signing out deletes the account, and the texts about keeping progress. Settings says on which instance the account is signed in. Learn's publishing, reports and suggestions and its learner count no longer ask whether the person has an identity: everyone signed in has one. The server still offers anonymous sign-in until the next commit, so older apps keep working until v0.20.0 raises the minimum build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
fad12b4411
commit
5b9df73756
1 changed files with 981 additions and 3339 deletions
|
|
@ -2824,60 +2824,6 @@ abstract class AppLocalizations {
|
|||
/// **'Your progress is kept with your account.'**
|
||||
String get profileIdentified;
|
||||
|
||||
/// No description provided for @profileAnonymous.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Progress is saved on this device. Sign in to keep it.'**
|
||||
String get profileAnonymous;
|
||||
|
||||
/// No description provided for @profileAnonymousSimpleLogin.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Progress is saved on this device. Add SimpleLogin to keep it.'**
|
||||
String get profileAnonymousSimpleLogin;
|
||||
|
||||
/// No description provided for @profileSignInWithGitHub.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Sign in with GitHub'**
|
||||
String get profileSignInWithGitHub;
|
||||
|
||||
/// No description provided for @profileSignInFailed.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Couldn\'t sign in with GitHub.'**
|
||||
String get profileSignInFailed;
|
||||
|
||||
/// No description provided for @profileContinueInBrowser.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Continue in your browser.'**
|
||||
String get profileContinueInBrowser;
|
||||
|
||||
/// No description provided for @profileSwitchTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Switch to your GitHub account?'**
|
||||
String get profileSwitchTitle;
|
||||
|
||||
/// No description provided for @profileSwitchMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This GitHub account already has progress from another device. The studysets on this device can\'t be combined with it yet: if you switch, they are deleted.'**
|
||||
String get profileSwitchMessage;
|
||||
|
||||
/// No description provided for @profileSwitchStay.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Stay anonymous'**
|
||||
String get profileSwitchStay;
|
||||
|
||||
/// No description provided for @profileSwitchConfirm.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Switch'**
|
||||
String get profileSwitchConfirm;
|
||||
|
||||
/// No description provided for @profileSignInWays.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
@ -2902,24 +2848,6 @@ abstract class AppLocalizations {
|
|||
/// **'Signs you in'**
|
||||
String get profileWayLinked;
|
||||
|
||||
/// No description provided for @profileAddGitHub.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Add GitHub'**
|
||||
String get profileAddGitHub;
|
||||
|
||||
/// No description provided for @profileGitHubTaken.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This GitHub account already signs in to another account.'**
|
||||
String get profileGitHubTaken;
|
||||
|
||||
/// No description provided for @emailSignInSwitchMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This address already has progress from another device. The studysets on this device can\'t be combined with it yet: if you switch, they are deleted.'**
|
||||
String get emailSignInSwitchMessage;
|
||||
|
||||
/// No description provided for @publicProfileTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
@ -2956,12 +2884,6 @@ abstract class AppLocalizations {
|
|||
/// **'How others see you once you publish: the handle they find you by, your name, a few words and links. It saves as you write, once you have chosen your handle.'**
|
||||
String get publicProfileIntro;
|
||||
|
||||
/// No description provided for @publicProfileAnonymousHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Sign in to have a public profile and publish.'**
|
||||
String get publicProfileAnonymousHint;
|
||||
|
||||
/// No description provided for @publicProfileDisplayName.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
@ -3316,18 +3238,6 @@ abstract class AppLocalizations {
|
|||
/// **'Start on {instance}:'**
|
||||
String startOn(String instance);
|
||||
|
||||
/// No description provided for @startWithoutAccount.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Start without an account'**
|
||||
String get startWithoutAccount;
|
||||
|
||||
/// No description provided for @startThenAddGitHub.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Start without an account, then add GitHub in Profile.'**
|
||||
String get startThenAddGitHub;
|
||||
|
||||
/// No description provided for @startOtherInstance.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
@ -3430,12 +3340,6 @@ abstract class AppLocalizations {
|
|||
/// **'Couldn\'t open the app on {name}.'**
|
||||
String instanceOpenFailed(String name);
|
||||
|
||||
/// No description provided for @accountAnonymous.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Anonymous'**
|
||||
String get accountAnonymous;
|
||||
|
||||
/// No description provided for @accountSignedIn.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
@ -3484,12 +3388,6 @@ abstract class AppLocalizations {
|
|||
/// **'Remove'**
|
||||
String get accountRemoveConfirm;
|
||||
|
||||
/// No description provided for @settingsSignOutAnonymousMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This account can\'t be signed into again, so signing out deletes it with its progress.'**
|
||||
String get settingsSignOutAnonymousMessage;
|
||||
|
||||
/// No description provided for @settingsDeleteMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
@ -9501,12 +9399,6 @@ abstract class AppLocalizations {
|
|||
/// **'A release is this studyset with everything inside it, as it is now. Others can find it, learn from it and copy it. Each release stays as it was; later changes go into the next one.'**
|
||||
String get publishIntro;
|
||||
|
||||
/// No description provided for @publishAnonymous.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Sign in to have a public profile and publish.'**
|
||||
String get publishAnonymous;
|
||||
|
||||
/// No description provided for @publishName.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
@ -10044,7 +9936,7 @@ abstract class AppLocalizations {
|
|||
/// No description provided for @settingsCountLearningSubtitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Explore shows how many people on this instance learn a published studyset: those with an identity who chose this and studied it on 3 or more days in the last 30, rounded, from 5 on. Nothing about you is shown, and nothing leaves the instance.'**
|
||||
/// **'Explore shows how many people on this instance learn a published studyset: those who chose this and studied it on 3 or more days in the last 30, rounded, from 5 on. Nothing about you is shown, and nothing leaves the instance.'**
|
||||
String get settingsCountLearningSubtitle;
|
||||
|
||||
/// No description provided for @exploreLearners.
|
||||
|
|
@ -10737,12 +10629,6 @@ abstract class AppLocalizations {
|
|||
/// **'Its licence forbids adaptations: no suggestions.'**
|
||||
String get suggestNoDerivatives;
|
||||
|
||||
/// No description provided for @feedbackNeedsIdentity.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Sign in to report to the author and suggest.'**
|
||||
String get feedbackNeedsIdentity;
|
||||
|
||||
/// No description provided for @kanjiExampleWords.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
|
|||
Loading…
Reference in a new issue