OkkarMin / where-to-mug

Where To Mug is a tool to help you determine which tutorial rooms are free in NTU
https://wheretomug.ml
4 stars 3 forks source link

Should support 'full text search' on room names #28

Closed OkkarMin closed 3 years ago

OkkarMin commented 3 years ago

Currently, the user needs to type in the 'exact' room name to be able to search: e.g: "tr-18" | "lhn-tr"

room.includes(searchText.toUpperCase());

Ideally, the filter should also work on the following search: e.g: "tr 18" | "lhn tr"