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

Feature #710: View deleted Entities and restore Entities #1119

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sadiqkhoja
Copy link
Contributor

@sadiqkhoja sadiqkhoja commented Dec 31, 2024

Closes getodk/central#710

What has been done to verify that this works as intended?

Added tests and verified manually.

Why is this the best possible solution? Were any other approaches considered?

Followed the existing code pattern.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

None.

Does this change require updates to user documentation? If so, please file an issue here and include the link below.

Added in getodk/docs#1896

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

@sadiqkhoja sadiqkhoja force-pushed the features/710-delete-restore-entities branch from 747d373 to 4f18ade Compare December 31, 2024 22:39
@sadiqkhoja
Copy link
Contributor Author

Verify that duplicate UUID error is handled correctly in bulk Entities upload

@sadiqkhoja sadiqkhoja force-pushed the features/710-delete-restore-entities branch from 4f18ade to bbbcc71 Compare January 6, 2025 20:14
if (this.confirmDelete) {
this.uuidToDelete = entity.__id;
this.del.show({ label: entity.label });
this.deleteModal.show({ entity });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Passing whole entity object to make it consistent with restore and Submissions deleted/restore

@sadiqkhoja sadiqkhoja force-pushed the features/710-delete-restore-entities branch from bbbcc71 to 2d3dd3b Compare January 8, 2025 19:29
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.

Add remaining functionality for entity deletion
1 participant