Add cancel functionality to Import history and project view pages
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=387473) </details> <!--IssueSummary end--> ### Problem Cancelling import of projects that are pending or in progress has been implemented in https://gitlab.com/gitlab-org/gitlab/-/issues/364783+ and https://gitlab.com/gitlab-org/gitlab/-/issues/247325+. [Comment](https://gitlab.com/gitlab-org/gitlab/-/issues/247325#note_991372298) points attention to other places the cancel functionality could be added: - Import history page includes currently running imports as well. - If you navigate to a project when it is importing a page is displayed (project view page). ### Proposed solution We could embed cancel functionality on those pages as well.
issue