Skip to content

Admin - exercise editor #70

@achirkin

Description

@achirkin

We need to enhance and polish scenario (a.k.a. workshop, a.k.a exercise) editor to support new settings. Currently, it is located at Handler.Mooc.Admin.ScenarioEditor.

  • Rename all occurrences of the thing to "Exercise editor" (not scenario and not workshop), make it a nice and RESTfull :)
  • Add a table ExerciseSettings with key and value columns, same as UserProps. I think it is worth doing so to make it easy to add new settings in future. scale and canAddDelete fields should migrate to that table as keys.
  • Add GUI to set canAddDelete and canModifyProperties to exercise editor (pls, check correct names in qua-types)
  • Allow to replace geometry and image and description in the exercise editor
  • Add a new editable setting: customizable user html message to show student upon successful submission. it should also support two placeholders using ${abc} syntax to insert user id or some other user or exercise related info (userId for sure, something else TBD).

Maybe it makes sense to minimize "create exercise" form in favor of maximizing flexibility of "modify exercise" page to avoid code and functionality duplication. Though, this is up to you :)

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions