-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Sharing user consolidation #11899
Sharing user consolidation #11899
Conversation
So in the screenshot, the "Contacts example 2" is a person you can share federated or via 2 emails with, right? For real consolidation, we should completely collapse it into one entry/row. We only need to show the preferred share method, which in this case is federated sharing. And the priority is: same Nextcloud > federated cloud ID > email. |
Yes, "Contacts example 2" is an entry in the address book that has 2 email addresses and a federated sharing id.
What about a contact, that has a personal cloud id and a personal and work email address. You would not be able to share it to the work related email then? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks amazing! :)
Just a very small nitpick ;)
/* limit dropdown height to 4 1/2 entries */ | ||
max-height: calc(36px * 4.5);; | ||
/* limit dropdown height to 7 entries */ | ||
max-height: calc(36px * 7); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use a half one to ensure the user know the list is not over :)
Keep in mind that dropdown should be the simplest UX process. One click searching, one click selecting. If after selecting a contact you need to after click another stuff to specify email or federated, this is a bad behaviour I think 🤔 |
From my understanding it was about not showing any other sharing methods of a user at all. But I'm a bit worried about the missing options to share to some other contact point as already said above. @jancborchardt Also how would we decide which contact information is the relevant one if the user has multiple on the same level. Lets say a contact doesn't have a local account but has two cloud ids in the address book. Which one should be shown then. We can't just use a random one there. |
8350f49
to
8a57415
Compare
@juliushaertl hm, as far as talking with @MorrisJobke & @rullzer I thought the main point of the consolidation was to actually consolidate people into one entry.
Why not share it to both in the background, and just see where they accept? We don’t really know which cloud they use anyway. Ideally then afterwards we know what they accepted with and that will be set as the standard method. Yes, grouping the person and removing the duplicate avatars are good first steps – but the initial plan was to really make clear that it’s one and the same person, and that you as the person who shares really shouldn’t bother which way you share → it’s only important to share with the person. |
Ok, I just couldn't find any issue discussion about it, that was why I asked for more input. 👍
That is probably something we can consider for later, since that would require us to store the preffered share method somewhere and also have a way in the sharing backend to not show up multiple shares in the ui then. Seems a bit to much for 15 to me 😉
How about picking a default share option for contacts while searching, but once we have a exact match of the search string (e.g the user has entered the complete name) we show the other share options as well. That way you still have the choice if you want to, but in the regular case the user can quickly share using the best available method. Example: User types "Jan"
User types "Jan-Christoph Borchardt"
Edit: To make it a bit easier we maybe could allow to use the tab-key to complete the display name of the currently selected entry.
|
57d6c07
to
4d40a18
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
…ouping Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Ready to review. CI failure is a timeout: https://drone.nextcloud.com/nextcloud/server/12057/192 |
Wow, great solution @juliushaertl! 🎉 :) 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking really great! Amazing work!! 🎉
Small changes though? :)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@skjnldsv Comments addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome stuff looking good!
Do you have the gallery app installed? Iirc there was a style overwriting the server rules, I can have a look later. |
Yes I had this enabled on my tests. |
O lala, another reason to get rid of the legacy code :O |
Is there anything the gallery does now we have grid view? Ok, it is more focused on images etc but I'd separate the actual viewing view and have that in core/Files and have the gallery as an optional app users can install. Few will, I bet. More on-topic, I'll test this a bit once it is in the daily builds ;-) |
Yes - slideshow is still in the gallery. |
Yeah, I thought so... Ok, for later then. |
Yup, the next step is to write a new universal viewer. Spec at #12382 |
Before (with increased height for better visibility):
After:
cc @nextcloud/designers for early feedback 😉