af989df0ec
These are frontend changes. Use Vue for the import feature UI for "githubish" providers (GitHub and Gitea). Add "Go to project" button after a successful import. Use CI-style status icons and improve spacing of the table and its component. Adds ETag polling to the github and gitea import jobs endpoint.
9 lines
655 B
Text
9 lines
655 B
Text
- provider = local_assigns.fetch(:provider)
|
|
- provider_title = Gitlab::ImportSources.title(provider)
|
|
|
|
#import-projects-mount-element{ data: { provider: provider, provider_title: provider_title,
|
|
can_select_namespace: current_user.can_select_namespace?.to_s,
|
|
ci_cd_only: has_ci_cd_only_params?.to_s,
|
|
repos_path: url_for([:status, :import, provider, format: :json]),
|
|
jobs_path: url_for([:realtime_changes, :import, provider, format: :json]),
|
|
import_path: url_for([:import, provider, format: :json]) } }
|