feat(learn): a studyset is made private in Edit, no longer from its options

The developer's review of 3 Nov 2026: Make private and Make non-private
leave a studyset's options (its card's menu, its screen's); a top-level
studyset's Edit has a Visibility section instead, its switch making it
private, or non-private, at once once the person agreed in the dialog as
before (ADR 0019), not on Save, and what that means behind the question
mark. A topic's Edit offers none, its privacy being its tree's. The lock on
a studyset's card still explains its privacy and keeps its own button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-03 21:50:00 +01:00
commit a7904bac05
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64
5 changed files with 156 additions and 61 deletions

View file

@ -2129,5 +2129,7 @@
"studysetPrivacyReadableTitle": "„{title}“ ist nicht privat",
"studysetPrivacyReadableBody": "Die Instanz kann es lesen: Du kannst es veröffentlichen. Privat wird es auf deinen Geräten Ende-zu-Ende-verschlüsselt; Kopien in den Sicherungen der Instanz bleiben lesbar, bis diese ablaufen.",
"studysetPrivacyTopic": "Seine Privatsphäre ist die des Lernsets, in dem es liegt.",
"studysetPrivacyPublish": "Veröffentlichen …"
"studysetPrivacyPublish": "Veröffentlichen …",
"studysetSheetVisibility": "Sichtbarkeit",
"studysetSheetPrivate": "Privat"
}

View file

@ -2545,5 +2545,9 @@
"@studysetPrivacyReadableTitle": {"placeholders": {"title": {"type": "String"}}},
"studysetPrivacyReadableBody": "The instance can read it: you can publish it. Making it private encrypts it end to end on your devices; copies in the instance's backups stay readable until those expire.",
"studysetPrivacyTopic": "Its privacy is that of the studyset it's in.",
"studysetPrivacyPublish": "Publish…"
"studysetPrivacyPublish": "Publish…",
"studysetSheetVisibility": "Visibility",
"@studysetSheetVisibility": {"description": "Heading in a top-level studyset's Edit sheet above its privacy switch (ADR 0019)."},
"studysetSheetPrivate": "Private",
"@studysetSheetPrivate": {"description": "The switch making a top-level studyset private (end-to-end encrypted) in its Edit sheet."}
}

View file

@ -12565,6 +12565,18 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Publish…'**
String get studysetPrivacyPublish;
/// Heading in a top-level studyset's Edit sheet above its privacy switch (ADR 0019).
///
/// In en, this message translates to:
/// **'Visibility'**
String get studysetSheetVisibility;
/// The switch making a top-level studyset private (end-to-end encrypted) in its Edit sheet.
///
/// In en, this message translates to:
/// **'Private'**
String get studysetSheetPrivate;
}
class _AppLocalizationsDelegate

View file

@ -8061,4 +8061,10 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get studysetPrivacyPublish => 'Veröffentlichen …';
@override
String get studysetSheetVisibility => 'Sichtbarkeit';
@override
String get studysetSheetPrivate => 'Privat';
}

View file

@ -7988,6 +7988,12 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get studysetPrivacyPublish => 'Publish…';
@override
String get studysetSheetVisibility => 'Visibility';
@override
String get studysetSheetPrivate => 'Private';
}
/// The translations for English, as used in the United Kingdom (`en_GB`).