-
-
Notifications
You must be signed in to change notification settings - Fork 150
Feature/batch info provider import #982
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
base: master
Are you sure you want to change the base?
Feature/batch info provider import #982
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #982 +/- ##
============================================
+ Coverage 59.83% 61.35% +1.51%
- Complexity 6050 6326 +276
============================================
Files 529 542 +13
Lines 20625 21730 +1105
============================================
+ Hits 12341 13332 +991
- Misses 8284 8398 +114 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Here is description of excel functionality pull report
|
…import jobs to junction table and implement filtering based on bulk import jobs status and its associated parts' statuses.
Do not merge yet, there is a bug when user doesn't check prefetch and it still fetches info, causing timeout on larger sets. |
Hey @jbtronics any clue when this could be merged/rejected? Otherwise we will need to continue on our own fork, not providing any contributions here anymore. |
I will try to release the V2 version in the next few days, it's basically only missing some documentation. Then I can review and merge the PRs. As some base stuff changed, it will probably be easier to merge the PRs into the V2 changes than the other way around.... |
I have started reviewing the PR. I have rebased it on the master branch with v2. As i wasn't sure if I am allowed to force push and overwrite your branch (or if you are using it for something else), there is now a branch with the same name in the main repo. If you have no problem with the force push, just say it, and i will do it (makes some PR features a bit easier i think). I really like the feature, its nicely done in the WebUI. I am not finished with the review, but some remarks so far:
|
You may force push, I have my fork just to contribute, I have no plans to have own features on it.
|
I would say that the batch search will just work like the single searches and search for a keyword. What the provider does with that is, is the choice of the provider (and will be limited by the API). Maybe one can pass an optional argument to demark what kind of information this is, to give the provider a hint. That could also be useful to have on the single search
Thats why I would implement it as on seperate interface. If it can be useful done for an provider (and somebody wants to implement it for an interface), then the batch methods will be used, otherwise not (and they do not exist on the provider then). It would probably be the easiest if you could rewrite the controller to the more generic system of bulk info providers. I tried it yesterday and saw no easy way to do so, and would probably need more time to understand how the current code works... |
Works in the following way:
Note: I have by a mistake continued to work right on top of my other addition (excel support), so it would be best to first finish that or maybe even discard it and do everything here.