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 attendees avatars #3101

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Fix attendees avatars #3101

wants to merge 3 commits into from

Conversation

tcitworld
Copy link
Member

@tcitworld tcitworld commented May 20, 2021

Works when you add new attendees, but still needs work to fetch existing ones when loading the event editor.

Also fixes useless calls to user status if attendee if not an user.

Fixes #3099

@codecov
Copy link

codecov bot commented May 20, 2021

Codecov Report

Patch coverage: 29.62% and project coverage change: +0.01 🎉

Comparison is base (8e98722) 22.59% compared to head (5662542) 22.60%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3101      +/-   ##
============================================
+ Coverage     22.59%   22.60%   +0.01%     
- Complexity      373      374       +1     
============================================
  Files           236      236              
  Lines         11475    11495      +20     
  Branches       2149     2150       +1     
============================================
+ Hits           2593     2599       +6     
- Misses         8882     8896      +14     
Flag Coverage Δ
javascript 14.04% <29.62%> (+0.01%) ⬆️
php 63.93% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/components/Editor/Invitees/InviteesList.vue 0.00% <0.00%> (ø)
...rc/components/Editor/Invitees/InviteesListItem.vue 0.00% <0.00%> (ø)
.../components/Editor/Invitees/InviteesListSearch.vue 0.00% <0.00%> (ø)
...c/components/Editor/Invitees/OrganizerListItem.vue 0.00% <ø> (ø)
src/store/contacts.js 70.00% <47.05%> (-30.00%) ⬇️

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

return contact?.isUser ? undefined : contact?.avatar
},

isContactAnUser: (state) => (uri) => {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
isContactAnUser: (state) => (uri) => {
isContactAUser: (state) => (uri) => {

https://english.stackexchange.com/questions/105116/is-it-a-user-or-an-user

Copy link
Member Author

Choose a reason for hiding this comment

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

God-dammit English

@miaulalala miaulalala added the nextcloud-gmbh Tickets with importance for Nextcloud Gmbh label Mar 21, 2022
@sazanof
Copy link
Collaborator

sazanof commented Aug 1, 2022

Hello! I would like to ask. I am currently working on attachments in a parallel branch #4251 (comment) . According to the CalDAV specification, we can use our own parameters: ex X-NC-ATTENDEE-PHOTO (May be it will be usefull)

So, can the avatar url parameter be passed when adding a user? In my case its look like this in .ics file:
image

Closes #3099

Signed-off-by: Thomas Citharel <[email protected]>
Signed-off-by: Thomas Citharel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress bug Feature: Editor nextcloud-gmbh Tickets with importance for Nextcloud Gmbh
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avatars for Rooms and Participants are broken
5 participants