-
Notifications
You must be signed in to change notification settings - Fork 1
Path
cybai edited this page May 13, 2017
·
2 revisions
- Init status with
loading
- Create
loadingProgressBar
component - Computed
cloneDestinationImplicit
with address parser - When using the
path
component, it will executeshown
method and theupdateStatus
method at the first time. Then, it will send a request to/quickstatus
to get the current status.
Attribute Name | Default Value |
---|---|
repoPath | path (passed from parent component) |
status | false |
cloneUrl | x |
cloneDestination | x |
repository | x |
┌-----------------------------------#path----------------------------------------┓
| |
| ┌--------------------------#loadingProgressBar-------------------------------┓ |
| | :status == 'loading' | |
| ┖----------------------------------------------------------------------------┚ |
| ┌--------------------------#cloningProgressBar-------------------------------┓ |
| | :status == 'cloning' | |
| ┖----------------------------------------------------------------------------┚ |
| ┌----------------------------------DIV---------------------------------------┓ |
| | :status == 'uninited' | |
| ┖----------------------------------------------------------------------------┚ |
| ┌----------------------------------DIV---------------------------------------┓ |
| | :status == 'no-such-path' | |
| ┖----------------------------------------------------------------------------┚ |
| ┌------------------------------#repository-----------------------------------┓ |
| | :repository | |
| ┖----------------------------------------------------------------------------┚ |
┖--------------------------------------------------------------------------------┚