Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 65138dd

Browse files
committed
Turn off blur action for dsl text field and update flo
Just turning off the blur action would be bad but the update to flo ensures we pickup a flo change where graph-to-text syncing is turned on once you start interacting with the graph. In this way if you simply switch to a different browser tab and back, the DSL text field will still retain focus and you won't lose some text you have in progress that isn't yet complete. Fixes #423
1 parent 7b6e293 commit 65138dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"ngx-pagination": "3.0.1",
3838
"rxjs": "5.5.2",
3939
"sockjs-client": "1.1.4",
40-
"spring-flo": "git://github.com/spring-projects/spring-flo.git#16d0d3daa74cd19be1b82e17f97ef60c5e792101",
40+
"spring-flo": "git://github.com/spring-projects/spring-flo.git#fdf3b6ffbc9bbf80eb3ad9a125d0f6241cbeb0fc",
4141
"stompjs": "2.3.3",
4242
"tixif-ngx-busy": "0.0.5",
4343
"zone.js": "0.8.18"

ui/src/app/streams/stream-create/stream-create.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<button class="btn" (click)="gridOn = !gridOn"
1111
[ngClass]="{'btn-default-alt': !gridOn, 'btn-default': gridOn}">Grid</button>
1212
<div class="flow-definition-container">
13-
<dsl-editor [(dsl)]="dsl" line-numbers="true" line-wrapping="true" (blur)="editorContext.graphToTextSync=true"
13+
<dsl-editor [(dsl)]="dsl" line-numbers="true" line-wrapping="true"
1414
(focus)="editorContext.graphToTextSync=false" placeholder="Enter stream definition..."
1515
[hintOptions]="hintOptions" [lintOptions]="lintOptions"></dsl-editor>
1616
</div>

0 commit comments

Comments
 (0)