-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature/data uploads #33
Conversation
When we have import errors nothing is imported until all errors are resolved. Not sure if that is good behavior @simaob |
In Climate Watch we were inserting the data that got in, and showing the errors, maybe that's a better behaviour? But we'd need to ensure that no duplicates would go in. Btw, I tried to import a non utf-8 file (by mistake actually) and the app crashed, but I just noticed that the PR is still WIP so I can wait until it's ready! |
Well, I'm not sure what could be better, if forcing the user to submit only valid ones wouldn't be better. Maybe we should ask. I will take a look at that UTF-8 hell stuff. |
It's already taking some time to import a couple of hundreds of rows with some associations. Maybe we would need a background job right away. |
OK, maybe we won't be able to escape it. |
PR looks great so far 👍 I have one comment regarding naming/architecture. Right now |
True, I need to do that kind of refactoring here. |
Any refactoring to the data upload could be done in a separate PR I guess. This is the first version. |
0f04725
to
6e2beda
Compare
Bulk upload with keeping the history of uploads