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

Task node section tooltips and misc updates #917

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Oct 7, 2024

Important

Add HelpTooltip component to TaskNode for enhanced tooltips and update labels/placeholders for clarity.

  • Components:
    • Add HelpTooltip component in HelpTooltip.tsx for displaying tooltips with QuestionMarkCircledIcon.
  • TaskNode:
    • Integrate HelpTooltip in TaskNode.tsx for sections: Content, Extraction, Limits, Two-Factor Authentication, and Display Mode.
    • Update labels and placeholders in TaskNode.tsx for clarity, e.g., "Allow Downloads" to "Complete on Download".
  • Types:
    • Add helpTooltipContent in types.ts to store tooltip content for different sections.
  • Misc:
    • Remove redundant tooltip code from TaskNodeParametersPanel.tsx.

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

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Add `HelpTooltip` component and integrate into `TaskNode` for enhanced tooltips and update labels/placeholders for clarity.
>
>   - **Components**:
>     - Add `HelpTooltip` component in `HelpTooltip.tsx` for displaying tooltips with `QuestionMarkCircledIcon`.
>   - **TaskNode**:
>     - Integrate `HelpTooltip` in `TaskNode.tsx` for sections: Content, Extraction, Limits, Two-Factor Authentication, and Display Mode.
>     - Update labels and placeholders in `TaskNode.tsx` for clarity, e.g., "Allow Downloads" to "Complete on Download".
>   - **Types**:
>     - Add `helpTooltipContent` in `types.ts` to store tooltip content for different sections.
>
> <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 649c5095ae115e51ec96f8a63ac26525840785af. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Add `HelpTooltip` component and integrate into `TaskNode` for enhanced tooltips and update labels/placeholders for clarity.
>
>   - **Components**:
>     - Add `HelpTooltip` component in `HelpTooltip.tsx` for displaying tooltips with `QuestionMarkCircledIcon`.
>   - **TaskNode**:
>     - Integrate `HelpTooltip` in `TaskNode.tsx` for sections: Content, Extraction, Limits, Two-Factor Authentication, and Display Mode.
>     - Update labels and placeholders in `TaskNode.tsx` for clarity, e.g., "Allow Downloads" to "Complete on Download".
>   - **Types**:
>     - Add `helpTooltipContent` in `types.ts` to store tooltip content for different sections.
>
> <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 649c5095ae115e51ec96f8a63ac26525840785af. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Oct 7, 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! Incremental review on 2da60bc in 10 seconds

More details
  • Looked at 252 lines of code in 4 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/types.ts:44
  • Draft comment:
    Consider making helpTooltipContent more dynamic or configurable to allow easier updates or localization in the future.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The HelpTooltip component is being used correctly, but the tooltip content is hardcoded in the types.ts file. This could be improved by making it more dynamic or configurable.

Workflow ID: wflow_mlr4KKhMhI3l9tmQ


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 2da60bc in 14 seconds

More details
  • Looked at 269 lines of code in 5 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx:2
  • Draft comment:
    Remove unused imports related to Tooltip components, as they are no longer used after refactoring to HelpTooltip.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The import statement for Tooltip components in TaskNodeParametersPanel.tsx is unnecessary after the refactor to use HelpTooltip.
2. skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNode.tsx:138
  • Draft comment:
    Consider creating a reusable component or function for the repeated HelpTooltip usage to avoid code repetition and improve maintainability.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The HelpTooltip component is used multiple times with similar structure. Consider creating a reusable component or function to avoid repetition.
3. skyvern/forge/sdk/workflow/service.py:1050
  • Draft comment:
    Verify the removal of additional parameters in LOG.error call for correctness. Ensure that the logging still provides sufficient context for debugging.
  • Reason this comment was not posted:
    Confidence changes required: 33%
    The LOG.error call in create_workflow_from_request method was modified to remove additional parameters. This change should be verified for correctness.

Workflow ID: wflow_StF9HxRZMOgkJoxp


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 fa020aa in 9 seconds

More details
  • Looked at 16 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/sdk/workflow/service.py:1051
  • Draft comment:
    The PR description mentions removing redundant parameters in error logging, but this change adds organization_id to the log message. Please clarify if this is intended.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The logging change in the PR description mentions removing redundant parameters, but the change actually adds a parameter to the log message. This seems to be a misunderstanding or miscommunication in the PR description.

Workflow ID: wflow_mJAJ748ebU31zEQM


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

@msalihaltun msalihaltun merged commit 413e6a8 into main Oct 7, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/task-node-section-tooltips branch October 7, 2024 17:53
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