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: block-users impl #6

Merged
merged 5 commits into from
Aug 2, 2024
Merged

feat: block-users impl #6

merged 5 commits into from
Aug 2, 2024

Conversation

hyochan
Copy link
Member

@hyochan hyochan commented Jul 31, 2024

Demo

block.users.mp4

Description

  1. Change Pagination Queries to Cursor Pagination:

    • Update all pagination queries in the Supabase database to use cursor pagination instead of offset-based pagination.
    • Ensure that the new cursor pagination implementation maintains or improves performance and scalability.
  2. Add User Report Feature:

    • Implement a feature allowing users to report other users for inappropriate behavior or content.
    • Design a database schema to store reports, including details such as the reporting user, the reported user, the reason for the report, and the date/time of the report.
    • Create API endpoints for submitting and retrieving reports.
    • Ensure proper validation and authentication for the reporting feature.
  3. Add User Block Feature:

    • Implement a feature allowing users to block other users.
    • Design a database schema to store blocked user relationships, including details such as the blocking user, the blocked user, and the date/time of the block.
    • Create API endpoints for blocking and unblocking users.
    • Ensure that blocked users cannot interact with or view the content of the users who blocked them.

@hyochan hyochan added the 🎯 feature New feature label Jul 31, 2024
@hyochan hyochan changed the title feat(wip): block-users impl feat: block-users impl Aug 2, 2024
@hyochan hyochan merged commit 1016f0c into main Aug 2, 2024
1 check passed
@hyochan hyochan deleted the feat/block-users branch August 2, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎯 feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant