Agent - fix edit step (#6010)

* made all jobs get focus and keyboard friendly

* added tooltip for steps image

* made operator dialog accessible

* change job name as soon as job name changes in text box
This commit is contained in:
Aditya Bist
2019-06-13 14:08:58 -07:00
committed by GitHub
parent 248f2f5071
commit a566fa9728
2 changed files with 4 additions and 1 deletions

View File

@@ -169,6 +169,9 @@ export class JobDialog extends AgentDialog<JobData> {
this.nameTextBox.onTextChanged(() => { this.nameTextBox.onTextChanged(() => {
if (this.nameTextBox.value && this.nameTextBox.value.length > 0) { if (this.nameTextBox.value && this.nameTextBox.value.length > 0) {
this.dialog.message = null; this.dialog.message = null;
// Change the job name immediately since steps
// depends on the job name
this.model.name = this.nameTextBox.value;
} }
}); });
this.ownerTextBox = view.modelBuilder.inputBox().component(); this.ownerTextBox = view.modelBuilder.inputBox().component();

View File

@@ -6,7 +6,7 @@
--> -->
<div class="steps-header"> <div class="steps-header">
<div class="steps-icon"></div> <div class="steps-icon" title="Steps"></div>
<h1 style="display: inline">Steps</h1> <h1 style="display: inline">Steps</h1>
</div> </div>
<div class='steps-tree' style="flex: 1 1 auto; position: relative"> <div class='steps-tree' style="flex: 1 1 auto; position: relative">