dcramer / peated

https://peated.com
Apache License 2.0
63 stars 13 forks source link

Expose registration flows #197

Closed dcramer closed 3 months ago

dcramer commented 3 months ago

Add a register and email verification flow, as well as the related supporting components. Refactors a variety of things, including changing the overall design of forms.

Note this also fixes jsx-email, which was broken in dev/prod (passing in tests). There was an issue with react-jsx in typescript which I couldn't figure out, so instead we opted to switch to react for the jsx option. The specific error was React is not defined when executing the code in the server application.

This is missing a reset password flow, which will be a followup.

codecov[bot] commented 3 months ago

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

:x: Failed Test Results:

Completed 334 tests with 1 failed, 333 passed and 0 skipped.

View the full list of failed tests ## src/worker/jobs/updateCountryStats.test.ts - **Class name:** src/worker/jobs/updateCountryStats.test.ts
**Test name:** updates totalBottles

AssertionError: expected 4 to deeply equal 3
❯ .../worker/jobs/updateCountryStats.test.ts:26:36
dcramer commented 3 months ago

Sign-in

image image

Register

image image

Verification

image image image