Diaspora: Add mention and PM icons to hovercards

Created on 21 Jun 2016  Â·  6Comments  Â·  Source: diaspora/diaspora

I think it would be useful to add @ (mention) and envelope (conversation) icons in hovercards, assuming of course that you and that person have the appropriate sharing relationship.

The way I see this working is that if you click the mention or envelope icon, a pane pops up containing either the publisher or the new conversations page, as appropriate. The person will be automatically mentioned or included in the conversation, as appropriate.

Then when you click 'Share' (in the publisher) or 'Send' (in the conversation), the pane disappears and you are back where you started - you have not left the place where you found the hovercard.

If others consider this a good idea, we can then try to think of a good place on the hovercards to place these icons!

✨ feature 🎨 ui

All 6 comments

I'm currently working on it. :)

this is how it may look like
hovercard

Not sure how accurate your mockup is, but some notes: The placement is good, but we already do have icons for messages and mentions on a user's profile page, which we should re-use.

It also looks like you are developing on a stable pod, which you shouldn't do. Please use the develop sources, since a lot of stuff has changed!

Nice start, @angerella10 - thanks!
In addition to Dennis's comments, I'd suggest not having any border around the new icons. This will save space and keep a 'cleaner' look for the hovercard.

There's also the question what to do when a long aspect name is selected, or if the translation of 'In 2 aspects' is long in the user's locale. I'm not sure how the hovercards deal with this - I think they just expand to the right - but @denschub and @svbergerem would be best to advise here.

Here's my quick mock-up:

_screen

We could even potentially add the block icon, like so:

_screen2

although this might make problems for space.

If necessary, we could save space by stacking the icons vertically:

_screen3

Anyway, thanks for taking on this task. I think it will add useful functionality to diaspora*.

@denschub @goobertron may i request to divide this feature into two instead of one whole feature. (1)mention (2)message so I would be able to pull a request on the mention icon to hovercards since I'm already done with it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

diaspora-redmine-github-migration picture diaspora-redmine-github-migration  Â·  5Comments

lu-x picture lu-x  Â·  4Comments

rev138 picture rev138  Â·  3Comments

denschub picture denschub  Â·  4Comments

rev138 picture rev138  Â·  5Comments