Skip to content

Show profile images in Desktop Client - #297

Merged
TheOneRing merged 1 commit into
mainfrom
work/avatar
May 27, 2025
Merged

TheOneRing merged 1 commit into
mainfrom
work/avatar

Conversation

@TheOneRing

Copy link
Copy Markdown
Contributor

Fixes: #242

image

@TheOneRing
TheOneRing requested review from Copilot and dragotin May 27, 2025 12:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request implements a feature to display profile images in the Desktop Client by processing avatar images into a circular format and updating the related resource path functions.

  • Introduces avatar rendering with rounded corners using QPainter in the settings dialog
  • Adds a new JavaScript function to generate avatar image URLs
  • Updates the UI component to use the new avatar image path

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/gui/settingsdialog.cpp Implements circular avatar rendering using QPainter
src/gui/qml/OpenCloud.js Adds a new function (avatarPath) for constructing avatar URLs
src/gui/qml/AccountBar.qml Updates icon source references to use the new avatarPath
src/gui/fetchserversettings.cpp Introduces network handling for fetching the avatar image

Comment thread src/gui/settingsdialog.cpp Resolved
@TheOneRing
TheOneRing merged commit ce4bbd0 into main May 27, 2025
@TheOneRing
TheOneRing deleted the work/avatar branch May 27, 2025 13:33
@openclouders openclouders mentioned this pull request May 28, 2025
1 task done
@openclouders openclouders mentioned this pull request Jun 12, 2025
1 task
@openclouders openclouders mentioned this pull request Jun 25, 2025
1 task
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.

Show profile images in Desktop Client

2 participants