Skip to content

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

@muntaxir4

Description

@muntaxir4

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions