Skip to content

Comments

Feature: Delete entity list#1466

Open
sadiqkhoja wants to merge 6 commits intogetodk:features/delete-dataset-and-propertiesfrom
sadiqkhoja:features/deleted-entity-list
Open

Feature: Delete entity list#1466
sadiqkhoja wants to merge 6 commits intogetodk:features/delete-dataset-and-propertiesfrom
sadiqkhoja:features/deleted-entity-list

Conversation

@sadiqkhoja
Copy link
Contributor

@sadiqkhoja sadiqkhoja commented Jan 23, 2026

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/deleted-entity-list branch 5 times, most recently from 1961ad7 to ef22693 Compare January 29, 2026 19:54
@sadiqkhoja sadiqkhoja force-pushed the features/deleted-entity-list branch from ef22693 to 667f844 Compare January 29, 2026 20:00
@sadiqkhoja sadiqkhoja requested a review from ktuite January 29, 2026 20:10
Copy link
Member

@ktuite ktuite left a comment

Choose a reason for hiding this comment

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

Looks good and I've been successfully using it locally as well.

Are there going to be tests for the trash-row and trash-table components? Are those waiting on something?

</i18n-t>
<br>
<span>{{ $t('dependentForms.description[1]') }}</span>&nbsp;
<a href="#">{{ $t('dependentForms.description[2]') }}</a>
Copy link
Member

Choose a reason for hiding this comment

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

"Learn more here" link to be filled in later. I imagine this'll go to some documentation? Or will we fill in some text here that says "update the forms to not write to or use entity lists as attachments, or delete the forms."?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

created getodk/central#1657 to track it.

});
});

describe('dependent forms', () => {
Copy link
Member

Choose a reason for hiding this comment

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

These tests about dependent forms make sense for settings.spec.js but i think the other tests should go in a delete.spec.js file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Comment on lines 50 to 51
// TODO: API might be different for the deleted dataset (SK)
return apiPaths.entities(this.dataset.projectId, this.dataset.id, '.csv');
Copy link
Member

Choose a reason for hiding this comment

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

We decided on /projects/:projectId/trash/datasets/:datasetId/entities.csv, but this means that existing request paths like apiPaths.entities don't fit the pattern.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, I had this in a separate branch 🤦‍♂️

@sadiqkhoja sadiqkhoja force-pushed the features/deleted-entity-list branch 2 times, most recently from 53c71ae to 7ef10c6 Compare February 18, 2026 16:33
@sadiqkhoja sadiqkhoja force-pushed the features/deleted-entity-list branch from 7ef10c6 to 95f8b46 Compare February 18, 2026 16:59
@sadiqkhoja
Copy link
Contributor Author

image

@sadiqkhoja sadiqkhoja requested a review from ktuite February 18, 2026 17:17
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