Create a component for Task artifacts
From https://gitlab.com/arkindex/frontend/-/issues/272#note_511971764
- Uses the store:
artifacts: { [task_id]: [ { id: 'artifactid', … }, … ], … }
- Uses a
corpusId
prop instead of theread
prop with thecorporaMixin
to check for read access - Is always displayed, even when there are no artifacts
- Reloads the artifacts list each time it is opened, to avoid having to refresh the page to get some artifacts that just got uploaded and avoid polling yet another endpoint