jan-kai1 / pe

0 stars 0 forks source link

Formatting of User Guide in PDF form causes Add command shown in UG does not work #2

Closed jan-kai1 closed 1 week ago

jan-kai1 commented 1 week ago

EDIT: The command works fine when copied from the web page User Guide, indicating that it is a PDF exclusive issue.

In the PDF UG, the example usage command for Add is shown as

image.png

add n/Ryan p/82154565 e/Ryan@gmail.com a/3 Padang Chancery
f/550 c/1

However, that exact command does not work in the program due to the formatting causes the f/ to be joined with Chancery with the f/ tag shown as invalid. add n/Ryan p/82154565 e/Ryan@gmail.com a/3 Padang Chanceryf/550 c/1

image.png

The error messaged also does not accurately describe the error in the input.

Severity is set to Medium as this is one of the example commands used for new users to try, which could cause an inconvenience to them and is likely to occur. The error message also does not accurately capture the issue which caused the error, making it even harder for new users to understand how to remedy the issue. This error also violates one of the constraints with the project (where the DG and UG should be PDF friendly).

However, a user is able to solve the issue if she decides to use the link provided in the help window.

Edit: This issue is present with any command in the UG/DG PDF form where the flag wraps into the next line

image.png Directly pasting this command will not work as well.