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

Ensure consistency in button severity between workflow and task runs #939

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Oct 9, 2024

Important

Ensure button label and icon consistency in TaskDetails.tsx and WorkflowRun.tsx.

  • UI Consistency:
    • Change button variant from outline to secondary in TaskDetails.tsx.
    • Update button labels from "Copy as cURL" to "Copy cURL" in TaskDetails.tsx and WorkflowRun.tsx.
    • Update button labels from "Rerun Task" and "Rerun Workflow" to "Rerun" in TaskDetails.tsx and WorkflowRun.tsx.
    • Add PlayIcon to "Rerun" button in TaskDetails.tsx and WorkflowRun.tsx.

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

…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Ensure button label and icon consistency in `TaskDetails.tsx` and `WorkflowRun.tsx`.
>
>   - **UI Consistency**:
>     - Change button variant from `outline` to `secondary` in `TaskDetails.tsx`.
>     - Update button labels from "Copy as cURL" to "Copy cURL" in `TaskDetails.tsx` and `WorkflowRun.tsx`.
>     - Update button labels from "Rerun Task" and "Rerun Workflow" to "Rerun" in `TaskDetails.tsx` and `WorkflowRun.tsx`.
>     - Add `PlayIcon` to "Rerun" button in `TaskDetails.tsx` and `WorkflowRun.tsx`.
>
> <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 6f8fe3ff202ac7aa20f596b44e8a4a94feb279c8. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Oct 9, 2024
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 b1979a7 in 15 seconds

More details
  • Looked at 74 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/WorkflowRun.tsx:294
  • Draft comment:
    Consider updating the button label from Edit Workflow to Edit for consistency with other button labels.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR description specifies changing button labels for consistency. The label 'Edit Workflow' should be updated to 'Edit' for consistency with other buttons.

Workflow ID: wflow_R7pnj5CrXTNXdM99


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 b1979a7 in 18 seconds

More details
  • Looked at 74 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx:194
  • Draft comment:
    The 'Edit' button label should also be updated for consistency, similar to the changes made in WorkflowRun.tsx.
  • Reason this comment was not posted:
    Comment was on unchanged code.

Workflow ID: wflow_KXqohMj8h04SqdtI


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

@msalihaltun msalihaltun merged commit 68448fc into main Oct 9, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/button-consistency branch October 9, 2024 14:03
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