BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

[FEATURE] Link effect

Open eddiejaoude opened this issue 3 years ago • 25 comments

Description

It would be great if links in the profile could have an animation added

  • from Tailwind we have 4 animations that could be added to the link https://tailwindcss.com/docs/animation
Screenshot 2023-06-16 at 17 14 47
  • these options should be added to a dropdown on the link add/edit page
  • there should be an option for none (no animation) also
Screenshot 2023-06-16 at 17 16 08

note: this will need to be done after PR https://github.com/EddieHubCommunity/LinkFree/pull/6998 (or branched from and merge to)

Screenshots

No response

Additional information

No response

eddiejaoude avatar Jun 16 '23 10:06 eddiejaoude

The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md

github-actions[bot] avatar Jun 16 '23 10:06 github-actions[bot]

Hey, can I give this a try?

HassanTanveer avatar Jun 16 '23 13:06 HassanTanveer

Hey, can I give this a try?

Thank you, I have assigned you.

amandamartin-dev avatar Jun 16 '23 18:06 amandamartin-dev

Hi, can i work on this.

kunalshokeen051 avatar Jun 17 '23 05:06 kunalshokeen051

Hi, can i work on this.

@kunalshokeen051 as I have mentioned to you today already before requesting issues to be assigned to you, please check the Assignees box at the top of the page - this issue has been assigned to someone else.

Here is a link to our Contributing Guide which you may want to take a look at so that you can see the guidelines for contributing to this project..

We appreciate your enthusiasm but in future please do not ask to be assigned to various issues in the expectation that one of these will be assigned to you. I am sure you will appreciate this creates extra work for maintainers as well as notifications and noise.

SaraJaoude avatar Jun 17 '23 08:06 SaraJaoude

@HassanTanveer I have unassigned this from you as there has been no activity for two weeks

SaraJaoude avatar Jun 28 '23 01:06 SaraJaoude

@SaraJaoude could you assign this to me I would like to give it a try!

vishalsingh2972 avatar Jun 28 '23 17:06 vishalsingh2972

@SaraJaoude could you assign this to me I would like to give it a try!

@vishalsingh2972 I have assigned this to you

SaraJaoude avatar Jun 29 '23 02:06 SaraJaoude

SaraJaoude could you assign this to me I would like to give it a try!

vishalsingh2972 I have assigned this to you

@vishalsingh2972 as there has been no activity since this was assigned to you two weeks ago, I have unassigned this from you to give others a chance to move this forward.

SaraJaoude avatar Jul 12 '23 08:07 SaraJaoude

I believe considering using transition instead of animation might enhance the overall user experience in our links in the profile. Currently, in this issue we are trying to implement animations in links, and while they do add a touch of interactivity, I believe using tailwind transitions could significantly improve the user experience without compromising on visual appeal.

=> Here are some compelling reasons to consider using transition instead of animations.

(1) Subtle and Polished: Tailwind transitions can offer a more elegant and polished feel to the links. They provide smooth visual feedback without being intrusive or distracting, allowing users to focus on the content rather than the interface.

(2) Streamlined Interaction: Animations can sometimes make it challenging for users to accurately click on the desired link due to their dynamic nature. Transitions, on the other hand, maintain the link's position, ensuring a consistent and precise user interaction.

(3) Performance Optimization: Transitions are generally lighter in terms of performance compared to animations. They don't impose a significant load on the page, resulting in faster load times and smoother interactions, even on less powerful devices or slower internet connections.

(4) Consistency in UI: By standardizing our approach to link interactions, we can achieve a cohesive and seamless user experience across the platform. Transitions help maintain visual consistency without overwhelming the users with different types of animations.

here link of video that shows demo of animations and transitions. video link

I look forward to your valuable feedback and support in making our LinkFree profile an even better space for collaboration and problem-solving.

Dobariya-Nishant avatar Jul 16 '23 04:07 Dobariya-Nishant

I think the first effect will be the most work as it will set the foundation for future effects.

Sure, I would be interested to see an example + code, the video example stated it can only be applied to images

eddiejaoude avatar Jul 18 '23 07:07 eddiejaoude

yes, I make an example + code Draft PR and video too.

Dobariya-Nishant avatar Jul 18 '23 15:07 Dobariya-Nishant

ok thank you 👍 @Dobariya-Nishant would you like this assigned to you?

eddiejaoude avatar Jul 20 '23 08:07 eddiejaoude

yes please.

Dobariya-Nishant avatar Jul 20 '23 16:07 Dobariya-Nishant

https://github.com/EddieHubCommunity/LinkFree/assets/139515239/17ca4985-f2fb-4bf9-b54e-c409626047fb

added the video of 4 types of transition options and also No Animation Option too. when first time add new Link.

https://github.com/EddieHubCommunity/LinkFree/assets/139515239/c00a044d-9840-4428-b6ac-047ab0591a4f

in this video transitions can be edited from pencil button, but we have to change the position of pencil button.

https://github.com/EddieHubCommunity/LinkFree/assets/139515239/227fc8d3-e3ea-403d-be84-d8c2f621610d

this is the final result from user Profile.

I think it needs some more improvement I need some review from this videos and draft PR. and also, we can use animation if this won't work as expected.

Dobariya-Nishant avatar Jul 23 '23 11:07 Dobariya-Nishant

I like the way you demo it with video examples. But the issue was not for these animations on hover, but when they are listed, to make them standout from the list - for example pulse effect

eddiejaoude avatar Jul 23 '23 13:07 eddiejaoude

I have some questions (1) pulse and ping effect will work for full link but how we add spin and bounce effect? (2) we have to add this animation for full link like added in video or we animate icons in link like shown in tailwind documentation? (3) main goal is to highlight the selected links by user and this effect is always shown without any hover?

Screenshot 2023-07-23 210731

Dobariya-Nishant avatar Jul 23 '23 15:07 Dobariya-Nishant

I don't think animate spinner would make sense here, but maybe the other animations to the icon would look good, can you please try and see what you think

eddiejaoude avatar Jul 23 '23 15:07 eddiejaoude

yes that's good idea i try it and give demo of it.

Dobariya-Nishant avatar Jul 23 '23 15:07 Dobariya-Nishant

thank you 👍

eddiejaoude avatar Jul 23 '23 15:07 eddiejaoude