-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix whitespace bug for SendEmailBlock #922
Conversation
…src/' <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Fixes whitespace bug in `getWorkflowBlock()` in `workflowEditorUtils.ts` by trimming whitespace from `file_attachments` and `recipients` fields for `send_email` blocks. > > - **Behavior**: > - Fixes whitespace bug in `getWorkflowBlock()` in `workflowEditorUtils.ts` by trimming whitespace from `file_attachments` and `recipients` fields for `send_email` blocks. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 730fe7d03c3b36accfb8eecf9934ded7f61ef61a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on e4b14dc in 8 seconds
More details
- Looked at
15
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts:511
- Draft comment:
Trimming whitespace from 'file_attachments' and 'recipients' is a good practice to ensure data consistency. - Reason this comment was not posted:
Confidence changes required:0%
The PR correctly trims whitespace from the 'file_attachments' and 'recipients' fields in the 'send_email' block. This is a good practice to ensure data consistency and prevent errors due to unexpected whitespace.
Workflow ID: wflow_4Fb9sGkw3fwxTowE
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to e4b14dc in 8 seconds
More details
- Looked at
15
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts:511
- Draft comment:
Trimming whitespace fromfile_attachments
andrecipients
is a good practice to ensure data consistency and prevent errors due to unexpected whitespace. - Reason this comment was not posted:
Confidence changes required:0%
The PR correctly trims whitespace from thefile_attachments
andrecipients
fields in thegetWorkflowBlock
function. This change is consistent with the PR description and addresses the whitespace bug.
Workflow ID: wflow_EbZ5qBGqVjylLFgG
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 75d5a63 in 8 seconds
More details
- Looked at
19
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts:511
- Draft comment:
Consider improving code readability by aligning the chained methods forfile_attachments
andrecipients
. - Reason this comment was not posted:
Confidence changes required:33%
The PR description indicates a fix for whitespace handling ingetWorkflowBlock()
forsend_email
blocks. The changes made are correct and improve the robustness of the code by trimming whitespace fromfile_attachments
andrecipients
. However, the formatting of the code can be improved for better readability.
Workflow ID: wflow_ceuYTmrneeO4wwGr
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Fixes whitespace handling in
getWorkflowBlock()
forsend_email
blocks by trimming whitespace fromfile_attachments
andrecipients
fields.getWorkflowBlock()
inworkflowEditorUtils.ts
by trimming whitespace fromfile_attachments
andrecipients
fields forsend_email
blocks.This description was created by for 75d5a63. It will automatically update as commits are pushed.