-
Notifications
You must be signed in to change notification settings - Fork 355
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON import/export #541
Comments
@dkozar I was envisioning a true file upload instead of a string dump |
File uploads and downloads are mostly already implemented. The upload have been sitting here for a long time now (since when we planned custom case counts upload and comparison): One just needs to implement a cohesive UX around it. |
Hello, I'm new to open source contributions but was hoping to help out with this issue. I was thinking of implementing the UX as follows:
Does this make sense or am I not understanding the feature correctly? Thank you! |
@shijurodhaz This is correct, yes, with a few additions:
I will review and merge #490 tomorrow. But the UI part is not going to be the hard one. It is mostly about getting all pieces of data correctly in all cases between export and import. As a robustness chack: user should be able to import-export the same data in a loop and not loose any data and not produce any errors, no matter how many loop iterations are there. |
@ivan-aksamentov Since issue #397 is related to this one and is still open, I could try tackling that one first and maybe return to this later. |
@shijurodhaz The #397 was solved in #490 . Sorry for not making it clear. Feel free to explore our other issues if you have time |
Sure, I'll try to check the other issues out. Thank you. |
@ivan-aksamentov I'm modifying FileUploadZone.tsx in #381 for the case count import. I'm adding more features, like the accepted file extensions, error handling and some styling. I think it's mergeable now, even if the UI is not perfect (I can improve it afterwards). |
@whiver Thanks. We did not plan to merge it before we release 1.2. I guess we can resolve any conflicts afterwards. |
Resolved in #635 |
馃檵 Feature Request
@nnoll suggested the feature in #490 (comment)
馃槸 Describe the feature
Project parameters should be able to be exported as JSON, and then imported back. This should bring back the original state.
I'd like the UX to propose solution for the UI.
馃捇 Examples
We already offer a JSON parameters download as a file. Which means we need to add the upload.
Here's an example of how the JSON import/export is usually implemented (link to the app here):
@nnoll please is this what we want, or we want to build a JSON file upload?
Related
The text was updated successfully, but these errors were encountered: