Skip to content

docs(avatar): document Nextcloud 25 avatar size normalization and dark-theme endpoints#14795

Closed
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-9590-avatar-docs-again
Closed

docs(avatar): document Nextcloud 25 avatar size normalization and dark-theme endpoints#14795
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-9590-avatar-docs-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 7, 2026

Nextcloud 25 changed generated avatar behavior (nextcloud/server#33752): deprecated sizes are clamped to supported values, and dark-theme variants are now available via dedicated routes.

Changes

  • developer_manual/release_notes/previous/upgrade_to_25.rst — upgrade note under Back-end changes:

    • Sizes ≤ 64 → 64×64; sizes > 64 → 512×512
    • Dark-theme endpoints: /avatar/{userId}/{size}/dark, /avatar/guest/{guestName}/{size}/dark
  • developer_manual/design/atomiccomponents.rst — brief .. note:: in the Avatar section covering the same size normalization and dark-theme variant availability

☑️ Resolves

fix #9590

🖼️ Screenshots

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

Copilot AI changed the title [WIP] Document changes for avatars in Nextcloud 25 upgrade docs(avatar): document Nextcloud 25 avatar size normalization and dark-theme endpoints May 7, 2026
Copilot AI requested a review from skjnldsv May 7, 2026 09:22
Co-authored-by: skjnldsv <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv force-pushed the copilot/fix-9590-avatar-docs-again branch from 43312b0 to 97c0622 Compare May 7, 2026 09:23
@skjnldsv skjnldsv marked this pull request as ready for review May 7, 2026 09:23
@skjnldsv skjnldsv requested a review from ChristophWurst May 7, 2026 09:35
@ChristophWurst
Copy link
Copy Markdown
Member

Upgrade docs are obsolete by now but avatar sizes need docs

@ChristophWurst
Copy link
Copy Markdown
Member

The documentation needed is the correct usage of the avatar API to avoid these: https://github.com/search?q=repo%3Anextcloud%2Fserver+%22Avatar+requested+in+deprecated+size%22&type=code

@skjnldsv
Copy link
Copy Markdown
Member

skjnldsv commented May 7, 2026

@ChristophWurst we do not have those endpoint documented, only in the openapi.
You want them on phpdocs ?

@ChristophWurst
Copy link
Copy Markdown
Member

If there's openapi docs with the two allowed sizes then this is already fine

@skjnldsv
Copy link
Copy Markdown
Member

skjnldsv commented May 7, 2026

If there's openapi docs with the two allowed sizes then this is already fine
https://docs.nextcloud.com/server/latest/developer_manual/_static/openapi.html#/operations/core-avatar-get-avatar-dark

image

Closing then

@skjnldsv skjnldsv closed this May 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

📖 Documentation Preview

🔍 Open preview →

📄 1 changed documentation page

Last updated: Thu, 07 May 2026 10:02:03 GMT

@ChristophWurst ChristophWurst deleted the copilot/fix-9590-avatar-docs-again branch May 7, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nextcloud 25 and deprecated avatar sizes

3 participants