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

Hide the search env switcher by default #5855

Open
g123k opened this issue Nov 14, 2024 · 3 comments
Open

Hide the search env switcher by default #5855

g123k opened this issue Nov 14, 2024 · 3 comments

Comments

@g123k
Copy link
Collaborator

g123k commented Nov 14, 2024

Hi everyone!

For the next release of the app, we still want to keep some parts of the OxF integration (with the scanner for example), but we're not ready to promote it yet.

That's why we want to hide the OxF switcher from search:
Image

However, hiding doesn't mean removing it all.
In the preferences, the idea is to add a switch to hide/show the swicher (default value: invisible).

@monsieurtanuki
Copy link
Contributor

That goes beyond hiding those radio buttons: barcode search are performed on all OxF.

@g123k
Copy link
Collaborator Author

g123k commented Nov 15, 2024

That goes beyond hiding those radio buttons: barcode search are performed on all OxF.

We will keep barcode search because @stephanegigandet will provide a unified API next week.
The idea is that we don't want to explicitly show that OxF is in the app, but if you scan something, it will be a surprise.

@monsieurtanuki
Copy link
Contributor

The side-effect may be to consider all products as food, cf. dao_product.dart.
Which isn't the goal, I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants