Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Share Section PopUp (Which will work when the user clicks on share button in the post card) #106

Open
Arihant-Singh-Rana opened this issue Mar 13, 2024 · 0 comments

Comments

@Arihant-Singh-Rana
Copy link
Contributor

In this patch I would add the functionality of sharing a post to other social media platform.

Libraries Likely to be used:

  • react-share
    • Will use this library to add the social media plataform's Icon and also their respective wrapper class.
  • usehooks-ts
    • Will use this library to enable the copy to clipboard functionality in the share pop up section.

Changes to be made

  1. Will add comments in the post.jsx and PostButtons.jsx files to increase the readability and to make it easier for the fellow developer to understand the code base.
  2. Will add elements for Share pop up in PostButtons.jsx file.
  3. Will add styling for the share pop up in the Post.module.css file.
  4. Will add side scrolling functionality for the socials along with scrolling buttons.
  5. Will add copy to clipboard button which will copy the current webpage url.

Testing To Be Done

  • Test for all the redirections for other social media platforms are working.
  • Copy to clipboard button is working.
  • Pop up opening and closing all working properly.

Will be developed by

@Arihant-Singh-Rana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant