nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Tag search only matches full words #3344

Open nus-se-script opened 7 months ago

nus-se-script commented 7 months ago

Currently, tag search has been implemented to only match full words e.g dis will not match disabled

However, this could add to difficulties in finding certain clients when the tags are more complicated words. schizophrenia is a relatively complex word which might present in some clients that social workers work with. In this case, if the user intends to search for the client that had been tagged with schizophrenia previously, they would need to be able to spell the word exactly and with precision. Such complex words may not come as easy to all users and more time could be needed to search up the exact spelling before the search by tag is successful.

This in turn impedes users who may be fast at typing but may not be as familiar or strong in their spelling.

Steps to reproduce:

  1. edit 1 --tags=schizophrenic
  2. find-tag schiz

Resultant output:

Screenshot 2024-04-19 at 4.56.47 PM.png


[original: nus-cs2103-AY2324S2/pe-interim#2787] [original labels: severity.Medium type.FeatureFlaw]

vannykin commented 7 months ago

Team's Response

For users who may not be as familiar or strong in their spelling, they can tag this client as "schiz" if they find "schizophrenia" difficult to spell.

Then, they can search for this client by typing "find-tag schiz".

Duplicate status (if any):

--