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

Base for course outline content #3584

Merged
merged 32 commits into from
Sep 9, 2020
Merged

Base for course outline content #3584

merged 32 commits into from
Sep 9, 2020

Conversation

renatho
Copy link
Contributor

@renatho renatho commented Sep 3, 2020

Changes proposed in this Pull Request

  • This PR introduces the base for the course outline content.
  • It's getting the content from a mocked array (in both frontend and editor) until we have the API.
  • This PR removes the legacy list when the course outline block is rendering. But this approach is temporary until we research the best approach.
  • This PR still doesn't handle the styles, different lessons statuses, and other specific interactions.

Testing instructions

  • Create a new course.
  • Interact with the outline block to make sure everything is working properly.
  • Save the course with the outline block.
  • Go to the frontend and make sure the course appears correctly (the data won't still match the correct content, it's getting a mocked array until we have the API).

Screenshot / Video

Editor:

Screen Shot 2020-09-03 at 18 06 06


Frontend:

Screen Shot 2020-09-03 at 18 06 30

@renatho renatho added this to the 3.6.0 milestone Sep 3, 2020
@renatho renatho self-assigned this Sep 3, 2020
@renatho renatho marked this pull request as ready for review September 4, 2020 19:07
@renatho renatho requested a review from a team September 4, 2020 19:07
Copy link
Contributor

@yscik yscik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! A few comments on naming, and some missing jsdocs.

assets/blocks/course-outline/lesson-block/edit.js Outdated Show resolved Hide resolved
assets/blocks/course-outline/edit.js Outdated Show resolved Hide resolved
assets/blocks/course-outline/lesson-block/edit.js Outdated Show resolved Hide resolved
assets/blocks/course-outline/module-block/edit.js Outdated Show resolved Hide resolved
@renatho renatho requested a review from yscik September 8, 2020 19:24
Copy link
Contributor

@yscik yscik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@renatho renatho merged commit 31712f1 into master Sep 9, 2020
@renatho renatho deleted the add/course-outline-content branch September 9, 2020 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants