collaction_app icon indicating copy to clipboard operation
collaction_app copied to clipboard

[FEATURE]: View others profiles

Open Xazin opened this issue 2 years ago • 5 comments
trafficstars

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:

  1. Refactor the ListTile returned from the ItemBuilder in crowdaction_participants_screen.dart into it's own widget, eg. ParticipantsListTile.
  2. Use GestureDetector so that when pressed it will open the ProfileScreen with the participants userId (participation.userId)

Xazin avatar Dec 13 '22 17:12 Xazin

Hey, is anyone working on it? If not, I'm willing to take it up.

saksham-gt avatar Jan 11 '23 18:01 saksham-gt

Hi @Xazin It has been assigned to me I will be taking it up shortly. We can collaborate and work.

pythonhubdev avatar Jan 11 '23 19:01 pythonhubdev

@pythonhubdev Hey Vetrichelvan, let me know what is going on, I'm assigning this to @glitchpop-frenzy since I haven't heard from you! :)

Xazin avatar Jan 24 '23 18:01 Xazin

@glitchpop-frenzy what's the status on this? @pythonhubdev indicated he'd like to pick up a task for some time now, so maybe you can finish it together? Are you already working on a branch? And @pythonhubdev, could you send a message to @glitchpop-frenzy on Slack regarding this issue? :)

CollActionOfficial avatar Mar 21 '23 18:03 CollActionOfficial

Hey, yes! Sorry for the delay. It's a feature in progress and I completed most of the parts. Been a bit busy with work and went out for a week. I'll surely open up a PR for this feature this week.

saksham-gt avatar Mar 21 '23 18:03 saksham-gt