tutorbookapp / tutorbook

Web app that helps schools and nonprofits connect students with expert mentors and volunteer tutors.
https://tutorbook.org
Other
59 stars 13 forks source link

feat: add tutor request form #266

Closed nicholaschiang closed 3 years ago

nicholaschiang commented 3 years ago

Fixes TB-149

linear[bot] commented 3 years ago
TB-149 Add student "tutor request" form

Students (or their parents) should be able to fill out a "request a tutor" form that creates an account for them and notifies org admins that they need a tutor. Org admins will then open that email, click on a "Find them a tutor" button (that opens the users page with filters already selected and visible), and book a meeting with a tutor for them (i.e. using the "Select students" field and searching for the student).

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tutorbook/tutorbook/52vvC1BzbZAJPk9VqGemrCJV1Zqs
✅ Preview: https://tutorbook-git-request-tutorbook.vercel.app

nicholaschiang commented 3 years ago

📝 Changed routes:

/[org]/request
Screenshot of /[org]/request
(view full size)

And 1 other route:

Commit c0e31393cf848923edcbca2d24a500ec3d2eae63 (https://tutorbook-cbhby8ihc-tutorbook.vercel.app).

codecov[bot] commented 3 years ago

Codecov Report

Merging #266 (c0e3139) into develop (3ece2f5) will decrease coverage by 4.12%. The diff coverage is 89.36%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #266      +/-   ##
===========================================
- Coverage    69.39%   65.27%   -4.13%     
===========================================
  Files          218      220       +2     
  Lines         4578     4625      +47     
  Branches      1246     1256      +10     
===========================================
- Hits          3177     3019     -158     
- Misses        1401     1606     +205     
Impacted Files Coverage Δ
pages/[org]/request.tsx 85.71% <85.71%> (ø)
components/request.tsx 90.90% <90.90%> (ø)
lib/api/get/people.ts 0.00% <0.00%> (-100.00%) :arrow_down:
lib/api/get/last-time.ts 0.00% <0.00%> (-100.00%) :arrow_down:
lib/api/get/meeting-venue.ts 0.00% <0.00%> (-100.00%) :arrow_down:
lib/mail/meetings/create.tsx 0.00% <0.00%> (-100.00%) :arrow_down:
lib/api/update/people-tags.ts 0.00% <0.00%> (-100.00%) :arrow_down:
lib/api/update/meeting-tags.ts 0.00% <0.00%> (-100.00%) :arrow_down:
lib/api/verify/time-in-availability.ts 0.00% <0.00%> (-100.00%) :arrow_down:
lib/api/routes/meetings/create.tsx 0.00% <0.00%> (-95.46%) :arrow_down:
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3ece2f5...c0e3139. Read the comment docs.

cypress[bot] commented 3 years ago



Test summary

30 4 0 0Flakiness 2


Run details

Project tutorbook
Status Failed
Commit c0e31393cf
Started Oct 28, 2021 6:06 PM
Ended Oct 28, 2021 6:25 PM
Duration 19:04 💡
OS Linux Ubuntu - 20.04
Browser Chrome 94

View run in Cypress Dashboard ➡️


Failures

org/users/id/index.spec.ts Failed
1 User display page > collects profiles before booking meetings
2 User display page > lets parents book meetings for their kids
3 User display page > signs users up before booking meetings
profile.spec.ts Failed
1 Profile page > updates volunteer profiles

Flakiness

signup.spec.ts Flakiness
1 Signup page > signs new volunteers up
settings/index.spec.ts Flakiness
1 Org settings page > displays and updates org settings

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard