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)
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 createrock-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