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

Clean up error messages in Productiv #228

Merged
merged 6 commits into from
Nov 6, 2020

Conversation

gabztcr
Copy link

@gabztcr gabztcr commented Nov 6, 2020

Fix #224

-Did not remove error message for "Description" and "Location" fields yet. Waiting for Wenjie to amend code first to allow blank fields to pass for optional fields, before deleting these two fields' error messages (they will then accept everything including blanks)

@gabztcr gabztcr added the documentation Improvements or additions to documentation label Nov 6, 2020
@gabztcr gabztcr added this to the v1.4 milestone Nov 6, 2020
@gabztcr gabztcr added this to PRs Pending Approvals in Productiv via automation Nov 6, 2020
@gabztcr gabztcr changed the title Gabriel cleanup Clean up error messages in Productiv Nov 6, 2020
Copy link

@MerlinLim MerlinLim left a comment

Choose a reason for hiding this comment

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

Minor changes, other than that LGTM.

* `DESCRIPTION` contains additional details about the meeting, e.g. agenda.
* `CONTACTS` represents the contacts involved in the meeting.
* `CONTACTS` is a comma-separated string of names.
* `CONTACTS` represents the contact(s) involved in the meeting.

Choose a reason for hiding this comment

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

Include optional plural for contacts in line 272

Copy link
Author

@gabztcr gabztcr Nov 6, 2020

Choose a reason for hiding this comment

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

Reworded to "As CONTACTS is not related to your contact list, you can include those not present in it."

src/main/java/seedu/address/model/util/Time.java Outdated Show resolved Hide resolved
@@ -13,6 +13,7 @@
public class Description {

public static final String EMPTY_DESCRIPTION_FIELD = "-";
// TODO: remove after allowing blank optional fields to pass.
public static final String MESSAGE_CONSTRAINTS = "Descriptions can take any values, and it should not be blank";

Choose a reason for hiding this comment

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

missing period for constriants

Copy link
Author

Choose a reason for hiding this comment

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

Message will be removed later on, so will not be making extra changes.

@@ -11,6 +11,7 @@
*/
public class Location {
public static final String EMPTY_LOCATION_FIELD = "-";
// TODO: remove after allowing blank optional fields to pass.
public static final String MESSAGE_CONSTRAINTS = "Locations can take any values, and it should not be blank";

Choose a reason for hiding this comment

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

Missing period

Copy link
Author

Choose a reason for hiding this comment

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

Message will be removed later on, so will not be making extra changes.

Copy link

@MerlinLim MerlinLim left a comment

Choose a reason for hiding this comment

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

Synchronise schedule order for Deliverable card and deliverable mode list panel. Other than that LGTM

Productiv automation moved this from PRs Pending Approvals to PRs approved / Ready for Testing Nov 6, 2020
@gabztcr gabztcr merged commit 60a429e into AY2021S1-CS2103T-F11-2:master Nov 6, 2020
Productiv automation moved this from PRs approved / Ready for Testing to Issues Done / PRs Merged (After Testing) Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Productiv
Issues Done / PRs Merged (After Testing)
Development

Successfully merging this pull request may close these issues.

Fix all error messages for invalid input commands
2 participants