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: Fetch Following List and Display in a Dialog #240

Open
muntaxir4 opened this issue Feb 23, 2025 · 0 comments
Open

FEAT: Fetch Following List and Display in a Dialog #240

muntaxir4 opened this issue Feb 23, 2025 · 0 comments

Comments

@muntaxir4
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, users cannot view the list of people they are following. A dialog should display the following list, each linking to the respective user’s profile. Endpoints affected /profile and /user/{handle}

Describe the solution you'd like

  1. Implement an action flow (GET_USER_FOLLOWINGS_START, GET_USER_FOLLOWINGS_SUCCESS, GET_USER_FOLLOWINGS_FAIL) to retrieve followings from Firestore.
  2. Store following data in the Redux store under profile.user.followings.
  3. Display following users in a dialog, where:
    • Each entry shows a profile picture and display name and user handle.
    • Clicking on an entry redirects to their profile page without hard refresh.
  4. Show a loading state (with a loading button) while fetching the list.

Describe alternatives you've considered

  • Fetching on every dialog open (not efficient without caching).

Additional context
This feature will enhance navigation by allowing users to easily access profiles of people they follow.

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

No branches or pull requests

1 participant