-
Notifications
You must be signed in to change notification settings - Fork 69
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
feat(DOJO): Create main mentor page #2367
feat(DOJO): Create main mentor page #2367
Conversation
@flacial is attempting to deploy a commit to the c0d3-prod Team on Vercel. A member of the Team first needs to authorize it. |
@@ -0,0 +1,221 @@ | |||
import React, { useMemo, useState } from 'react' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing new. Just moved the file.
@@ -0,0 +1,306 @@ | |||
jest.mock('@sentry/nextjs') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing new. Just moved the file.
Codecov Report
@@ Coverage Diff @@
## master #2367 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 183 184 +1
Lines 3208 3236 +28
Branches 848 856 +8
=========================================
+ Hits 3208 3236 +28
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<ExercisePreviewCard | ||
key={i} | ||
moduleName={exercise.moduleName} | ||
state={'ANSWERED'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporarily set to ANSWERED
. Will be fixed in a different PR.
{ text: 'exercises', url: `/exercises/${currentLesson.slug}` }, | ||
{ | ||
text: 'mentor exercises', | ||
url: `/curriculum/${currentLesson.slug}/mentor/` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use a single NavBar
across the curriculum pages. It'll be done in a different PR.
…of github.com:flacial/c0d3-app into 2029-dojomentorpage-list-mentor-submitted-exercises/1
Related to #2029
Changes
curriculum/[lessonSlug]/mentor
which is a literal modified copy of the exercises page including its code and test file.NavBar
in the exercises page that link to/curriculum/[lessonSlug]/mentor
/mentor/addExercise
Page Image
Subsequent changes
addExercise
pageTesting
/curriculum/js0/mentor
MENTOR EXERCISES
in theNavBar
addExercise
page show up correctly