Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(avatar): increase avatar size to 40px #13010

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

Antreesy
Copy link
Contributor

@Antreesy Antreesy commented Aug 16, 2024

☑️ Resolves

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

🏚️ Before 🏡 After
image image
image image
image image
image image

🏁 Checklist

  • 🌏 Tested with different browsers / clients:
    • Chromium (Chrome / Edge / Opera / Brave)
    • Firefox
    • Safari
    • Talk Desktop
    • Not risky to browser differences / client
  • 🖌️ Design was reviewed, approved or inspired by the design team
  • ⛑️ Tests are included or not possible
  • 📗 User documentation in https://github.com/nextcloud/documentation/tree/master/user_manual/talk has been updated or is not required

@Antreesy Antreesy added this to the 🖤 Next Major (31) milestone Aug 16, 2024
@Antreesy Antreesy self-assigned this Aug 16, 2024
@Antreesy Antreesy force-pushed the fix/12956/increase-avatar-size branch from 7e0a843 to 8bdbedb Compare August 16, 2024 11:11
@Antreesy Antreesy changed the title fix(avatar): increase avatar size to 40px fix(avatar): increase avatar size to 39px Aug 16, 2024
@Antreesy Antreesy marked this pull request as ready for review August 16, 2024 11:14
src/components/LeftSidebar/InvitationHandler.vue Outdated Show resolved Hide resolved
src/constants.js Outdated
@@ -273,7 +273,7 @@ export const AVATAR = {
SIZE: {
EXTRA_SMALL: 22,
SMALL: 32,
DEFAULT: 36,
DEFAULT: 39,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it actually the "default" size? It seems that it is the size of avatar in list items, defined by the list item height (= conversations list and participants list).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

which is also most widely used in project

Copy link
Contributor

Choose a reason for hiding this comment

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

But this size is 39 not because we want the default size to be 39 wherever it's used, but because we want it exactly in the list items

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy Antreesy force-pushed the fix/12956/increase-avatar-size branch from 8bdbedb to ee85e5f Compare August 16, 2024 11:48
@Antreesy Antreesy changed the title fix(avatar): increase avatar size to 39px fix(avatar): increase avatar size to 40px Aug 16, 2024
Copy link
Contributor

@DorraJaouad DorraJaouad left a comment

Choose a reason for hiding this comment

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

LGTM (avatar size)

@nickvergessen
Copy link
Member

/backport! to stable30

@nickvergessen nickvergessen merged commit 05bdf6e into main Aug 16, 2024
46 checks passed
@nickvergessen nickvergessen deleted the fix/12956/increase-avatar-size branch August 16, 2024 13: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.

4 participants