-
Notifications
You must be signed in to change notification settings - Fork 941
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
Make collection id required #1036
Conversation
…src/' <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Make `collectionId` required for `credential` parameters in `WorkflowParameterAddPanel` and `WorkflowParameterEditPanel`, with error handling and toast message updates. > > - **Behavior**: > - Enforce `collectionId` requirement for `credential` type in `WorkflowParameterAddPanel` and `WorkflowParameterEditPanel`. > - Display error toast if `collectionId` is missing when saving. > - **UI**: > - Update toast titles from "Failed to save parameters" to "Failed to add parameter" or "Failed to save parameter" for consistency. > > <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 a1c03cfd87dc5f0dbeacf0ca66f05cd3c32c4d17. 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! Reviewed everything up to 7b97d1d in 9 seconds
More details
- Looked at
75
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterAddPanel.tsx:208
- Draft comment:
The toast title was updated correctly here. Ensure similar updates are made in other relevant places for consistency. - Reason this comment was not posted:
Confidence changes required:50%
The PR description mentions updating toast titles for consistency. The title for the 'credential' type in the WorkflowParameterEditPanel was updated correctly, but the WorkflowParameterAddPanel also needed this update.
2. skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterAddPanel.tsx:234
- Draft comment:
The toast title was updated correctly here. Ensure similar updates are made in other relevant places for consistency. - Reason this comment was not posted:
Confidence changes required:50%
The PR description mentions updating toast titles for consistency. The title for the 'credential' type in the WorkflowParameterEditPanel was updated correctly, but the WorkflowParameterAddPanel also needed this update.
Workflow ID: wflow_TwYD6sXIgbz3jY6G
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 7b97d1d in 10 seconds
More details
- Looked at
75
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterAddPanel.tsx:250
- Draft comment:
The toast title for the 'context' type should be updated to "Failed to add parameter" for consistency with other types. - Reason this comment was not posted:
Confidence changes required:50%
The PR description mentions updating toast titles for consistency. The changes in the code reflect this update, but there is a minor inconsistency in the toast title for the 'context' type in the WorkflowParameterAddPanel. It should be updated for consistency.
2. skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx:283
- Draft comment:
The toast title for the 'context' type should be updated to "Failed to save parameter" for consistency with other types. - Reason this comment was not posted:
Confidence changes required:50%
The PR description mentions updating toast titles for consistency. The changes in the code reflect this update, but there is a minor inconsistency in the toast title for the 'context' type in the WorkflowParameterEditPanel. It should be updated for consistency.
Workflow ID: wflow_anludPRrSB8jiYSr
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Enforce
collectionId
requirement forcredential
parameters inWorkflowParameterAddPanel
andWorkflowParameterEditPanel
, with updated error handling and toast messages.collectionId
requirement forcredential
type inWorkflowParameterAddPanel
andWorkflowParameterEditPanel
.collectionId
is missing when saving.This description was created by
for 7b97d1d. It will automatically update as commits are pushed.