Factorize mod schema
There is a lot of code duplication for each changes that need a full sync. I factorize it.
Furthermore, I discovered that the app did not ask the user to confirm whether they want to confirm something when they need to confirm they want a full sync. I changed it so that it asks to confirm both.
Actually, asking for confirmation before asking the user to enter a name for a field would make sens too.
Codecov Report
Merging #7965 (bd7b996) into master (b417a22) will increase coverage by
0.07%. The diff coverage is29.54%.
@@ Coverage Diff @@
## master #7965 +/- ##
============================================
+ Coverage 36.78% 36.85% +0.07%
- Complexity 3677 3680 +3
============================================
Files 339 339
Lines 35512 35431 -81
Branches 4714 4715 +1
============================================
- Hits 13063 13059 -4
+ Misses 20950 20873 -77
Partials 1499 1499
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update b417a22...bd7b996. Read the comment docs.
I'll take a look to figure out how to test activities when I'm done with templates
Hello 👋, this PR has been opened for more than 2 months with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically
This was clearly not meant to be closed. I understand it need more tests, and I need to understand how to test activities. But avoiding code duplication is still very relevant
@david-allison-1 If I removed the cases where you have doubt and did a PR containing only the cases that are easy to check for NF, would you accept it?
Definitely
I removed the elements where you added comment. We should first commit #8390 and #8391
@Arthur-Milchior Would you be happy to close this?
Now we're in Kotlin this can be done in a much nicer manner.
Hello 👋, this PR has had no activity for more than 2 weeks and needs a reply from the author. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically