BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

Add testimonial button overlays the social media icons on profile page

Open thehashmap opened this issue 3 years ago • 21 comments

Edit: Changes to make...we use the notifications from Tailwind on the icons page, we should move that to a reusable component https://linkfree.io/icons

Description

On scrolling to the end of the profile page of any use, the Add Testimonial button overlays the social media icons.

I suggest one of the following:

  • Move the button to center
  • Change the size of button to only display the icon and expand on hover

Screenshots

image

Additional information

No response

thehashmap avatar May 09 '23 19:05 thehashmap

To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/LinkFree/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md

github-actions[bot] avatar May 09 '23 19:05 github-actions[bot]

This bug is dependent on screen size and as it is a floating CTA, there may not be a perfect solution that will work on all resolutions if it remains floating. For example, on my screen this does not happen. add testimonial screenshot

Moving the button to center would be awkward while scrolling, but the expandable CTA on hover is an idea that may work (be sure to consider mobile experience)

wdyt @eddiejaoude ?

amandamartin-dev avatar May 09 '23 19:05 amandamartin-dev

Great points Amanda 👍

Maybe it should be moved away from a floating button, possible to a + button next to testimonials tab? (but if they don't have any testimonials on their profile yet, then it won't appear 🤔 )

Screenshot 2023-05-10 at 03 01 36

eddiejaoude avatar May 09 '23 20:05 eddiejaoude

Great points Amanda 👍

Maybe it should be moved away from a floating button, possible to a + button next to testimonials tab? (but if they don't have any testimonials on their profile yet, then it won't appear 🤔 )

That is one solution, but considering we reuse that CTA throughout the app should all be fixed or just this one?

amandamartin-dev avatar May 09 '23 20:05 amandamartin-dev

Another great point, yes we do use it on the homepage as well (I don't think anywhere else?), but I think the homepage help is easier to fix/move

eddiejaoude avatar May 09 '23 20:05 eddiejaoude

Another great point, yes we do use it on the homepage as well (I don't think anywhere else?), but I think the homepage help is easier to fix/move

Oh right, I was thinking help was on every page for some reason. And yes, the help is also much smaller and potentially not necessary to adjust

amandamartin-dev avatar May 09 '23 20:05 amandamartin-dev

Or the help can be added to the main navbar so it is on every page (but something else might need to move to give more space) - so I think the help is less of a challenge, but the add testimonial is more challenging, some ideas...

Move the add testimonials floating button to...

  1. on the testimonial tab (but not always displayed)
  2. top left of the profile picture (similar to the QR code)
  3. top right of the profile page (under the navbar)
  4. ...something else?

eddiejaoude avatar May 09 '23 20:05 eddiejaoude

Another idea is to use the toast style component from Tailwind components therefore the user can dismiss it...

Screenshot 2023-05-10 at 12 08 02

https://tailwindui.com/components/marketing/elements/banners#component-c5bc8a46a1093693fd286f0b74c631f4

eddiejaoude avatar May 10 '23 05:05 eddiejaoude

There are notifications also as part of Tailwind components too https://tailwindui.com/components/application-ui/overlays/notifications

eddiejaoude avatar May 10 '23 06:05 eddiejaoude

We use the notifications from Tailwind on the icons page, we should move that to a reusable component https://linkfree.io/icons

eddiejaoude avatar May 10 '23 06:05 eddiejaoude

Another idea is to use the toast style component from Tailwind components therefore the user can dismiss it...

If we allow dismissal in this case, there would still need to be a way to get it back as the option to add a testimonial isn't a one time banner interaction like cookies

amandamartin-dev avatar May 10 '23 12:05 amandamartin-dev

Good point, I think on next page revisit it will appear again as the dismissal is not persisted

eddiejaoude avatar May 10 '23 13:05 eddiejaoude

If we want to go with the + button route we could add a button says "Add a testimonial for {user name}" above the actual testimonials. Screenshot 2023-05-11 at 12 42 12 AM

ChinmayMhatre avatar May 10 '23 19:05 ChinmayMhatre

But if no one has a testimonials yet on their profile, then that tab doesn't appear yet

eddiejaoude avatar May 11 '23 00:05 eddiejaoude

But if no one has a testimonials yet on their profile, then that tab doesn't appear yet

Umm... Just a thought, could we keep the tab even if there were no testimonials? Could look consistent. We could add a message encouraging to add a testimonial for the person?

ChinmayMhatre avatar May 11 '23 05:05 ChinmayMhatre

I agree with @ChinmayMhatre. This could provide a more consistent user experience.

thehashmap avatar May 11 '23 06:05 thehashmap

We had this displayed before but most people wanted it hidden until they used that feature to keep their profile minimalistic - which I think looks better

eddiejaoude avatar May 11 '23 06:05 eddiejaoude

Here are the points from the discussion in Discord.

Proposed solution by @Pradumnasaraf

How about we chnage it to hover and expand or some other solution? Or we can move socials to a different position. By hover and expand, I mean something like this.

Proposed solution by @dan-mba

While technically possible, this will require a good bit of custom CSS. You can add the Aria tags to make it work with accessibility, but is it worth it? A simpler solution would be to add extra padding to the bottom of the footer so nothing gets blocked.

Pradumnasaraf avatar May 12 '23 17:05 Pradumnasaraf

Thanks everyone, great collab! I have updated the issue description, I think we should do for the simplest solution for now, which will also help other notifications in the app - which is reusing the icon page's notification

eddiejaoude avatar May 12 '23 21:05 eddiejaoude

Can I work on this issue?

zaid-ahmad avatar May 17 '23 19:05 zaid-ahmad