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

Start workflow runs instantly instead of showing a notification which… #1687

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Jan 31, 2025

… can redirect


Important

RunWorkflowForm now navigates directly to the workflow overview page upon successful run initiation, removing the notification action.

  • Behavior:
    • RunWorkflowForm in RunWorkflowForm.tsx now navigates directly to the workflow overview page upon successful run initiation, removing the notification action.
    • Uses useNavigate instead of Link for redirection.
  • Dependencies:
    • Removes ToastAction import from @radix-ui/react-toast as it's no longer used.

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

…src/'

… can redirect
<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Directly navigates to workflow overview page after starting a workflow run, removing the notification action.
>
>   - **Behavior**:
>     - Directly navigates to workflow overview page after starting a workflow run in `RunWorkflowForm`.
>     - Removes `ToastAction` notification that previously redirected to the overview page.
>   - **Navigation**:
>     - Uses `useNavigate` from `react-router-dom` to handle redirection in `RunWorkflowForm`.
>
> <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 a8e98fcd5a8d6a140043607b6bf91b17fa769e34. 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! Incremental review on 1e4d801 in 27 seconds

More details
  • Looked at 50 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx:17
  • Draft comment:
    Remove unused import ToastAction since it's no longer used in the code.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.

Workflow ID: wflow_cqiD0uwuGDs0xtfp


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! Reviewed everything up to 1e4d801 in 25 seconds

More details
  • Looked at 50 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx:106
  • Draft comment:
    Consider using getRunWorkflowRequestBody directly in onSubmit to avoid duplicating the parameter parsing logic.
  • Reason this comment was not posted:
    Comment was not on a valid diff hunk.

Workflow ID: wflow_P5joTGZgq7JGTXcK


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

@msalihaltun msalihaltun merged commit 5009355 into main Jan 31, 2025
7 checks passed
@msalihaltun msalihaltun deleted the salih/redirect-instantly-to-workflow-run-instead-of-notification branch January 31, 2025 17:05
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