Skip to content

Create Sponsorship form #11

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

Open
7 tasks
Mariatta opened this issue Mar 19, 2025 · 2 comments · May be fixed by #75
Open
7 tasks

Create Sponsorship form #11

Mariatta opened this issue Mar 19, 2025 · 2 comments · May be fixed by #75
Labels
backend backend code changes sponsorship portal related to the sponsorship portal

Comments

@Mariatta
Copy link
Member

After the user verified their email address, show the link for creating Sponsorship Profile
Depends on #10

Tasks:

  • Show the link to fill in the Sponsorship Profile only after the account has been verified
  • Create a form asking them to fill in their Sponsorship Profile
  • When the form is saved, a new Sponsorship Profile instance should be created and associated with the currently logged in user
  • Set the form application status to pending
  • a user can be both volunteer and sponsor, they should be able to see both sponsorship and volunteer profile if this is the case

Unit tests:

  • assert that the SponsorshipProfile instance was created with status "pending" after the form was saved
  • assert that a user can be both volunteer and sponsor without issue
@lidokogi
Copy link

lidokogi commented Apr 1, 2025

My PR #66 has addressed most of these tasks- only outstanding are account verification and unit tests which I am currently working on.
@Mariatta Wondering if for the account verification - does this mean they shouldn't be able to see the 'Beome a sponsor' link on the homepage unless they have verified their account or is it more of when they click the link then it should ask them to verify their account before taking them to the form?

@lidokogi lidokogi linked a pull request Apr 2, 2025 that will close this issue
@Mariatta
Copy link
Member Author

Mariatta commented Apr 7, 2025

Wondering if for the account verification - does this mean they shouldn't be able to see the 'Beome a sponsor' link on the homepage unless they have verified their account or is it more of when they click the link then it should ask them to verify their account before taking them to the form?

Yes, unless they verified their email address, then they cannot continue with everything else. It should just keep showing them the verification form. Once they verified, they can then access everything else in the portal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend backend code changes sponsorship portal related to the sponsorship portal
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants