Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support aliases search in main page combinator select #78

Open
Tridimensionnel opened this issue Feb 2, 2023 · 3 comments
Open

Support aliases search in main page combinator select #78

Tridimensionnel opened this issue Feb 2, 2023 · 3 comments
Labels
enhancement Improvement of existing feature

Comments

@Tridimensionnel
Copy link
Contributor

Currently, users cannot find a drug in browsing its aliases.
Making it possible would make browsing the website more easy for users looking for meds, as an exemple.

@x-yzt x-yzt added the enhancement Improvement of existing feature label Feb 3, 2023
@x-yzt
Copy link
Owner

x-yzt commented Feb 3, 2023

Note: the substance search page already support this.

Technically it's not straightforward: the component on the main page is a selector, the text input here does not perform a search but filters amongst the select elements.

Supporting aliases here is still doable, but I'm not sure this is such a good idea after all: it might be confusing if filtering shows choices that are apparently unrelated to the characters the user typed.

One thing we could do on the other hand is replacing the "Search in this list" placeholder of the text field by something more explicit, like "Filter those items".

@x-yzt x-yzt changed the title Open search to drug aliases Support aliases search in main page combinator select Feb 3, 2023
@Tridimensionnel
Copy link
Contributor Author

I understand the point, but I still think this little confusion would be compensated by helping users find the substance they look for. Especially if the substance search page alrealy do it, why would the two systems work differently ? The way you did it for the substances pages (redirecting instead of showing different results than the input) is good :)

@Tridimensionnel
Copy link
Contributor Author

Tridimensionnel commented Feb 28, 2023

Today an user told me about the search.
He explained that he try to make his friends use the app, but they often are "too stoned" to perfectly write substances / remember the "official" name, and end thinking there is less content than actually.
For exemple : they write "2CB" for "2C-B".
So I think it woud be a real improvment to make the search more stone-user friendly, which would in my opinion include aliases and accept at least one letter different from the propre name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants