Skip to content

Commit fcd9ea7

Browse files
authored
Modifications to Step Functions Execution view (#986)
Authored-by: Vaib Suri <[email protected]> Lowering the opacity of the placeholder text to ensure it is clear that it is placeholder text, and not actual input. If no input is provided, considering it as undefined instead of an empty string for the state machine execution.
1 parent 080b84e commit fcd9ea7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

media/css/executeStateMachine.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ textarea[readonly] {
1515
background-color: var(--vscode-textCodeBlock-background);
1616
}
1717

18+
::placeholder {
19+
opacity: 0.5;
20+
}
21+
1822
input[type='submit'] {
1923
background-color: var(--vscode-button-background);
2024
border: none;

src/stepFunctions/commands/executeStateMachine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function createMessageReceivedFunc({
105105
)
106106
const startExecResponse = await client.executeStateMachine(
107107
stateMachine.details.stateMachineArn,
108-
message.value
108+
message.value || undefined
109109
)
110110
logger.info('Successfully started execution for Step Functions State Machine')
111111
outputChannel.appendLine(

0 commit comments

Comments
 (0)