-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix UG errors #314
Fix UG errors #314
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.
Some comments that needs to be rectified, but otherwise, good effort on standardising
<br> | ||
|
||
<div style="text-align:center;"> | ||
<br> | ||
<img src="images/ug-images/error-images/invalidField.png" alt="Add before" style="width:100%;"/> | ||
<medium>Image depicting a help command with an invalid field error message.</medium> | ||
<medium>Image depicting a `help` command with its invalid field error message.</medium> |
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.
standardise the following:
- Image .... with "its" invalid field error message.
- Image .... with "the" unknown command error message.
to decide to use either "its" or "the"
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.
"its" was used for invalid and missing fields, in which the error message is dependent on the field itself. "the" was used for unknown commands, which only has one error message.
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.
idk might be confusing
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.
i think its is alright
docs/UserGuide.md
Outdated
If you encounter an invalid field error, please ensure the field entered is a valid field for the command you | ||
are using. Below is an example of a command with an invalid field and the corresponding error message. | ||
If you encounter an invalid field error, please ensure that the field entered is a valid field for the command you | ||
are using. Refer to our [Command Summary](#command-summary) for a list of valid fields for each PoochPlanner command. Below is an example of a command with an invalid field and the corresponding error message. |
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.
should we use < br > here?
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.
resolved
docs/UserGuide.md
Outdated
</div> | ||
|
||
<div markdown="span" class="alert alert-primary">:bulb: **Tips:**<br> | ||
<div markdown="block" class="alert alert-primary">:bulb: **Tips:**<br> | ||
|
||
* For your convenience, if there are repeated fields, only the value of the latest repeated field will be processed. So, if you have mistakenly entered the wrong value, simply retype the field and value in the same line.<br> |
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.
You can conveniently rectify your mistake by retyping the field and value in your command as only the latest field will be processed.
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.
resolved
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.
LGTM!
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.
LGTM
<br> | ||
|
||
<div style="text-align:center;"> | ||
<br> | ||
<img src="images/ug-images/error-images/invalidField.png" alt="Add before" style="width:100%;"/> | ||
<medium>Image depicting a help command with an invalid field error message.</medium> | ||
<medium>Image depicting a `help` command with its invalid field error message.</medium> |
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.
i think its is alright
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.
LGTM
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.
lgtm but some minor comments.
`Multiple values specified for the following single-valued field(s): ; [duplicated field] :`<br> | ||
* Example of a search command with a duplicated search field: | ||
* `/search ; name : Pooch ; name : Pooch` | ||
</div> | ||
|
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.
deos this search need the duplicate field line too? the for your convenience ...
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.
resolvedd
Error not fixed:
All screenshots depict the db file to be
PoochPlanner.json
when in actuality it is implemented aspoochplanner.json
. Either fix all screenshots or change the file name.