-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add detailed status for commands
- [x] build status - [x] server status - [x] test status
- Loading branch information
Showing
49 changed files
with
2,574 additions
and
951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 27 additions & 10 deletions
37
libs/feature-extensions/src/lib/extension/extension.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,28 @@ | ||
<ui-task-runner *ngIf="extension$ | async as extension" terminalWindowTitle="Task output"> | ||
<div class="ui-flags"> | ||
<div class="name"> | ||
{{ extension.name }} | ||
<ng-container *ngIf="extension$ | async as extension"> | ||
<ng-template [ngIf]="!extension.installed" [ngIfElse]="alreadyInstalled"> | ||
<ui-task-runner terminalWindowTitle="Task output"> | ||
<div class="ui-flags"> | ||
<ng-container *ngTemplateOutlet="alreadyInstalled"></ng-container> | ||
</div> | ||
<ui-command-output | ||
[emptyTemplate]="emptyMessage" | ||
[command]="command$ | async" | ||
[commandResponse]="commandOutput$ | async"> | ||
</ui-command-output> | ||
</ui-task-runner> | ||
</ng-template> | ||
<ng-template #emptyMessage> | ||
Click the Add button to install this extension. | ||
|
||
</ng-template> | ||
<ng-template #alreadyInstalled> | ||
<div class="ui-flags"> | ||
<div class="name"> | ||
{{ extension.name }} | ||
</div> | ||
<div class="description"> | ||
{{ extension.description }} | ||
</div> | ||
</div> | ||
<div class="description"> | ||
{{ extension.description }} | ||
</div> | ||
</div> | ||
<ui-terminal [command]="command$ | async" [outChunk]="(commandOutput$|async)?.outChunk"></ui-terminal> | ||
</ui-task-runner> | ||
</ng-template> | ||
</ng-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
libs/feature-generate/src/lib/schematic/schematic.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
<ui-task-runner *ngIf="schematic$ | async as schematic" [terminalWindowTitle]="schematic.collection + ' - ' + schematic.name"> | ||
<ui-flags [prefix]="getPrefix(schematic)" [fields]="schematic.schema" (value)="onFlagsChange($event)" | ||
[init]="initValues$ | async" [path]="path()"></ui-flags> | ||
<ui-terminal [command]="command$|async" [outChunk]="(combinedOutput$|async)?.outChunk"></ui-terminal> | ||
<ui-command-output [command]="command$|async" | ||
[commandResponse]="combinedOutput$ | async" | ||
[emptyTemplate]="emptyMessage"> | ||
|
||
</ui-command-output> | ||
</ui-task-runner> | ||
<ng-template #emptyMessage> | ||
<ng-container *ngIf="!(ngGenDisabled$ | async); else invalidFlags"> | ||
Click the Generate button to start this task. | ||
</ng-container> | ||
</ng-template> | ||
<ng-template #invalidFlags> | ||
Command is missing required fields. | ||
</ng-template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<ui-task-runner *ngIf="script$ | async as script" terminalWindowTitle="Task output"> | ||
<ui-flags [fields]="script.schema" [prefix]="['run', script.name]" | ||
(value)="onFlagsChange($event)" (action)="onRun()" [path]="path()"></ui-flags> | ||
<ui-terminal [command]="command$ | async" [outChunk]="(commandOutput$|async)?.outChunk"></ui-terminal> | ||
<ui-command-output [command]="command$ | async" | ||
[commandResponse]="commandOutput$ | async" | ||
[emptyTemplate]="emptyMessage"> | ||
</ui-command-output> | ||
</ui-task-runner> | ||
<ng-template #emptyMessage> | ||
Click the Run button to start this task. | ||
</ng-template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<ui-task-runner *ngIf="project$ | async as project" terminalWindowTitle="Task output"> | ||
<ui-flags [configurations]="project.architect[0].configurations" [prefix]="[project.architect[0].name, project.name]" [fields]="project.architect[0].schema" | ||
(value)="onFlagsChange($event)" (action)="onRun()" [path]="path()"></ui-flags> | ||
<ui-terminal [command]="command$ | async" [outChunk]="(commandOutput$|async)?.outChunk" #output></ui-terminal> | ||
(value)="onFlagsChange($event)" (action)="onRun()" [path]="path()"></ui-flags> | ||
<ui-command-output [command]="command$ | async" | ||
[commandResponse]="commandOutput$ | async" | ||
[emptyTemplate]="emptyMessage"> | ||
</ui-command-output> | ||
</ui-task-runner> | ||
<ng-template #emptyMessage> | ||
Click the Run button to start this task. | ||
</ng-template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.