feat(profile): public profile page and the switch in settings

/u/<name> shows a public profile without login. Settings get the switch and
the link; every settings save now sends the other saved values, and removing
the display name also makes the profile private.
This commit is contained in:
lobo committed 2026-09-24 14:18:32 +02:00
1 parent aa5124ea1e
commit fd343da4be
7 files changed
+418 -18

No files matched your search

+18 -1
View File
@@ -59,7 +59,12 @@
"DISPLAY_NAME_PLACEHOLDER": "e.g. Lobo",
"DISPLAY_NAME_HINT": "3–24 characters: letters, digits, spaces, _ . -",
"SAVE_PROFILE": "Save profile",
"ERROR_DISPLAY_NAME_IN_USE": "This display name is already taken."
"ERROR_DISPLAY_NAME_IN_USE": "This display name is already taken.",
"PUBLIC_PROFILE": "Public profile",
"PUBLIC_PROFILE_HINT": "Anyone with the link sees your stats, what you play right now and your finished games with ratings. Notes, email and Steam ID stay private.",
"PUBLIC_PROFILE_NEEDS_NAME": "Set a display name first; it becomes part of the link.",
"PUBLIC_PROFILE_COPY": "Copy link",
"PUBLIC_PROFILE_COPIED": "Link copied"
},
"VALIDATION": {
"EMAIL_REQUIRED": "Email is required.",
@@ -216,5 +221,17 @@
"NO_PRICE": "No price yet",
"ADDED": "Added {{date}}",
"ERROR_LOAD": "Could not load the wishlist."
},
"PROFILE": {
"TITLE": "Player profile",
"MEMBER_SINCE": "Member since {{date}}",
"GAMES": "Games",
"PLAYTIME": "Playtime",
"FINISHED": "Finished",
"PLAYING": "Playing right now",
"FINISHED_GAMES": "Finished games",
"NOT_FOUND": "This profile does not exist or is private.",
"ERROR_LOAD": "Could not load the profile.",
"TO_START": "To the start page"
}
}