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

Reinit filter product type with the latest value #5639

Open
monsieurtanuki opened this issue Sep 27, 2024 · 0 comments
Open

Reinit filter product type with the latest value #5639

monsieurtanuki opened this issue Sep 27, 2024 · 0 comments
Labels
good first issue Good for newcomers 🧴 Open Beauty Facts Please see this proposal: https://github.com/openfoodfacts/smooth-app/discussions/1378 🐾 Open Pet Food Facts 📸 Open Products Facts OxF personal search 🔎 Search

Comments

@monsieurtanuki
Copy link
Contributor

Problem

The new product type filter has 4 options (OxF).
It's displayed in the search page.
We don't store the latest selected option of this filter.
Next time we go to the search page, the selected option is always "food", though we can expect the value to be the latest.

Proposed solution

Store the latest selected option in the preferences, and reuse it next time we land on the search page.

Part of

@monsieurtanuki monsieurtanuki added good first issue Good for newcomers personal search 🧴 Open Beauty Facts Please see this proposal: https://github.com/openfoodfacts/smooth-app/discussions/1378 🔎 Search 📸 Open Products Facts 🐾 Open Pet Food Facts OxF labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers 🧴 Open Beauty Facts Please see this proposal: https://github.com/openfoodfacts/smooth-app/discussions/1378 🐾 Open Pet Food Facts 📸 Open Products Facts OxF personal search 🔎 Search
Projects
Status: To do
Status: To do
Status: 💬 To discuss and validate
Status: To Discuss & Validate
Development

No branches or pull requests

1 participant