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

Fix editing in allergens alert screen (closes #4133) #4215

Merged
merged 1 commit into from Sep 19, 2021

Conversation

naivekook
Copy link
Contributor

@naivekook naivekook commented Sep 3, 2021

@naivekook naivekook added the allergens Relating to allergen display or detection in food products label Sep 3, 2021
@sonarcloud
Copy link

sonarcloud bot commented Sep 3, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@teolemon teolemon changed the title Fix editing in allergens alert screen Fix editing in allergens alert screen (closes #4133) Sep 3, 2021
@teolemon teolemon linked an issue Sep 3, 2021 that may be closed by this pull request
@teolemon
Copy link
Member

teolemon commented Sep 3, 2021

@naivekook
Copy link
Contributor Author

@teolemon don't think so, looks like 4120 is about database migration

@VaiTon
Copy link
Member

VaiTon commented Sep 5, 2021

@naivekook what do you think about moving data to a new ViewModel?

@naivekook
Copy link
Contributor Author

@VaiTon my intention was just to fix the issue in this PR
But I'm all for moving the logic to viewmodel

@VaiTon
Copy link
Member

VaiTon commented Sep 6, 2021

@naivekook would you prefer that we first merge this or that we merge the viewmodel version?

@naivekook
Copy link
Contributor Author

naivekook commented Sep 6, 2021

@VaiTon sounds good, let's merge this one and next PR will be with refactoring

@VaiTon VaiTon merged commit 9ae13b6 into openfoodfacts:develop Sep 19, 2021
@naivekook naivekook deleted the vt/fix-allergen-alert branch September 19, 2021 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allergens Relating to allergen display or detection in food products
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I shouldn't be able to select none as an allergen (Regression)
3 participants