Repository navigation
Design spec: Contacts menu #207
Description
Activity
- addeddesignDesign, UI, UX, etc.Design, UI, UX, etc.1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of
on Jun 23, 2016 Really hot! 🔥
Since having the Contacts app is a requirement for this feature, shouldn't this issue be created there? Surely people who don't have the app installed won't see the new icon.
Overall, I like it. I like the contacts dropdown concept (much less obtrusive than a full sidebar) and the idea of using it to introduce people to ways they can communicate / share with those users.
It seems to me that there is already a lot of pre-established convention for clicking on an avatar icon bringing up info on the contact, rather than opening chat (which may not be installed anyway, unless this is going into Nextcloud core).
Currently just about every social network, forum and major mobile operating system I can think of brings up the contacts details when you click on a contacts avatar (as opposed to say the last message under their name etc).
Relegating this function to having to click on a three dot menu next to their name, and then on a second "Details" icon seems unnecessarily complex. What about, if clicking:
The avatar / username - brings up the contact details
The last chat message - brings up chat (possibly display a generic message instead of their last message if they haven't been chatted to before).I'd also suggest that users be able to star contacts and then have those display first, with unstarred, but recently interacted contacts just after, much like how the Android phone app displays contacts.
Also, As long as we're making this dropdown a discovery point for real time chat / video calling, it could be useful to display when users are online and available, possibly with the common small green circle often seen in the bottom corner of many apps to denote being online, and maybe listing those online users preferentially, as in this mockup (click the image - it's tricky to make out with the screenshot shrunk small):

I like the idea and design 👍 . For our chat it would be helpful, if there is a good api which enables us to inject buttons like chat, call, video etc..
@Bugsbane good suggestions! Especially the online indicator makes sense, if that’s possible. The starring should be integrated of course.
About the clicking-avatar-to-chat: In Nextcloud, communication takes priority over a personal profile at this point. We don’t even have the possibility to view other people’s profiles currently, so there’s nothing to show. ;) For now, opening a chat makes way more sense to directly communicate and collaborate.
We don’t even have the possibility to view other people’s profiles currently, so there’s nothing to show.
I was assuming that we were using contacts from the contacts app, and so clicking the avatar would show details from the contact in the contacts app. It seems though, that you're thinking that the contacts from this menu are actually other users on the Nextcloud server (and possibly from trusted federated servers?).
Thinking about this, it seems that this actually touches on a much larger interaction issue - namely how contacts in the contacts app (used by the contacts and mail apps) relate to other Nextcloud users (which is presumably what the chat app and Spreed.me app uses). Right now, we seem to have two completely distinct lists of people that the user is exposed to - Nextcloud users and the people in the contacts app.
For example, does it make sense for someone the user knows to have two different contacts, one the user created a contact for in contacts and sent an email to in the mail app, and another for chatting with because they're on the same server in the same group... when both of these contacts are known to Nextcloud (by cross referencing Conacts with the user list) to be the exact same email address or federated cloud ID? If we choose to "smart link" Nextcloud users with contacts in the contacts app, then maybe the contacts app should already be showing people that they would be able to chat with / contact that they haven't added contact for already, but then you get into those contacts either not being synced with Caldav, or people potentially getting contacts they didn't personally create popping up on their phones etc...
I'm not sure what the overall best answer is, but it does seem to me, that users expect to think in terms of a single list of contacts that they know, to varying degrees, and not to have to understand the technical differences between a contact via being in a shared group of a specific Nextcloud server, vs a contact added by sending an email in the mail app.
Reacted by crossixI agree with @Bugsbane It would be nice if there were a way to "link" or "smart link" a contact from the contacts list to one that exists in the Nextcloud users area say via the email fields. It's never really made sense to me as to why these two are separate areas with no link in between. I've often wondered if there was a way to expand upon the users area instead of just being able to add / remove users, change passwords, etc; to also include contact info for that user. Yes this could be possible with LDAP, but what if you aren't using LDAP integration?
You wouldn't always have to link contacts (you could still create contacts separately), but if the user existed in the users area give to option to do so.
28 remaining items
I can add a redirect to a single uid easily if that's what we need :)
Reacted by Christoph WurstYup, that would be great 🚀
We can either handle this in the contacts app client-code or have a dedicated route where we redirect the request to the according address book.
@ChristophWurst Share should open a filepicker - what do youtl think? :)
Reacted by Marius BlümReally? I did not expect that. So what would happen after I presumably select a random file with the file picker? Are you planning to duplicate the file sharing workflow?
In order to implement this, I need more details. Please describe what and how all the actions should work. Ideally, some mockups would be really helpful here :-)
Ok so first let's talk about if it makes sense. My idea would be:
- You click share on a friend
- Filepicker opens (problem is, how do you share stuff like contacts or calendars?)
- Choosing a file could simply directly share it, with the default permissions. No opening of sharing sidebar etx.
How would you expect the flow @karlitschek @ChristophWurst?
Well. Tricky. Sharing files, calendars, contacts are in deed difficult. Maybe this was a bad idea from me in the first place. ;-) Maybe this menu should do stuff like, send mail, start chat, call, show contact details, ... But probably not sharing. At least I'm also unsure how the flow here should work ;-)
Reacted by Christoph Wurst and John MolakvoæI say, let's focus on simple actions like chat, call, show contact... And we'll see after the implementation if this is difficult enough and/or worth the work?
Reacted by Christoph Wurst and Klaus@georgehrke will work on making it happen for everywhere an avatar+username is shown. On click, it will simply show the dropdown menu with the actions. :)
Implemented with #3233
Hi, is it any option to limit the list of users in the dropdown to group(s) a user belongs to, or circle?
Reacted by beerlaoWouldn't it make sense to at least give an option to hide local users in contacts menu or limit them to the same group? Then only contacts from contacts app or the same group would be shown. Otherwise users will be able to see contact details and contact images of other users on the same NC12 instance.
Reacted by Daniel Scharon



Reasoning: We want to integrate contacts more nicely into Nextcloud and allow people to quickly communicate with their friends. This includes text chat, voice/video call, email, sharing and other means.
For this we decided to go for an icon in the top bar between search and the user menu which is always there. Tapping on it will expand the Contacts dropdown. We went with this over a permanent sidebar because it’s less distracting/intrusive and works nicely regardless of active app or form factor. (In Files for example there would otherwise be two sidebars on the right.)
cc @nextcloud/designers @LEDfan @sualko @Henni @karlitschek @schiessle
Normal state

With actions expanded

Detailed specs: