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

feat: create retweet funcionality #26

Closed
Matdweb opened this issue Dec 13, 2023 · 0 comments · Fixed by #29
Closed

feat: create retweet funcionality #26

Matdweb opened this issue Dec 13, 2023 · 0 comments · Fixed by #29
Assignees

Comments

@Matdweb
Copy link
Owner

Matdweb commented Dec 13, 2023

About the Ticket

This ticket focuses on enhancing user engagement through the implementation of a "Retweet" functionality. The goal is to provide users with the ability to share interesting posts within the application, fostering interaction and expanding the reach of valuable content.

Changes Recommended

  1. Retweet Button:

    • Introduce a "Retweet" button to posts, allowing users to share content with their followers.
    • Implement a visual indicator, such as a circular arrow icon, to represent the "Retweet" action.
  2. Redux Integration:

    • Modify the api/posts to store and track user retweets for each post.
    • Ensure the posts include the updated amount of retweets in real time.
    • Manage all of this funcionality only in Redux state of the posts since there's not access to the mock data base
  3. User Interface Update:

    • Update the post component to display the number of retweets each post has received.
    • Implement real-time updates to reflect changes in like counts without requiring a page reload.
      image
  4. Additional Information:

    • Developers are encouraged to refer to the feat: mock data api #8 to understand how the api/posts endpoint works and successfully implement the changes required for the app to record retweets.

Impact

The introduction of a "Retweet" functionality enriches the user experience by adding a social dimension to our platform. Users gain the ability to share valuable content, contributing to a sense of community and interaction. Please note that, as a recommendation, the retweets functionality may work only on the Redux state due to the app's use of mock data without direct database access.

@Matdweb Matdweb self-assigned this Dec 13, 2023
@Matdweb Matdweb linked a pull request Dec 15, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant