nusmodifications / nusmods

🏫 Official course planning platform for National University of Singapore.
https://nusmods.com
MIT License
558 stars 270 forks source link

[NIT] Auto clear search bar after entering module code #3723

Closed btjm123 closed 1 month ago

btjm123 commented 2 months ago

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

kokrui commented 2 months ago

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!

jloh02 commented 2 months ago

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

leslieyip02 commented 1 month ago

Hi, I would like to work on this!