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

Add ability to sort 'manually' #3372

Open
thibaultmol opened this issue Nov 27, 2022 · 6 comments
Open

Add ability to sort 'manually' #3372

thibaultmol opened this issue Nov 27, 2022 · 6 comments

Comments

@thibaultmol
Copy link

thibaultmol commented Nov 27, 2022

Problem

Currently in the app you can only sort by your recommendations you've set. But I would like to sometimes just select the one with the lowest kcal and go from there.

Proposed solution

Add an ability to override de 'recommendation' algorithm and just manually sort by specific values. like kcal.

Part of

@monsieurtanuki
Copy link
Contributor

@thibaultmol I understand the general idea. I see for nutrients, but are you also thinking about other data?

@thibaultmol
Copy link
Author

I guess it's mainly for nutrients data yeah

@monsieurtanuki
Copy link
Contributor

Setting nutrients to sort on (ascending or descending) shouldn't be a problem.
The display should be discussed, because I presume you want to see the values, and that may mean a totally different page (like a table), especially if you want several nutrients at the same time.

In addition to that, that's a bit in contradiction with "our" scores, like Nutriscore.

Could you please give a real-life example of what you'd like to achieve? E.g., "my scanned yoghurts sorted by descending proteins"

@thibaultmol
Copy link
Author

Basically one of the things I wanted to do was scan all the things you'd consider 'snacks' in my local supermarket and then sort by kcal. See what's the lowest. And then look at the top 10 of those what their other nutriant values are. for example

@monsieurtanuki
Copy link
Contributor

That would mean ordering by only one nutrient, and then you click on each "top 10" product for more details, right?
In that case do you need the value in nutrient in the list, or just ordered products you can click on is enough?

@thibaultmol
Copy link
Author

I guess both? Being able to see what the actual value is that it's sort on, on the item itself while in the list view would be nice.
Cause it might jump from 50 to 150 all of a sudden but they're right next to each other. So I might just cut off the list before it jumps to a much bigger value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 💬 To discuss and validate
Development

No branches or pull requests

3 participants