-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We want to be able to view the profile of another user.
This requires refactoring of ProfileBloc, ProfileScreen, and maybe other parts.
Extend UserProfilePage to take an argument String? userId. If null then ProfileBloc should fetch the profile via. v1/profiles/me which is what it currently does. However, if the userId is supplied, then it should use the endpoint v1/profiles/${userId}.
Once UserProfilePage, ProfileBloc, and ProfileRepository (including the interface IProfileRepository) has been amended, also include this work:
- Refactor the
ListTilereturned from the ItemBuilder incrowdaction_participants_screen.dartinto it's own widget, eg.ParticipantsListTile. - Use GestureDetector so that when pressed it will open the ProfileScreen with the participants userId (
participation.userId)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request