If last sets are present, compare and show message about change, e.g. "You've done 3 reps more with the same kgs", or "you've done the same number of reps with 20kgs more!". Positive reinforcement yo.
This would need to check the position of the set in the sets FK relation.
Cases to handle:
No previous sets: no message
Previous sets: show difference in a message for the same # set
Previous sets, doing more sets in current exercise than before: show good job message
If last sets are present, compare and show message about change, e.g. "You've done 3 reps more with the same kgs", or "you've done the same number of reps with 20kgs more!". Positive reinforcement yo.
This would need to check the position of the set in the
sets
FK relation.Cases to handle: