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

Migrate Degree Wizard to React Query #1063

Merged
merged 19 commits into from
Jul 14, 2023

Conversation

lhvy
Copy link
Contributor

@lhvy lhvy commented Jul 9, 2023

There are currently errors in the degree wizard merged into CIRCLES-331 that makes testing other branches somewhat difficult. This PR is a quick attempt to fix the ones stopping the front page from even loading.

The React Query migration for the Degree Wizard is almost entirely covered by this PR. This should also cover all the changes in #1060 at the same time.

@lhvy lhvy requested a review from leonardo-fan as a code owner July 9, 2023 05:59
@github-actions
Copy link

github-actions bot commented Jul 9, 2023

Test Results

55 tests   40 ✔️  6s ⏱️
13 suites    0 💤
  1 files    15

For more details on these failures, see this check.

Results for commit 344f1f2.

♻️ This comment has been updated with latest results.

@lhvy
Copy link
Contributor Author

lhvy commented Jul 9, 2023

Almost there! Just a few small fixes with input validation in the new API route to handle now, and a good review from @leonardo-fan and @imagine-hussain.

@lhvy lhvy changed the title Attempt to fix errors in the Degree Wizard Migrate Degree Wizard to React Query Jul 9, 2023
@imagine-hussain
Copy link
Contributor

More changes made:

  • Added actual validation to BE
  • entire wizard is 1 transaction
  • FE waits on BE to be correct before moving on

Future implications (Out of Scope)

  • Wizard should be locked behind login
  • Add proper redirects (from other pages) to wizard if degree is not complete

@imagine-hussain
Copy link
Contributor

Tests will fail due to changes - tests are out of date - aactual thing builds.
Is blocking others so, will merge in the changes and deal w/ tests later.

@imagine-hussain imagine-hussain merged commit cc05d77 into CIRCLES-331/user-data-to-backend Jul 14, 2023
3 of 4 checks passed
@imagine-hussain imagine-hussain deleted the fix-331 branch July 14, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants