astral icon indicating copy to clipboard operation
astral copied to clipboard

added profile tooltip

Open pfoytik opened this issue 2 years ago • 3 comments

While scrolling through feeds, users might want to quickly view a profiles description without having to navigate to their profile page. The PR provides a tooltip functionality where if the user hovers the mouse pointer over an avatar image for 1.5 seconds a tooltip pops up showing the avatar, username, and profile description. pr_image1 pr_image1_zoomed pr_image2

Changes made (only one file BaseUserAvatar.vue): q-tooltip was added to BaseUserAvatar with a delay of 1500 which creates a pop upof the users avatar image, name, and profile description using BaseUserName and store.getters.profileDesctiption(). Allows users to access this tooltip anywhere BaseUserAvatar is referenced (followerFeed, globalFeed, Follows, and Messages)

pfoytik avatar Dec 31 '22 20:12 pfoytik

i definitely agree with the idea but i don't like using tooltip for this. I would want a card that you can then click and interact with. also the grey tooltip background makes links hard to see.

do you know if there is a way to delay the hiding of tooltips?

monlovesmango avatar Jan 04 '23 04:01 monlovesmango

I was thinking that we might want clickable, maybe have the follow buttons included as well. I think we can do that with qmenu. I'll try to work it up soon!

pfoytik avatar Jan 04 '23 20:01 pfoytik

yeah exactly! would be nice if you could follow, copy pubkey, send lightning tip all from that card. sounds good keep me posted

monlovesmango avatar Jan 05 '23 18:01 monlovesmango