nextcloud-libraries / nextcloud-libraries/nextcloud-vue

Avatar initial don't support unicode

Open
#1,406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage
Dominant language
Vue
Stars
246
Forks
99
Avg merge
1d 20h
Merged PRs (30d)
103

Description

Reported here: https://github.com/nextcloud/mail/issues/3366

I believe it's because:

https://github.com/nextcloud/nextcloud-vue/blob/469b2aaf5b94bcbdba6690fb149a71c9bc87353e/src/components/Avatar/Avatar.vue#L318

Should be:

return String.fromCharCode(this.getUserIdentifier.charCodeAt(0)).toUpperCase()

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/components/Avatar/Avatar.vue at line 318 and review how the avatar initial is derived from getUserIdentifier. Verify the change with a Unicode user identifier and confirm that the avatar displays the expected initial.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.