nus-cs2113-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Able to set activity duration of 0s #21

Open nus-pe-bot opened 11 months ago

nus-pe-bot commented 11 months ago

image.png


[original: nus-cs2113-AY2324S1/pe-interim#29] [original labels: severity.Low type.FeatureFlaw]

DaDevChia commented 11 months ago

Team's Response

Allowing a zero duration value is an intended design choice to provide flexibility in data entry. For instance, an activity entry might sometimes be used to log an exercise session that didn't involve actual running, such as stretching or warm-up exercises or popular gym workouts, where distance and time is not always applicable. Some might use a 0-second duration to mark brief moments of activity that don't significantly contribute to their overall workout time like tracking the completion of 30 pushups.

The current version of our software (with no specific features for stationary gym workouts) with this flexibility therefore allows the user to use the software in different ways.

Rejection of zero inputs would rather annoy users who want to track a gym workout but not increase the distance counter. Therefore this is not in scope.

Duplicate status (if any):

--