-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep track of multiple attempts + improve saving #31
base: main
Are you sure you want to change the base?
Conversation
luttje
commented
Dec 22, 2023
…ything to the students property, changes were saved. We now wait actively until save is pressed)
Besides allowing us to keep track of multiple attempts, this also fixes how saving works. There was a problem where if you made changes, and then opened any modal, those changes would be saved without having to actively press the save button. This happened because all changes were deferred until the first action. That worked fine when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, great work in preparing this feature! Although I feel it's not quite there yet, in terms of UX / clearness to the user. We might need the figure out the desirable workflow?
For me, editing a point directly should lead to a new attempt being recorded. I feel like this is the most commonly used workflow? Editing a point without creating a new attempt would still be possible via the modal.
As a teacher, I would also prefer the attempts to be more visible. Some indication that this student has had multiple attempts. Like maybe a very small 0/1/2/... badge in the corner of a field?
Now that I'm thinking this through... To implement this in the best way possible, without cluttering the UI too much, we might need to make a distinction between a "view"-mode for the matrix and an "edit"-mode:
- View-mode would be much like it is now, this would primarily be used by mentor's. They usually don't care about the number of attempts etcetera, just about how many points does the student have now. (should probably be possible to check the attempts, but this could be hidden in a modal)
- Edit-mode would be used mainly by teachers entering and/or editing points. Maybe even per 'vak'?! Like I could enter the edit-mode specifically for "PRA", and only for those fbm's I would see all the information about how many attempts, and only those would be editable. This is also a protection to make sure you don't accidentally edit a field an thereby create a new attempt.
Todo:
- Do not allow points higher than maximum in attempt-modal
- Show attempt in student view somehow (maybe not all attempts, just the one that counts + some indication if it's first attempt or not)
- Decide whether last or highest attempt counts?
- Decide whether editing a point automatically leads to a new attempt?
- Decide whether we need separate view-/edit-modes?
Adding ideas from discussion in the Issue for further context / reference;
|
My thinking in how I designed the interface in this PR was as follows:
This led to the current design, which also reduced code complexity for this first prototype. If we want to change behavior where sometimes it changes the score and other times it adds a new attempt we'll have to somehow predict the intent of the user. I think the two modes you suggested may clearly signal to the user that score entry behavior is different. |
That's a great way to put it!
I can see how this would happen, we need to account for this. Maybe we need these two modes with a very clear switch at the top:
This would also account for the following situation: student scored 5 out of 6 points in first attempt. In second attempt the student scored 4 out of 6 points. Hightest attempt counts. So teacher will enter the entering-mode, change 5 into 4 and go back to view mode. Now the 4 dissapears in favor of the 5. To make this make sense, we need the sharp difference between view/enter-mode. Now what about editing after saving? Maybe this is where the existing modal comes in to play to edit an existing attempt? Maybe postpone this to a next release?In about one week we will begin introducing the new Smartpoints to all teachers. This feature needs to be complete and merged OR postponed to a next release over the summer holidays. |