Simon-Initiative / oli-torus

Next Generation OLI Authoring and Delivery Platform
https://proton.oli.cmu.edu
MIT License
83 stars 35 forks source link

[FEATURE] [NG23-167] Intro content input for explorations and practice pages #4864

Closed nicocirio closed 2 months ago

nicocirio commented 3 months ago

Link to the ticket

This feature allows an author to set an intro content to a page (both from the curriculum or the page view).

https://github.com/Simon-Initiative/oli-torus/assets/74839302/92d6f4d4-5654-41de-8eaf-2c548292f805

Other minor bugs fixed

Some minor bugs were found and fixed while working on the ticket

Edit container name

A validation in the form was not correctly being done, so the form didn't allowed the user to save it

Before

https://github.com/Simon-Initiative/oli-torus/assets/74839302/f9289a10-d486-44e6-b5a8-72bcacc6bf40

After

https://github.com/Simon-Initiative/oli-torus/assets/74839302/b0042999-4dc0-448c-9ae2-b7d0bce7eda9

"Ghost" intro video

When changing any form input, an intro video (with no content at all) appeared.

Before

https://github.com/Simon-Initiative/oli-torus/assets/74839302/9c101c5e-d84c-4ebd-bc8a-b4659a0725b3

After

https://github.com/Simon-Initiative/oli-torus/assets/74839302/6546bd26-7553-411a-85fd-54de96e46a48