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

feat: Create the page to add new lessons #2538

Conversation

flacial
Copy link
Member

@flacial flacial commented Nov 22, 2022

Closes #2398

Description

This page will be used to create new lessons. Upon creating the lesson, it'll redirect the admin to the manage that'll be used to manage the new lessons's info, challenges, exercises, and modules.

The back button is different that the design because it's not consistent with what we've such as in the mentor exercises page

The old lesson page has been replaced with the new one. Previously, we couldn't do so as it depends on this one.

Page image

Image image

Unused components

By removing the old page, the components (AdminLessonSideBar, AdminLessonInfo) it used are obsolete now. I'll remove them in a different PR, but let me know your opinion.

@vercel
Copy link

vercel bot commented Nov 22, 2022

@flacial 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 Nov 22, 2022

Codecov Report

Merging #2538 (f2fc237) into master (c2f5814) will not change coverage.
The diff coverage is 100.00%.

❗ Current head f2fc237 differs from pull request most recent head 49fe969. Consider uploading reports for the commit 49fe969 to get more accurate results

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #2538   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          186       186           
  Lines         3357      3385   +28     
  Branches       904       906    +2     
=========================================
+ Hits          3357      3385   +28     
Impacted Files Coverage Δ
...es/admin/lessons/[lessonSlug]/[pageName]/index.tsx 100.00% <ø> (ø)
pages/admin/lessons/index.tsx 100.00% <100.00%> (ø)
pages/admin/lessons/new/index.tsx 100.00% <100.00%> (ø)

@vercel
Copy link

vercel bot commented Nov 24, 2022

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

Name Status Preview Updated
c0d3-app ❌ Failed (Inspect) Dec 1, 2022 at 5:17PM (UTC)

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.

DOJO(admin/page): Create the page for adding lessons
2 participants