Skip to content

Conversation

@bryanjenningz
Copy link
Collaborator

@bryanjenningz bryanjenningz commented Oct 1, 2022

Changes:

  • When you submit an exercise submission on the DOJO exercises page (/exercises/js0), it will send a GraphQL mutation and persist even if you refresh the page.

How to test:

  • Create a DOJO module at /admin/lessons/js0/modules
  • Create DOJO exercises at /curriculum/js0/mentor
  • Go to /exercises/js0
  • Notice how the newly-created exercises are marked as "NOT ANSWERED"
  • Click "SOLVE EXERCISES" and answer an exercise and submit it
  • Click the back arrow to show the exercise list again
  • Notice that when you look at the exercise you answered, it is now marked as "ANSWERED"
  • If you refresh the page then the exercises you answered are still marked as "ANSWERED"

This pull request is related to #2253

@vercel
Copy link

vercel bot commented Oct 1, 2022

@bryanjenningz is attempting to deploy a commit to the c0d3-prod Team on Vercel.

A member of the Team first needs to authorize it.

@codecov
Copy link

codecov bot commented Oct 1, 2022

Codecov Report

Merging #2381 (3040ac1) into master (fa2154f) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #2381   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          184       184           
  Lines         3236      3239    +3     
  Branches       856       856           
=========================================
+ Hits          3236      3239    +3     
Impacted Files Coverage Δ
pages/exercises/[lessonSlug].tsx 100.00% <100.00%> (ø)

@vercel
Copy link

vercel bot commented Oct 1, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
c0d3-app ✅ Ready (Inspect) Visit Preview Oct 1, 2022 at 1:55PM (UTC)

@bryanjenningz bryanjenningz merged commit 97f25a3 into garageScript:master Oct 1, 2022
@bryanjenningz bryanjenningz deleted the add-exercise-submissions branch October 1, 2022 13:59
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.

2 participants