Closed wjsoft08 closed 5 years ago
If you are going to change where the progress bar is, I would suggest putting the progress bar in a separate component and then having a % input into in so that it can be reused in multiple places
If you are going to change where the progress bar is, I would suggest putting the progress bar in a separate component and then having a % input into in so that it can be reused in multiple places
I thought about this as well, but can you use an Angular component in a normal HTML file? Or at least call it ?
If you are going to change where the progress bar is, I would suggest putting the progress bar in a separate component and then having a % input into in so that it can be reused in multiple places
I thought about this as well, but can you use an Angular component in a normal HTML file? Or at least call it ?
Yes
Since repo.ts has been refactored in #207, downloadFunc
is no longer used in cloning a repository.
Instead it is done in repository.service.ts
using the downloadRepository
function.
@wjsoft08 maybe you can review the function and make changes to the PR? You probably need a global function to update the progress only in repo.ts.
Also good work, I had a hard time navigating the nodegit docs so I'm sure you had a hard time finding this property.
Since repo.ts has been refactored in #207,
downloadFunc
is no longer used in cloning a repository. Instead it is done inrepository.service.ts
using thedownloadRepository
function.@wjsoft08 maybe you can review the function and make changes to the PR? You probably need a global function to update the progress only in repo.ts.
Also good work, I had a hard time navigating the nodegit docs so I'm sure you had a hard time finding this property.
I have made the change into your new change now @Excale0
This closes #12 When cloning now there is a progress bar when cloning.
To test whether this is working: 1. Fill in your clone URL and desired directory destination then click the Clone button.
2. You should be able to see the progress bar like the screenshot below
3. Finally, check whether the cloning was successful or not by check if the project exists at the directory you selected