DoSomething / chompy

:card_index: The DoSomething.org third-party importer.
MIT License
1 stars 0 forks source link

Filter import files by type #203

Closed aaronschachter closed 3 years ago

aaronschachter commented 3 years ago

What's this PR do?

This pull request adds support to pass a type query parameter to the index view of import files, to only view a specific type of import file. e.g. http://chompy.test/import-files?type=mute-promotions.

For now, we need to manually enter the URL -- adding a dropdown into the UI to filter will be for another PR.

How should this be reviewed?

👀

Any background context you want to provide?

This will be helpful for debugging the Mute Promotions import by isolating all mute-promotions import files. We regularly create rock-the-vote import files each hour, which makes it difficult to get a high level view of other import types we support via CSV (mute-promotions, email-subscription)

Relevant tickets

References Pivotal #176771195.

Checklist