Add the profile image UI and docs (SCR-1)
CI / validate-monitoring (push) Successful in 10s
CI / lint (push) Successful in 14s
CI / federation-interop (push) Successful in 1m15s
CI / test (push) Successful in 7m2s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
CI / validate-monitoring (push) Successful in 10s
CI / lint (push) Successful in 14s
CI / federation-interop (push) Successful in 1m15s
CI / test (push) Successful in 7m2s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
A Profile page to upload, use Gravatar or remove the image, the avatar in the page header and on the public profile, a Sharing switch for it, and user/admin guide notes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b878523d51
commit
b388e7112d
10 files changed
+246
-2
No files matched your search
@@ -16,6 +16,7 @@ const FIELDS = [
|
||||
"post_milestones",
|
||||
"timezone",
|
||||
"now_playing_mode",
|
||||
"share_avatar",
|
||||
"display_name",
|
||||
"bio",
|
||||
];
|
||||
@@ -155,6 +156,7 @@ async function save(event) {
|
||||
post_milestones: form.elements.post_milestones.checked,
|
||||
timezone: form.elements.timezone.value.trim() || "UTC",
|
||||
now_playing_mode: form.querySelector("input[name=now_playing_mode]:checked").value,
|
||||
share_avatar: form.elements.share_avatar.checked,
|
||||
display_name: form.elements.display_name.value.trim() || null,
|
||||
bio: form.elements.bio.value.trim() || null,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user