Skip to content

Improve UX when submitting feedback#138

Open
murhum1 wants to merge 1 commit into
apluslms:masterfrom
murhum1:submit-feedback-improvements
Open

Improve UX when submitting feedback#138
murhum1 wants to merge 1 commit into
apluslms:masterfrom
murhum1:submit-feedback-improvements

Conversation

@murhum1
Copy link
Copy Markdown
Contributor

@murhum1 murhum1 commented Feb 19, 2026

Show a "feedback received" alert and hide the Submit button after submission to signal students that their feedback has been received and they can move on.

Why?

Student submission UX has been unclear, resulting in semi-accidental double submissions. See #122 for details. This should prevent these double submissions. Requires related A+ code to work (apluslms/a-plus#1505), so that jutut knows the exercise on A+ side has just received the "grading" result.

Fixes #122

Testing

What type of test did you run?

  • Accessibility test using the WAVE extension.
  • Django unit tests.
  • Selenium tests.
  • Other test. (Add a description below)
  • Manual testing.

Did you test the changes in

  • Chrome
  • Firefox
  • This pull request cannot be tested in the browser.

Copy link
Copy Markdown
Contributor

@ihalaij1 ihalaij1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this and it works great!

I was thinking about hiding the "Submit" button. What if the student wants to edit their submission after submitting? They might not know that reloading the page brings back the "Submit" button and allows them to resubmit. @murhum1 @jsorva

Are we sure we want to hide the submit button in addition to showing the "Feedback received" alert?

@jsorva
Copy link
Copy Markdown

jsorva commented Feb 25, 2026

Thank you for looking into this!

The solution sounds mostly very good. But Jimmy’s point is valid, I think. Would it make sense to keep the button there, but to clear the input box (which I think doesn’t currently happen?) and perhaps change the text on the button a bit?

Apropos of this, to address the related issue #121, it might make sense to prevent the feedback from being sent if it’s otherwise identical from the previous one but the text box is empty.

@murhum1
Copy link
Copy Markdown
Contributor Author

murhum1 commented Feb 25, 2026

@ihalaij1 The students cannot edit a submission - if they click submit again, it will show up as a new comment on the same feedback thread. I was on the edge about removing the submit button though, I don't mind keeping it either for cases where students remember they wanted to add something.

I'll see if I can implement @jsorva's suggestion, or something alike, at least.

@ihalaij1
Copy link
Copy Markdown
Contributor

Yeah, by "edit" I meant a student wanting to change their submission a bit and resubmit.

Show a "feedback received" alert and hide the Submit button after
submission to signal students that their feedback has been received
and they can move on.

Fixes apluslms#122
@ihalaij1 ihalaij1 force-pushed the submit-feedback-improvements branch from 0bed5fa to b32c31a Compare February 25, 2026 12:35
@ihalaij1
Copy link
Copy Markdown
Contributor

I made some small changes to fix the margins, commit message, and brought back the Submit button.
You can continue from there @murhum1

@ihalaij1 ihalaij1 moved this to In progress in A+ sprints Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

Jutut forms confuse students and result in empty messages being sent

3 participants