-
Notifications
You must be signed in to change notification settings - Fork 811
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
Add URL to action block #1292
Add URL to action block #1292
Conversation
…src/' <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Adds a URL input field to `ActionNode` in `ActionNode.tsx`, allowing users to specify a navigation URL with an explanatory tooltip. > > - **Behavior**: > - Adds a URL input field to `ActionNode` in `ActionNode.tsx`. > - URL field is editable and updates node data via `handleChange()`. > - Tooltip added for URL field explaining its purpose. > - **UI**: > - Adds `AutoResizingTextarea` for URL input with placeholder from `commonFieldPlaceholders`. > > <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 b188fc9398adbd9bfe94da821dde96b2cf02811f. 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 562a947 in 27 seconds
More details
- Looked at
80
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_ZNCBg52MtMvp4zjk
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.
❌ Changes requested. Reviewed everything up to 562a947 in 1 minute and 27 seconds
More details
- Looked at
80
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/nodes/ActionNode/ActionNode.tsx:99
- Draft comment:
Consider adding a type check forvalue
inhandleChange
to ensure it matches the expected type for each key, preventing potential runtime errors. - Reason this comment was not posted:
Confidence changes required:50%
ThehandleChange
function is used multiple times to update state and node data. It is important to ensure that theeditable
check is consistently applied to prevent unintended updates when the node is not editable.
Workflow ID: wflow_jTl67OFc8dF0ekFU
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
@@ -26,6 +26,8 @@ import { | |||
commonHelpTooltipContent, | |||
} from "../../constants"; | |||
|
|||
const urlTooltip = |
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.
Consider extracting this tooltip text to a shared constant since it's identical to the one in NavigationNode.
- constant
urlTooltip
(NavigationNode.tsx)
Important
Adds an editable URL input field with a tooltip to
ActionNode
inActionNode.tsx
.ActionNode
inActionNode.tsx
.handleChange()
.AutoResizingTextarea
for URL input with placeholder fromcommonFieldPlaceholders
.This description was created by for 562a947. It will automatically update as commits are pushed.