nusmods icon indicating copy to clipboard operation
nusmods copied to clipboard

[NIT] Auto clear search bar after entering module code

Open btjm123 opened this issue 1 year ago • 3 comments

On the TimeTable page, the module search bar does not automatically clear after pressing Enter.

As a user, I would like to be able to add module codes sequentially by pressing Enter after entering each code - without the need to manually backspace/clear the search bar.

Animation

btjm123 avatar Apr 25 '24 07:04 btjm123

This makes sense to me! Happy to hear more opinions from users (e.g. does anyone regularly add courses by common prefix? or is there another use case for this?)

Otherwise, if anyone wants to implement this then go ahead!

kokrui avatar Apr 25 '24 18:04 kokrui

+1! Even if one were to add by common prefixes, clearing the input on enter seems like a more intuitive expected behavior to me

jloh02 avatar Apr 27 '24 15:04 jloh02

Hi, I would like to work on this!

leslieyip02 avatar May 17 '24 12:05 leslieyip02