mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
Rename run workflow button to write (#10568)
Request from Product team to not have a run button. Renaming it to write
This commit is contained in:
parent
418a6b5372
commit
cd1d61710f
@ -14,7 +14,7 @@
|
||||
- [Numeric Widget does not accept non-numeric input][10457]. This is to prevent
|
||||
node being completely altered by accidental code put to the widget.
|
||||
- [Redesigned "record control" panel][10509]. Now it contains more intuitive
|
||||
"refresh" and "run workflow" buttons.
|
||||
"refresh" and "write all" buttons.
|
||||
- [Warning messages do not obscure visualization buttons][10546].
|
||||
|
||||
[10433]: https://github.com/enso-org/enso/pull/10443
|
||||
|
@ -92,7 +92,7 @@ function readableBinding(binding: keyof (typeof graphBindings)['bindings']) {
|
||||
icon="record"
|
||||
class="slot7 record"
|
||||
data-testid="toggleRecord"
|
||||
title="Record"
|
||||
title="Write Always"
|
||||
:modelValue="props.isRecordingOverridden"
|
||||
@update:modelValue="emit('update:isRecordingOverridden', $event)"
|
||||
/>
|
||||
|
@ -18,7 +18,7 @@ const project = useProjectStore()
|
||||
</div>
|
||||
<div class="control right-end">
|
||||
<SvgButton
|
||||
title="Run Workflow"
|
||||
title="Write All"
|
||||
class="iconButton"
|
||||
name="workflow_play"
|
||||
draggable="false"
|
||||
|
@ -121,7 +121,7 @@ type File
|
||||
temp.delete_if_exists
|
||||
|
||||
## Attach a warning to the file that it is a dry run
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run has occurred, with data written to a temporary file. Press the Run Workflow button ▶ to write the actual file."
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run has occurred, with data written to a temporary file. Press the Write button ▶ to write the actual file."
|
||||
Warning.attach warning temp
|
||||
|
||||
## ALIAS current directory
|
||||
|
@ -51,7 +51,7 @@ create_table_implementation connection table_name structure primary_key temporar
|
||||
internal_create_table_structure connection effective_table_name structure primary_key effective_temporary on_problems
|
||||
if dry_run.not then connection.query (SQL_Query.Table_Name created_table_name) else
|
||||
created_table = connection.base_connection.internal_allocate_dry_run_table created_table_name
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run of `create_table` has occurred, creating a temporary table ("+created_table_name.pretty+"). Run Workflow button ▶ to create the actual one."
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run of `create_table` has occurred, creating a temporary table ("+created_table_name.pretty+"). Press the Write button ▶ to create the actual one."
|
||||
Warning.attach warning created_table
|
||||
|
||||
## PRIVATE
|
||||
@ -118,7 +118,7 @@ select_into_table_implementation source_table connection table_name primary_key
|
||||
connection.drop_table tmp_table_name if_exists=True
|
||||
internal_upload_table source_table connection tmp_table_name primary_key temporary=True on_problems=on_problems row_limit=dry_run_row_limit
|
||||
temporary_table = connection.base_connection.internal_allocate_dry_run_table table.name
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run of `select_into_database_table` was performed - a temporary table ("+tmp_table_name+") was created, containing a sample of the data. Run Workflow button ▶ to write to the actual table."
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run of `select_into_database_table` was performed - a temporary table ("+tmp_table_name+") was created, containing a sample of the data. Press the Write button ▶ to write to the actual table."
|
||||
Warning.attach warning temporary_table
|
||||
|
||||
## PRIVATE
|
||||
@ -345,7 +345,7 @@ common_update_table (source_table : DB_Table | Table) (target_table : DB_Table)
|
||||
above fails, the whole transaction will be rolled back.
|
||||
connection.drop_table tmp_table.name
|
||||
if dry_run.not then resulting_table else
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run of `update_rows` was performed - the target table has been returned unchanged. Press the Run Workflow button ▶ to update the actual table."
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run of `update_rows` was performed - the target table has been returned unchanged. Press the Write button ▶ to update the actual table."
|
||||
Warning.attach warning resulting_table
|
||||
|
||||
## PRIVATE
|
||||
@ -551,7 +551,7 @@ common_delete_rows target_table key_values_to_delete key_columns allow_duplicate
|
||||
source.drop_temporary_table connection
|
||||
if dry_run.not then affected_row_count else
|
||||
suffix = source.dry_run_message_suffix
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run of `delete_rows` was performed - the target table has not been changed. Press the Run Workflow button ▶ to update the actual table."+suffix
|
||||
warning = Dry_Run_Operation.Warning "Only a dry run of `delete_rows` was performed - the target table has not been changed. Press the Write button ▶ to update the actual table."+suffix
|
||||
Warning.attach warning affected_row_count
|
||||
|
||||
## PRIVATE
|
||||
|
Loading…
Reference in New Issue
Block a user