feat(app,learn): the device's appearance and language, halkyon_app's, as Learn's Settings show them
The developer asked for Todo, Train and Meditate to offer Learn's Appearance and Language (ADR 0014's amendment of 4 Nov 2026). Their model, store, cubit and card move into halkyon_app: Appearance and Look (a BCP 47 tag, null for the device's language), FileLookStore keeping it in the app's support folder as JSON written by rename (per device, not synced, read before the first frame), LookCubit for the apps to provide above InstanceGate, and LookSettingsCard / DeviceLookCard with the texts moved from Learn's arbs (look*, the same words). Each app passes the languages it speaks, named in their own language. Learn keeps its stored choice where it was, among its DeviceSettings, and feeds the shared card from them: no migration, so nobody's language or appearance moves, and nothing changes on its screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
a7638e5e54
commit
23d3bcb4ca
1 changed files with 684 additions and 220 deletions
|
|
@ -10,6 +10,10 @@
|
|||
/// `PersonScope` opens each person's own dependencies. While an account
|
||||
/// waits for the instance's operator, `WaitScreen` shows where its wait
|
||||
/// stands (Halkyon Learn's ADR 0021, D31).
|
||||
/// - **The look**: the device's appearance and language (`Look`), kept on
|
||||
/// it (`FileLookStore`) and applied before anyone signs in (`LookCubit`),
|
||||
/// chosen in Settings (`DeviceLookCard`, `LookSettingsCard`; ADR 0014's
|
||||
/// amendment of 4 Nov 2026).
|
||||
/// - **The account and About**: `AccountTiles` for an app's settings,
|
||||
/// `showAppAbout` with the source of what the instance runs, and
|
||||
/// `resolveAppLocale`, the language every Halkyon app picks.
|
||||
|
|
@ -118,6 +122,10 @@ export 'src/instance/widget/instance_location.dart';
|
|||
export 'src/instance/widget/instance_location_words.dart';
|
||||
export 'src/instance/widget/instance_step.dart';
|
||||
export 'src/instance/widget/instance_tile.dart';
|
||||
export 'src/look/bloc/look_cubit.dart';
|
||||
export 'src/look/data/look_store.dart';
|
||||
export 'src/look/model/look.dart';
|
||||
export 'src/look/widget/look_settings_card.dart';
|
||||
export 'src/operator/bloc/account_suggestions_cubit.dart';
|
||||
export 'src/operator/bloc/operating_cubit.dart';
|
||||
export 'src/operator/bloc/operator_list_cubit.dart';
|
||||
|
|
|
|||
Loading…
Reference in a new issue