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

Add help text to other nodes #967

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Oct 14, 2024

Important

Add help tooltips to various nodes and update default code and spacing in CodeBlockNode.

  • Help Tooltips:
    • Added HelpTooltip to DownloadNode, FileParserNode, LoopNode, SendEmailNode, TextPromptNode, and UploadNode for specific fields.
    • Tooltip content defined in types.ts for each node type.
  • CodeBlockNode:
    • Updated default code in codeBlockNodeDefaultData to include instructions for using the result variable.
    • Adjusted spacing in CodeBlockNode.tsx from space-y-1 to space-y-2.
  • UI Adjustments:
    • Changed spacing from space-y-1 to space-y-2 in SendEmailNode.tsx and TextPromptNode.tsx for better layout consistency.

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

…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Add help tooltips to various nodes and update default code and spacing in `CodeBlockNode`.
>
>   - **Help Tooltips**:
>     - Added `HelpTooltip` to `DownloadNode`, `FileParserNode`, `LoopNode`, `SendEmailNode`, `TextPromptNode`, and `UploadNode` for specific fields.
>     - Tooltip content defined in `types.ts` for each node type.
>   - **CodeBlockNode**:
>     - Updated default `code` in `codeBlockNodeDefaultData` to include instructions for using the `result` variable.
>     - Adjusted spacing in `CodeBlockNode.tsx` from `space-y-1` to `space-y-2`.
>   - **UI Adjustments**:
>     - Changed spacing from `space-y-1` to `space-y-2` in `SendEmailNode.tsx` and `TextPromptNode.tsx` for better layout 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 348fc08e4f96899211cc43ee3e090b8fb3f3cc89. 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 45df222 in 14 seconds

More details
  • Looked at 363 lines of code in 15 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/nodes/DownloadNode/types.ts:18
  • Draft comment:
    Consider centralizing helpTooltipContent to avoid repetition across multiple files. This will make it easier to maintain and update tooltip content.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR introduces help tooltips for various nodes, but the tooltip content is repeated across multiple files. This can lead to maintenance issues if the content needs to be updated. A centralized approach would be more efficient.

Workflow ID: wflow_IuZoeEtDtoR5jLex


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 45df222 in 15 seconds

More details
  • Looked at 363 lines of code in 15 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/nodes/DownloadNode/types.ts:18
  • Draft comment:
    Consider centralizing helpTooltipContent definitions to avoid repetition and ease maintenance. This pattern is repeated in other node types as well.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR introduces help tooltips for various nodes, but the tooltip content is repeated across multiple files. This can lead to maintenance issues if the content needs to be updated. A centralized approach would be more efficient.

Workflow ID: wflow_HXugJ3u2rOVIMVn6


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

@msalihaltun msalihaltun merged commit 628321e into main Oct 14, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/node-help-texts-other-than-task branch October 14, 2024 14:45
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