diff options
author | Luke Bennett <lbennett@gitlab.com> | 2018-11-07 19:44:21 +0300 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-02-13 03:17:52 +0300 |
commit | af989df0ec0c15f269071080ab08417e688dabf7 (patch) | |
tree | 53096af07d17412dc38b70327e69433b965504dd /app/assets/javascripts/pages/import/github/status/index.js | |
parent | 534a61179e2d0d7f9f376af1d01ed536e27f5b6d (diff) |
Improve the GitHub and Gitea import feature table interface
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.
Diffstat (limited to 'app/assets/javascripts/pages/import/github/status/index.js')
-rw-r--r-- | app/assets/javascripts/pages/import/github/status/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/import/github/status/index.js b/app/assets/javascripts/pages/import/github/status/index.js new file mode 100644 index 00000000000..dcd84f0faf9 --- /dev/null +++ b/app/assets/javascripts/pages/import/github/status/index.js @@ -0,0 +1,7 @@ +import mountImportProjectsTable from '~/import_projects'; + +document.addEventListener('DOMContentLoaded', () => { + const mountElement = document.getElementById('import-projects-mount-element'); + + mountImportProjectsTable(mountElement); +}); |