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

[FEATURE]: View others profiles #329

Open
Xazin opened this issue Dec 13, 2022 · 5 comments
Open

[FEATURE]: View others profiles #329

Xazin opened this issue Dec 13, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Xazin
Copy link
Member

Xazin commented Dec 13, 2022

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 Xazin assigned Xazin and pythonhubdev and unassigned Xazin Dec 13, 2022
@Xazin Xazin added the enhancement New feature or request label Dec 13, 2022
@saksham-gt
Copy link
Collaborator

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

@pythonhubdev
Copy link

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

@Xazin
Copy link
Member Author

Xazin commented Jan 24, 2023

@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 Xazin assigned saksham-gt and unassigned pythonhubdev Jan 24, 2023
@CollActionOfficial
Copy link

@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? :)

@saksham-gt
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants