apluslms / a-plus

A+ frontend portal - A+ LMS documentation:
https://apluslms.github.io/
Other
67 stars 73 forks source link

Option to hide exercise title on exercise page #537

Open jaguarfi opened 4 years ago

jaguarfi commented 4 years ago

Migrated from Trello

O1 requires an option to hide exercise name (title) from the exercise page as it doesn't fit the chapter layout. The title should be visible on a points page though.

Title/name can show in the unit test output.

Move it to Aplus side: https://trello.com/c/cGPBYT8T

It should look like image

o1 Exercise title image

Comments

Jaakko Kantojärvi Let's move this title to Aplus side

@jsorva I made a new plan. Let's remove this for programming 1 by adding CSS rule that is something like

.exercise-title { display: none; }

In a longer-term, I will look into handling this information in A+ in a different way.

raphendyr commented 4 years ago

In a longer-term, I will look into handling this information in A+ in a different way.

A+ JS could move the .exercise-title and .exercise-instructions out of the exercise frame. This would allow the exercise description to be logically part of the exercise, thus available via API for example. However, the web interface would still look the same as now in Programming 1, which is that the instructions come before exercise box.