roultitude / pe

0 stars 0 forks source link

Autocomplete feature for Edit results in duplicate prefixes when used repeatedly #3

Open roultitude opened 1 year ago

roultitude commented 1 year ago

Using the autocomplete feature for edit starts from the same prefix regardless of prefixes that have already been input into the field. This can lead to minor inconvenience for the user when entering edits for multiple fields at once.

Noticed that you've already implemented somewhat correct behaviour for this into the add command's autocomplete, so perhaps just do the same for edit.

Before Tab

image.png

After Tab

image.png

nus-pe-script commented 1 year ago

Team's Response

Our implementation of autocomplete for edit was to allow the user to cycle through the available fields they can edit. We allow the repetition of prefix so that the keystrokes is consistent to get to a certain prefix (e.g. 1 tab = n/, 2 tab = p/ etc. etc.). The command will still work as for the attributes that require only 1 prefix, we will take the last entered value as the final value you want to change the contact's name(or relevant field) to. Additionally prefix for tags can be repeated multiple times as you can add multiple tags with 1 edit command.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]