Skip to content
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

Better represent available types for workflow parameters #1033

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Oct 23, 2024

Important

Add 'integer' type and rename 'number' to 'float' in workflow parameter options in WorkflowParameterAddPanel.tsx and WorkflowParameterEditPanel.tsx.

  • Behavior:
    • Add 'integer' type to workflowParameterTypeOptions in WorkflowParameterAddPanel.tsx and WorkflowParameterEditPanel.tsx.
    • Rename 'number' to 'float' in workflowParameterTypeOptions in both files.

This description was created by Ellipsis for 65465b3. It will automatically update as commits are pushed.

…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Add 'integer' type and rename 'number' to 'float' in workflow parameter options in `WorkflowParameterAddPanel.tsx` and `WorkflowParameterEditPanel.tsx`.
>
>   - **Behavior**:
>     - Add 'integer' type to `workflowParameterTypeOptions` in `WorkflowParameterAddPanel.tsx` and `WorkflowParameterEditPanel.tsx`.
>     - Rename 'number' to 'float' in `workflowParameterTypeOptions` in both files.
>
> <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 aa6b95180bc3ce6d85433504490d5a98c6043fe4. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a 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 65465b3 in 11 seconds

More details
  • Looked at 29 lines of code in 2 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:30
  • Draft comment:
    The change from 'number' to 'float' is correctly implemented here as per the PR description.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The PR description indicates that 'number' should be renamed to 'float'. The code correctly implements this change in both files.
2. skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx:31
  • Draft comment:
    The change from 'number' to 'float' is correctly implemented here as per the PR description.
  • Reason this comment was not posted:
    Confidence changes required: 0%
    The PR description indicates that 'number' should be renamed to 'float'. The code correctly implements this change in both files.

Workflow ID: wflow_yjgx6QfcXb4GWNbF


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a 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 65465b3 in 14 seconds

More details
  • Looked at 29 lines of code in 2 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:30
  • Draft comment:
    Ensure that all references to 'number' in the codebase are updated to 'float' to maintain consistency.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR description indicates that 'number' should be renamed to 'float'. The code changes reflect this correctly. However, I need to ensure that the rest of the codebase uses 'float' instead of 'number' to avoid inconsistencies.
2. skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx:31
  • Draft comment:
    Ensure that all references to 'number' in the codebase are updated to 'float' to maintain consistency.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR description indicates that 'number' should be renamed to 'float'. The code changes reflect this correctly. However, I need to ensure that the rest of the codebase uses 'float' instead of 'number' to avoid inconsistencies.

Workflow ID: wflow_C4ygwZz5qJcp8LTX


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@msalihaltun msalihaltun merged commit fed24b4 into main Oct 23, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/better-workflow-parameter-types branch October 23, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants