Skip to content
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

Add Exercise class and attribute classes implementation #83

Merged
merged 93 commits into from
Mar 31, 2020

Conversation

Yonggiee
Copy link

@Yonggiee Yonggiee commented Mar 22, 2020

  • tests implementation not done

Copy link

@AaronCQL AaronCQL left a comment

Choose a reason for hiding this comment

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

Perhaps we should be more consistent with the file namings under the seedu.address.model.exercise package. For the sake of consistency with the other files in this package, should we rename Sets and Reps to ExerciseSets and ExerciseReps instead?

Copy link

@AaronCQL AaronCQL left a comment

Choose a reason for hiding this comment

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

LGTM

public static final String COMMAND_WORD = "add-e";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds an exercise done by a client in FitBiz. "
+ "Parameters: INDEX (must be a positive integer) "

Choose a reason for hiding this comment

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

shld not have le

Copy link
Author

Choose a reason for hiding this comment

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

done

+ "[" + PREFIX_REPS + "REPS] "
+ "[" + PREFIX_EXERCISE_WEIGHT + "EXERCISE_WEIGHT] "
+ "[" + PREFIX_SETS + "SETS]\n"
+ "Example: " + COMMAND_WORD + " 1 "

Choose a reason for hiding this comment

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

the + " 1 " also

Copy link
Author

Choose a reason for hiding this comment

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

done

Copy link

@AaronCQL AaronCQL left a comment

Choose a reason for hiding this comment

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

Wanky

@@ -24,13 +24,12 @@
public static final String COMMAND_WORD = "add-e";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds an exercise done by a client in FitBiz. "
+ "Parameters: INDEX (must be a positive integer) "

Choose a reason for hiding this comment

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

Why is the "Parameters: " also removed?

Copy link
Author

Choose a reason for hiding this comment

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

oof fkup

+ PREFIX_NAME + "EXERCISE_NAME "
+ PREFIX_DATE + "DATE "
+ "[" + PREFIX_REPS + "REPS] "
+ "[" + PREFIX_EXERCISE_WEIGHT + "EXERCISE_WEIGHT] "
+ "[" + PREFIX_SETS + "SETS]\n"
+ "Example: " + COMMAND_WORD + " 1 "
+ "Example: "
Copy link

@AaronCQL AaronCQL Mar 31, 2020

Choose a reason for hiding this comment

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

Why did you remove the COMMAND_WORD?

@Yonggiee Yonggiee requested a review from AaronCQL March 31, 2020 11:46
@AaronCQL AaronCQL merged commit 63fea46 into master Mar 31, 2020
@ziyingli ziyingli deleted the AddExerciseClass branch April 2, 2020 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants