Rename workflow text block to content

This commit is contained in:
Jože Fortun
2024-06-12 16:08:57 +02:00
parent 2a3820fc5a
commit 36dbf0b4e5
11 changed files with 19 additions and 19 deletions
@@ -1,5 +1,5 @@
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
width="100"
height="100"
version="1.1"

Before

Width:  |  Height:  |  Size: 146 B

After

Width:  |  Height:  |  Size: 145 B

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 594 B

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 594 B

@@ -3,7 +3,7 @@
class="d-flex flex-column"
>
<b-card
v-if="kind !== 'Text'"
v-if="kind !== 'Content'"
class="flex-grow-1 border-bottom border-light rounded-0"
>
<b-card-header
@@ -76,8 +76,8 @@ export default {
return 'ErrorHandler'
}
if (kind === 'visual' && ref === 'text') {
return 'Text'
if (kind === 'visual' && ref === 'content') {
return 'Content'
}
if (kind) {
@@ -10,4 +10,4 @@ export { default as Prompt } from './Prompt'
export { default as Delay } from './Delay'
export { default as ExecWorkflow } from './ExecWorkflow'
export { default as ErrorHandler } from './ErrorHandler'
export { default as Text } from './Text'
export { default as Content } from './Content'
+1 -1
View File
@@ -74,7 +74,7 @@ export default {
{ action: this.$t('help:keyboard-shortcuts.action.paste'), shortcut: 'Ctrl + V' },
{ action: this.$t('help:keyboard-shortcuts.action.save'), shortcut: 'Ctrl + S' },
{ action: this.$t('help:keyboard-shortcuts.action.nudge'), shortcut: `${this.$t('help:keyboard-shortcuts.shortcut.arrow-keys')} Shift ${this.$t('help:keyboard-shortcuts.shortcut.adjust-distance')}` },
{ action: this.$t('help:keyboard-shortcuts.action.show-guides'), shortcut: `${this.$t('help:keyboard-shortcuts.shortcut.hold')} Alt` },
{ action: this.$t('help:keyboard-shortcuts.action.hide-guides'), shortcut: `${this.$t('help:keyboard-shortcuts.shortcut.hold')} Alt` },
{ action: this.$t('help:keyboard-shortcuts.action.show-help'), shortcut: 'Shift + ?' },
],
}
+6 -6
View File
@@ -136,11 +136,11 @@ const kindToStyle = {
style: 'debug',
},
visualText: {
visualContent: {
width: 400,
height: 250,
icon: 'text',
style: 'text',
height: 240,
icon: 'content',
style: 'content',
},
}
@@ -174,8 +174,8 @@ export function getKindFromStyle (vertex) {
}
} else if (kind === 'swimlane') {
return { kind: 'visual', ref: 'swimlane' }
} else if (kind === 'text') {
return { kind: 'visual', ref: 'text' }
} else if (kind === 'content') {
return { kind: 'visual', ref: 'content' }
} else {
return { kind }
}
+1 -1
View File
@@ -5,7 +5,7 @@ export default [
},
{
kind: 'visual',
ref: 'text',
ref: 'content',
},
{
kind: 'hr',
+2 -2
View File
@@ -6,7 +6,7 @@
'select-multiple': Select multiple
'zoom-in/out': Zoom in/out
shortcut:
'left-click':
'left-click':
background: Left click on background
drag: Left click & drag
label: Left click
@@ -23,7 +23,7 @@
paste: Paste
redo: Redo
save: Save
'show-guides': Show guides
'hide-guides': Hide guides
'show-help': Show help
'reset-view-to-start-point': Reset view to starting point
'select-all': Select all
+4 -4
View File
@@ -109,7 +109,7 @@ trigger:
tooltip: Trigger the workflow execution based on configuration
tooltip:
configure-step: Configure step
text:
label: Text
short: Text
tooltip: Text block used for annotations
content:
label: Content
short: Content
tooltip: Content block used for text annotations