feat(app): one Profile for every app, the person's own tab first, then each app's (ADR 0014)

The public profile was already one per person for every service of an
instance (the register, ADR 0016); its app side was Learn's alone. It
moves into halkyon_app: the model, the repository on the module's
endpoints, the form, the avatar drawn on the device and the sheet with
someone's profile. They take the Public prefix (PublicProfileRepository,
BasePublicProfileGateway), as Train's own ProfileRepository holds the
body's figures. AppDependencies gains profiles and files, the picker the
avatar is chosen with, which moves out of Learn too.

HalkyonProfile is every app's Profile screen: the person's own tab first,
the same in every app (the account and the ways they sign in, the app's
own cards, then the public profile), then the app's own tabs, folding into
the title. Learn adds its inbox and Statistics. Train adds Progress, Days
and, where nothing records, Plans, and so opens on the person's tab, no
longer on Progress. Todo, which has no Profile tab, opens it from a row at
the top of Browse, where Todoist keeps the account.

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-02 09:44:38 +01:00
commit b7b0b937fe
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -1468,6 +1468,116 @@
"whatsNewVersion": "Version {version}",
"@whatsNewVersion": {
"description": "Above a release's changes in What's new.",
"placeholders": {"version": {"type": "String"}}
}
"placeholders": {
"version": {
"type": "String"
}
}
},
"profileIdentified": "Your progress is kept with your account.",
"profileProblemAvatarInvalid": "This picture can't be used: choose a PNG, JPEG, WebP or GIF image.",
"profileProblemBioTooLong": "At most 500 characters.",
"profileProblemDisplayNameTooLong": "At most 30 characters.",
"profileProblemHandleInvalid": "A handle is 1 to 30 letters (a to z), digits or underscores.",
"profileProblemHandleReserved": "This handle is kept for the instance.",
"profileProblemHandleTaken": "Someone else has this handle.",
"profileProblemLinkInvalid": "Links start with https:// or http://.",
"profileProblemPublished": "You have published: your handle can't change, nor your profile go.",
"profileProblemTooManyHandleChecks": "Too many handles were tried. Try again in an hour.",
"profileProblemTooManyLinkChecks": "The links were checked too often. Try again in an hour.",
"profileProblemTooManyLinks": "At most 4 links.",
"profileSheetNotFound": "Nobody on this instance has this handle.",
"profileSheetTitle": "Profile",
"profileSheetUnreachable": "The profile couldn’t be loaded. Check your connection.",
"profileSignInWays": "Ways to sign in",
"profileTabProfile": "Profile",
"profileTitle": "Profile",
"profileWayEmail": "Email address",
"profileWayLinked": "Signs you in",
"publicProfileAddLink": "Add link",
"publicProfileAddress": "Others find you as @{address}",
"@publicProfileAddress": {
"placeholders": {
"address": {
"type": "String"
}
}
},
"publicProfileAddressPrivate": "Private until you fill in your profile or publish something; then others find you as @{address}.",
"@publicProfileAddressPrivate": {
"placeholders": {
"address": {
"type": "String"
}
}
},
"publicProfileBio": "Bio",
"publicProfileCheckLinks": "Check links",
"publicProfileChoosePicture": "Choose picture",
"publicProfileDisplayName": "Display name",
"publicProfileDisplayNameHint": "The name shown beside your handle",
"publicProfileFailed": "Couldn't reach the instance. Try again.",
"publicProfileHandle": "Handle",
"publicProfileHandleChangeTitle": "Change your handle",
"publicProfileHandleChecking": "Checking…",
"publicProfileHandleChoose": "Choose a handle",
"publicProfileHandleChooseTitle": "Choose your handle",
"publicProfileHandleConfirmChange": "Change",
"publicProfileHandleConfirmChoose": "Choose",
"publicProfileHandleDialogText": "Others find you by your handle. You can change it until you first publish a studyset.",
"publicProfileHandleFirst": "Choose your handle first: your profile is made with it, and saves as you write from then on.",
"publicProfileHandleFixed": "Fixed since you published: others refer to it.",
"publicProfileHandleFree": "@{handle} is free",
"@publicProfileHandleFree": {
"placeholders": {
"handle": {
"type": "String"
}
}
},
"publicProfileHandleHint": "Letters, digits and underscores, up to 30",
"publicProfileHandleYours": "This is your handle",
"publicProfileIntro": "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.",
"publicProfileLinkHint": "https://…",
"publicProfileLinkVerified": "Links back to your profile",
"publicProfileLinks": "Links",
"publicProfileLinksChecked": "{count, plural, =1{Checked: {verified} of 1 link links back to your profile.} other{Checked: {verified} of {count} links link back to your profile.}}",
"@publicProfileLinksChecked": {
"placeholders": {
"count": {
"type": "int"
},
"verified": {
"type": "int"
}
}
},
"publicProfileLinksHint": "Your site or other accounts, up to 4.",
"publicProfilePage": "Your profile page: {url}",
"@publicProfilePage": {
"placeholders": {
"url": {
"type": "String"
}
}
},
"publicProfilePageCopied": "Address copied.",
"publicProfilePageCopy": "Copy the address",
"publicProfilePicture": "Picture",
"publicProfilePictureLater": "Choose your handle to add a picture.",
"publicProfilePictureType": "Images",
"publicProfileRemove": "Remove profile",
"publicProfileRemoveLink": "Remove link",
"publicProfileRemoveMessage": "Your display name, bio, links and picture are removed. Your handle stays yours and private until you fill in your profile again or publish something.",
"publicProfileRemovePicture": "Remove picture",
"publicProfileRemoveTitle": "Remove your public profile?",
"publicProfileRemoved": "Profile removed.",
"publicProfileRetry": "Retry",
"publicProfileSavedNow": "Saved",
"publicProfileSaving": "Saving…",
"publicProfileTitle": "Public profile",
"publicProfileUnreachable": "Your public profile can't be reached right now.",
"publicProfileVerifyHint": "A link gets a checkmark once its page links back to your profile page with rel=\"me\", as Mastodon checks links.",
"profileAccount": "Account",
"profileSheetLinkVerified": "Links back to this profile"
}