mail icon indicating copy to clipboard operation
mail copied to clipboard

Add "Send message" to People cards

Open marc-farre opened this issue 2 years ago • 11 comments

What do you think about adding a "Send message" button to the cards in the People page? image

If you agree with this idea, I can send a PR adding an event to add an item on PeopleActionButtons widget.

marc-farre avatar Mar 25 '22 14:03 marc-farre

@orangiene Can you please take a look here? Do we have a concept regarding the button colors/types for cards?

luke- avatar Mar 25 '22 18:03 luke-

I like the idea, let's do it. Button colors unfortunately do not follow a uniform logic at the moment. It is especially important that the user can "Follow" - that would be primary color for me. While sending a message has rather smaller prio, therefore secondary color.

orangiene avatar Mar 28 '22 11:03 orangiene

Thanks @orangiene . As the buttons' type list is https://github.com/humhub/humhub/blob/master/protected/humhub/widgets/BootstrapComponent.php#L47, can I use default for secondary color? On Humhub community theme, the default color is #f3f3f3, which is quite close to the secondary color which is #7a7a7a.

marc-farre avatar Mar 31 '22 12:03 marc-farre

@luke- https://github.com/humhub/mail/pull/258 but because of this problem: https://github.com/humhub/humhub/issues/5622 See my comment on the PR.

marc-farre avatar Mar 31 '22 12:03 marc-farre

@luke- We have an unresolved discussion here: https://github.com/humhub/mail/pull/258#issuecomment-1087442697 The problem was to determine the number of buttons. Once we've decided, I'll create a new PR on the current develop branch. Thanks!

marc-farre avatar Nov 29 '23 16:11 marc-farre

@luke- @marc-farre I think it's a great opportunity to use an icon button that could turn into a floating button in the future. What do you think about it?

Screenshot 2023-12-12 at 11 18 41 AM

Eladnarlea avatar Dec 12 '23 10:12 Eladnarlea

@Eladnarlea Thanks! Yes, I think it's a very good idea. @luke- Should I create a PR for this?

marc-farre avatar Dec 12 '23 10:12 marc-farre

What about a menu like this? image

luke- avatar Dec 12 '23 11:12 luke-

@luke- a menu like this is less intuitive than the icon button. Also for mobile it is less practical.

Eladnarlea avatar Dec 12 '23 12:12 Eladnarlea

@Eladnarlea I see your point, but for me the people cards are a bit bloated.

image

If we had a "hidden" decent menu, we could also put other additional not that important options (Block, Edit as Admin, ...) in there.

Maybe we could also: image


Or without a new menu: We could always display the mail symbol at the bottom (and either +Friends or +Follow - depending on the HumHub configuration. It's confusing for many users anyway, the difference between follow/friends)


For me, however, the solution with the "message" button at the top would also be fine. Even if it's not my favorite.

luke- avatar Dec 13 '23 10:12 luke-

If we had a "hidden" decent menu, we could also put other additional not that important options (Block, Edit as Admin, ...) in there.

I would advise against applying too many options to each page of the software. We should first define what the "people cards" are for and what you can do on the page. Blocking, for example, is a fairly specific action that is rarely used in mass processing. So I don't think it's necessarily relevant to the People Cards page.


Or without a new menu: We could always display the mail symbol at the bottom (and either +Friends or +Follow - depending on the HumHub configuration. It's confusing for many users anyway, the difference between follow/friends)

I like this, I think it's also confusing and we should offer either/or. "Follow" is also an action that should be configured when on the specific profile.


For me, however, the solution with the "message" button at the top would also be fine. Even if it's not my favorite.

@luke- let me think of another way to deal with the "bloated" cards, I would like to provide a different approach.

Eladnarlea avatar Dec 13 '23 11:12 Eladnarlea