GitHub import: status of import for each relation-type tab (API)
Description
This is the part of Provide a better way to filter GitHub repositories by organization / collaborators / etc..
This particular one is about providing status of each tab on this page - owned, collaborated, organization.
Proposed solution
Currently we fetch all the repos that we started to import/imported/failed_import into one single list in response. That means that this list also contains repositories for all tabs. I propose to keep it as it is to make it possible to show the status of the tab that is not currently selected. So, all we need is to add one more field to response that will tell frontend is it owned/collaborated/organization repository. To calc this value we need to match GitHub user login, organization logins with each specific repository import_source. If it doesn't match GitHub user login and any organization login then it's a collaborated repository. Also most likely that we need to cover all of this functionality by some feature flag.