Open marc-farre opened 2 years ago
@orangiene Can you please take a look here? Do we have a concept regarding the button colors/types for cards?
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.
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.
@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.
@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!
@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?
@Eladnarlea Thanks! Yes, I think it's a very good idea. @luke- Should I create a PR for this?
What about a menu like this?
@luke- a menu like this is less intuitive than the icon button. Also for mobile it is less practical.
@Eladnarlea I see your point, but for me the people cards are a bit bloated.
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:
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.
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.
What do you think about adding a "Send message" button to the cards in the People page?
If you agree with this idea, I can send a PR adding an event to add an item on
PeopleActionButtons
widget.