Teammates: Student: submit responses: mention that partial answers can be saved

Created on 26 Aug 2017  路  10Comments  路  Source: TEAMMATES/teammates

In the submission page, we can mention that partially responses can be 'saved' using the submit button.

help wanted p.Low

All 10 comments

Working on this.

@damithc Sir, how would you like this information displayed?

  • A status message (sent from the server using statusToUser)
    screen shot 2017-08-26 at 10 11 19 pm

  • A dismissable div (added in tag files, using data-target and data-dismiss="alert" for closing)

screen shot 2017-08-26 at 11 10 49 pm

Any suggestions other than the above two?

EDIT: Also does _"Note that a partially filled form can be saved by using the submit button. You may edit your submission any time between now and the closing time for this session."_ work as the sentence to be displayed?

I think the first option is OK (because we use the same technique in other places while we don't use dismissiable divs anywhere).

For the sentence, your suggestion is good. I did some tweaks along the same lines:

Note that you can use the Submit button to save responses already entered, and continue to answer remaining questions after that. You may also edit your submission any number of times before the closing time of this session.

Dropping a note that there is a slight delay in pushing the PR as I have to modify some tests to update their expected statuses.

Meanwhile, would just like your advice on this @damithc sir:

The behaviour shown by the screenshot below would not be desirable, correct? Should the new status message only get displayed when the page is first being loaded and NOT after response submission? Or is the screenshot below okay?

screen shot 2017-08-27 at 11 22 04 am

Will update my code depending on your answer and then fix the tests.

Should the new status message only get displayed when the page is first being loaded and NOT after response submission?

Ideally, yes. But if it introduces too much complexity, the alternative is fine too.

@damithc Just realised that this would involve passing an additional data attribute using the URL to the feedbackSubmissionEdit page, and that would add a _lot_ of complexity to this PR. So I'm going to be sticking with the alternative.

@damithc Just realised that this would involve passing an additional data attribute using the URL to the feedbackSubmissionEdit page, and that would add a lot of complexity to this PR. So I'm going to be sticking with the alternative.

You can create an issue for someone to "upgrade" the behavior in future.
BTW, can the backend insert the status message only if the form is empty (instead of passing a new parameter)?

BTW, can the backend insert the status message only if the form is empty (instead of passing a new parameter)?

@damithc Sir, I can't seem to find an existing parameter/data attribute that checks if the student has submitted responses for that particular feedback session. Again, creating such a paramater would add some complexity.

Will create the issue to "upgrade" the behavior. 馃憤

@damithc As there is no activity in this issue for a while, can I try my hands on this one?

@damithc As there is no activity in this issue for a while, can I try my hands on this one?

Sure

Was this page helpful?
0 / 5 - 0 ratings