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

Link to task diagnostics in block card #1463

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Jan 2, 2025

Important

Adds a link to task diagnostics in BlockCard using ExternalLinkIcon and Link if task_id is present.

  • Behavior:
    • Adds a link to task diagnostics in BlockCard if block.task_id is present.
    • Uses ExternalLinkIcon and Link to navigate to /tasks/{task_id}/diagnostics.
  • UI Components:
    • Replaces CubeIcon with ExternalLinkIcon in BlockCard.
    • Wraps Link in Button for improved styling and interaction.

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

…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Adds a link to task diagnostics in `BlockCard` using `ExternalLinkIcon` and `Link` if `task_id` is present.
>
>   - **Behavior**:
>     - Adds a link to task diagnostics in `BlockCard` if `block.task_id` is present.
>     - Uses `ExternalLinkIcon` and `Link` from `react-router-dom` to navigate to `/tasks/{task_id}/diagnostics`.
>   - **UI Components**:
>     - Replaces `CubeIcon` with `ExternalLinkIcon` in `BlockCard`.
>     - Adds `Button` component to wrap the `Link` for better styling and interaction.
>
> <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 88b9c999bf305ad38cec82b24bd1bde8f8122c53. 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 6f53e0d in 10 seconds

More details
  • Looked at 48 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/workflowRun/BlockCard.tsx:38
  • Draft comment:
    Verify if size="icon" is a valid prop for the Button component. If not, adjust to a valid size.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The Button component is used with asChild prop, which is correct for wrapping the Link component. However, the size prop is set to icon, which might not be a valid size for the Button component. This should be verified in the Button component's implementation.

Workflow ID: wflow_lPxVMjobTjX85zzb


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 6f53e0d in 10 seconds

More details
  • Looked at 48 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/workflowRun/BlockCard.tsx:37
  • Draft comment:
    The asChild prop in the Button component is non-standard and might not be supported. Verify if it's necessary or remove it.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_ACvO5hfQVGWwVGkJ


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

@msalihaltun msalihaltun merged commit 6286626 into main Jan 2, 2025
2 checks passed
@msalihaltun msalihaltun deleted the salih/link-to-task-diagnostics-in-block-card branch January 2, 2025 12:41
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