-
Notifications
You must be signed in to change notification settings - Fork 3
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
Clean up error messages in Productiv #228
Conversation
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.
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. |
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.
Include optional plural for contacts in line 272
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.
Reworded to "As CONTACTS
is not related to your contact list, you can include those not present in it."
@@ -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"; |
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.
missing period for constriants
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.
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"; |
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.
Missing period
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.
Message will be removed later on, so will not be making extra changes.
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.
Synchronise schedule order for Deliverable card and deliverable mode list panel. Other than that LGTM
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)