Vacansee / app

Predicting campus occupancy and room availability @ RPI
https://vacansee.github.io/app
GNU General Public License v3.0
12 stars 0 forks source link

Search bar building functionality #40

Closed mattsweet417 closed 10 months ago

mattsweet417 commented 10 months ago

Now when you search a building (either nickname like 'DCC' or full name like 'Darrin Communications Center') and click on the result from the search bar, it opens the correct building view.

I would like feedback on whether we want both the nickname and full name to show up in the search bar, or whether when you search up 'Darrin Communications Center' the appropriate nickname shows up in the results so that we keep the results concise (or the other way around?). Let me know what you think.

Acumane commented 10 months ago

Great! I think the nickname should show up, but on hover or arrow key selection the full name appears by its side in parenthesis

mattsweet417 commented 10 months ago

I'm not sure if there is a way to edit the results when you hover over them with the Autocomplete component, but I can have the results show 'nickname (fullname)' whenever you search for either the nickname or the fullname... @Acumane

Acumane commented 10 months ago

Sounds good 👍️