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] Add "My campaigns" tab to My Profile page #1054

Closed
igoychev opened this issue Oct 12, 2022 · 0 comments · Fixed by #1067
Closed

[Feature] Add "My campaigns" tab to My Profile page #1054

igoychev opened this issue Oct 12, 2022 · 0 comments · Fixed by #1067
Assignees
Labels
hacktoberfest https://hacktoberfest.com/participation/

Comments

@igoychev
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, the My profile page shows 3 tabs for My Donations, Personal Info and Donation Certificates. Users were asking for easy access to "My Campaigns" too so that they can view the campaigns they donated to, or even edit in case they are in the role of organizer/coordinator or beneficiary.

Describe the solution you'd like
Add a new tab next to Donations called My Campaigns. The new tab should display a grid with the following conditions:

  1. all campaigns the logged user has donated to
  2. all campaigns for which the logged user is in the role of organizer, coordinator or beneficiary

The grid should display edit button and allow editing only for campaigns with the condition 2.

To implement this on the backend there is a need of a new endpoint that lists campaigns by user with the conditions above.

Describe alternatives you've considered
The solution can be implemented in iterations where condition 1 is implemented only on frontend and then condition 2 is implemented by extending the backend.

Additional context
When implementing backend endpoint look at how the user is checked in create-campaign endpoint.

@marinovl7 marinovl7 self-assigned this Oct 12, 2022
@marinovl7 marinovl7 added the hacktoberfest https://hacktoberfest.com/participation/ label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest https://hacktoberfest.com/participation/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants