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

Fix UG errors #314

Merged
merged 2 commits into from
Apr 14, 2024
Merged

Conversation

jamessinmaojun
Copy link

Error not fixed:

All screenshots depict the db file to be PoochPlanner.json when in actuality it is implemented as poochplanner.json. Either fix all screenshots or change the file name.

@jamessinmaojun jamessinmaojun added type.Task Something that needs to be done, but not a story, bug, or an epic priority.High Must do labels Apr 13, 2024
@jamessinmaojun jamessinmaojun added this to the v1.4 milestone Apr 13, 2024
@jamessinmaojun jamessinmaojun self-assigned this Apr 13, 2024
@jamessinmaojun jamessinmaojun linked an issue Apr 13, 2024 that may be closed by this pull request
Copy link

@yleeyilin yleeyilin left a 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>

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"

Copy link
Author

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.

Choose a reason for hiding this comment

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

idk might be confusing

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

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.
Copy link

@yleeyilin yleeyilin Apr 13, 2024

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?

Copy link
Author

Choose a reason for hiding this comment

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

resolved

</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>

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.

Copy link
Author

Choose a reason for hiding this comment

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

resolved

Copy link

@yleeyilin yleeyilin left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

@Joshy837 Joshy837 left a 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>

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

Copy link

@chiageng chiageng left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@jannaleong jannaleong left a 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>

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 ...

Choose a reason for hiding this comment

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

resolvedd

@jannaleong jannaleong merged commit 015d6de into AY2324S2-CS2103T-W10-2:master Apr 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority.High Must do type.Task Something that needs to be done, but not a story, bug, or an epic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix UG mistakes
5 participants