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

Implement Notification Feature for User Follow Actions #137

Closed
Alpha17-2 opened this issue May 24, 2024 · 0 comments
Closed

Implement Notification Feature for User Follow Actions #137

Alpha17-2 opened this issue May 24, 2024 · 0 comments
Assignees
Labels
Admin working on this Admin is currently working on this design designing UI

Comments

@Alpha17-2
Copy link
Collaborator

Description

We need to implement a feature that sends notifications to users when they are followed by another user. This enhancement aims to improve user engagement by informing users about new followers in real-time.

Database Schema Changes

  • Add a table to store notifications with fields for:

    • Notification ID
    • User ID (the user receiving the notification)
    • Follower ID (the user who initiated the follow)
    • Timestamp
    • Notification status (read/unread)
  • Notification UI: Add a notification icon and dropdown to the user interface.

    • Display the list of notifications with user avatars, follower names, and timestamps.
    • Mark notifications as read when viewed by the user.
  • Real-time Updates: Update the notification dropdown in real-time when a new follower is added.

Testing

  • Unit tests for the backend logic to ensure notifications are created correctly.
  • Integration tests to verify the end-to-end functionality of the notification feature.
  • UI tests to ensure notifications are displayed and updated correctly in the frontend.

Backend Development:

  • Develop the follow API endpoint.
  • Integrate notification creation logic.
  • Implement real-time notification delivery.
@Alpha17-2 Alpha17-2 added Admin working on this Admin is currently working on this design designing UI labels May 24, 2024
@Alpha17-2 Alpha17-2 self-assigned this May 24, 2024
Alpha17-2 added a commit that referenced this issue May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin working on this Admin is currently working on this design designing UI
Projects
None yet
Development

No branches or pull requests

1 participant