Skip to content

Add custom HTML templates for components in Studio (master) - #402

Closed
pedrovgp wants to merge 9696 commits into
masterfrom
pedrovgp/se4781-master
Closed

Add custom HTML templates for components in Studio (master)#402
pedrovgp wants to merge 9696 commits into
masterfrom
pedrovgp/se4781-master

Conversation

@pedrovgp

Copy link
Copy Markdown

This is the master version of #399, which was closed when I cleaned the commits. The changes in this PR will be cherry picked to the customers production branches as needed.

[SE-4781] This creates a custom list of HTML elements to add to a Unit, in a Subsection, in a Section of a course authored in Studio. This affects any author of courses using Studio.

JIRA tickets:

SE-4781

Screenshots:

When clicking HTML (below)
image
The list that appears (default below)
image

Should show all the units designed by ESME and available at this link

Merge deadline: 2021-09-17

Testing instructions:

  1. Make sure to have devstack up and running,
  2. In the edx-platform repository pull the branch
  3. Run make dev.restart-devserver.studio
  4. Visit http://localhost:18010
  5. Edit the demo course and add another unit
  6. In the new unit add an HTML block
  7. Check the items in the list. They need to include the ones added by this commit.
  8. Select "overview" from the list
  9. Publish the changed course
  10. Run make lms-up
  11. Run make lms-static
  12. Run frontend-app-learning-up
  13. Visit http://localhost:18000, access the demo course as audit student, go to the changed section
  14. Check that the overview contains the styles from .div-overview from the scss file changed by this PR

Author notes and concerns:

This PR is being compared to the current branch in the staging environment.

Reviewers

@jvdm

Loading
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.