Skip to content

01a0ac32 - Let owners attach a JPEG, PNG, or WebP on About me - #258

Merged
TaprootFreak merged 10 commits into
developfrom
01a0ac32-about-me-photos
Sep 17, 2026
Merged

TaprootFreak merged 10 commits into
developfrom
01a0ac32-about-me-photos

Conversation

@TaprootFreakAI

Copy link
Copy Markdown
Collaborator

EN:
Owners can attach one JPEG, PNG, or WebP on About me the same way as a forum post.
Omit keeps the stored photo, null clears it, and an object replaces it.
Public view and member cards show the image when the profile note has one.
Same-origin GET proxies serve the bytes; this is not a kind:0 avatar.

DE:
Im Über-mich kann man ein JPEG, PNG oder WebP anhängen, analog zu einem Foren-Post.
Weglassen behält das gespeicherte Foto, null löscht es, ein Objekt ersetzt es.
Öffentliche View- und Member-Karten zeigen das Bild, wenn die Profilnotiz eines hat.
Same-Origin-GET-Proxies liefern die Bytes; das ist kein kind:0-Avatar.

Details

PUT /me/about { text, photo? } tri-state. GET /me/about/photo (Bearer) and GET /view-key/[viewKey]/about/photo (public). Account JSON includes aboutMeHasPhoto. prepareForumPhoto prepares the payload. No video. No POST /me/profile.

@TaprootFreakAI
TaprootFreakAI force-pushed the 01a0ac32-about-me-photos branch 3 times, most recently from 2ade9b7 to 9c30bea Compare September 17, 2026 18:38
@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 17, 2026 18:47
Reuse the forum photo pipeline on the profile note: omit keeps the stored
image, null clears it, and an object sets it. Owner, public view, and
member cards load the bytes through same-origin GET proxies.
Save and attach stay disabled until prepareForumPhoto finishes. A newer
pick, cancel, or unmount drops a stale prepare result so the JPEG is not
silently omitted.
Remove bumps the prepare generation so an in-flight JPEG cannot come back
after the owner clears it. Saving a new or cleared photo also invalidates
an older GET so the stored preview cannot flash back.
Handbook and visual variants cover a photo-only About me card on profile
and public view. A hanging loadPhoto that finishes after save-remove no
longer restores the old JPEG.
IconButton catalog strings Add a photo and Remove photo must not appear
as visible text, matching the in-card attach rule.
Leaving the blob URL in state kept the card filled after the parent
dropped aboutMeHasPhoto. The load effect now revokes and nulls it.
The editor states now include the image-plus control next to the text
field. Baselines come from the Linux Chromium actuals of the CI visual
jobs.
Rebase onto develop brought new typed Account literals without the
field. Typecheck requires it on every constructed Account.
@TaprootFreakAI
TaprootFreakAI force-pushed the 01a0ac32-about-me-photos branch from 66e4d71 to e2490ec Compare September 17, 2026 18:53
Develop brought a typed Account literal without the field. Typecheck
requires it on every constructed Account.
@TaprootFreakAI
TaprootFreakAI marked this pull request as draft September 17, 2026 18:54
@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 17, 2026 18:59
@TaprootFreakAI
TaprootFreakAI marked this pull request as draft September 17, 2026 19:03
The about-photo variants now seed a bio plus a stored JPEG so owner
profile and public view match a filled About me with both.
@TaprootFreakAI

Copy link
Copy Markdown
Collaborator Author

EN:
Ready after 3 review passes.
Owners can attach a JPEG/PNG/WebP to About me the same way as a forum post.

DE:
Bereit nach 3 Review-Durchläufen.
Im Über-mich kann man ein JPEG/PNG/WebP anhängen, analog zu einem Foren-Post.

Details

Review completed with 0 findings at 5b6f3a5. The about-photo visual variants now show bio text and photo together on owner profile and public view.

@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review September 17, 2026 19:12
@TaprootFreak
TaprootFreak merged commit afe2a8a into develop Sep 17, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants