Skip to content

Resolve "Pressing enter on assignment creation gives an exception"

Chris Lemaire requested to merge 212-assignment-page-bugs into development

Closes #212 (closed)

Problem

Weird/counter-intuitive behaviour happened on the assignments page whenever one presses the enter button. Instead of saving the current list of assignments, the first assignments gets removed.

Changes

This MR fixes that bug and does a makeover of the assignment overview.

  • The assignments overview is now in the form of a table with the save and add buttons on the top.
  • The upload & enqueue button still expands an inline prompt to upload a csv file.
  • The submit button order now starts with 'save' by having it first in the HTML. This causes the default submit to be to save.

Pictures

Old: image New: image

Edited by Chris Lemaire

Merge request reports