Part of getodk/central#589. Adds a first version of the upload modal. The Upload button is conditionally rendered based on the user's verbs. The button shows the modal, which allows the user to download a data template. The modal sends a request to the bulk-create endpoint (with an empty entities array).
What has been done to verify that this works as intended?
New tests and trying it locally.
Before submitting this PR, please make sure you have:
[x] run npm run test and npm run lint and confirmed all checks still pass OR confirm CircleCI build passes
[x] verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced
Part of getodk/central#589. Adds a first version of the upload modal. The Upload button is conditionally rendered based on the user's verbs. The button shows the modal, which allows the user to download a data template. The modal sends a request to the bulk-create endpoint (with an empty
entities
array).What has been done to verify that this works as intended?
New tests and trying it locally.
Before submitting this PR, please make sure you have:
npm run test
andnpm run lint
and confirmed all checks still pass OR confirm CircleCI build passes