nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Name does not allow special characters #2322

Open nus-pe-bot opened 2 weeks ago

nus-pe-bot commented 2 weeks ago

Action:

 I want to add my friend's name that contains special characters, eg s/o

Expected result/output:

 command success

Actual result/output:
 special characters are not allowed

Screenshot:

 Screenshot 2024-11-15 at 4.39.28 PM.png

Suggestions: I think special characters should be allowed as some people do have them in their name. Some contacts might be saved as the in-game name, which have a even higher chance of having special characters in their name


[original: nus-cs2103-AY2425S1/pe-interim#3159] [original labels: type.FeatureFlaw severity.Low]

JJtan2002 commented 1 week ago

Team's Response

This limitation was already acknowledged in our UG and something we can consider for the next interation.

At this stage, we provided a workaround for this issue by replacing special characters with whitespace.

This feature has a non-trivial implementation required due to the / character also being used as a delimiter for our command parameters, resulting in unexpected behaviors unless we further changed the parser.

Duplicate status (if any):

--