Skip to content
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

Add first version of entities upload modal #941

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Conversation

matthew-white
Copy link
Member

@matthew-white matthew-white commented Feb 20, 2024

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:

  • run npm run test and npm run lint and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

@matthew-white matthew-white requested a review from ktuite February 20, 2024 20:27
Copy link
Member Author

@matthew-white matthew-white left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notes from interactive review

@matthew-white matthew-white merged commit 2db3345 into master Feb 22, 2024
1 check passed
@matthew-white matthew-white deleted the entity-upload branch February 22, 2024 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants