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 scrollable for nodes panel #1245

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Nov 22, 2024

Important

Adds scrollable functionality to WorkflowNodeLibraryPanel.tsx using ScrollArea and ScrollAreaViewport for improved UI.

  • UI Enhancement:
    • Adds ScrollArea and ScrollAreaViewport to WorkflowNodeLibraryPanel.tsx to make the node library panel scrollable.
    • Sets maximum height of ScrollAreaViewport to 28rem to limit the visible area and enable scrolling.

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

…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Add scrollable functionality to `WorkflowNodeLibraryPanel.tsx` using `ScrollArea` and `ScrollAreaViewport`.
>
>   - **UI Enhancement**:
>     - Adds `ScrollArea` and `ScrollAreaViewport` to `WorkflowNodeLibraryPanel.tsx` to make the node library panel scrollable.
>     - Sets maximum height of `ScrollAreaViewport` to `28rem` to limit the visible area and enable scrolling.
>
> <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 c98b5d5dfe8e81f5eb78c25651f758785a8ddf4f. 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 ae52c3e in 12 seconds

More details
  • Looked at 105 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/editor/panels/WorkflowNodeLibraryPanel.tsx:16
  • Draft comment:
    Ensure ScrollArea and ScrollAreaViewport are correctly implemented in scroll-area module.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The import statement for ScrollArea and ScrollAreaViewport is correct and matches the usage in the component. However, it's important to ensure that these components are correctly implemented in the scroll-area module.

Workflow ID: wflow_T3Wa8zhZ8n5JBKN8


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 ae52c3e in 14 seconds

More details
  • Looked at 105 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/editor/panels/WorkflowNodeLibraryPanel.tsx:16
  • Draft comment:
    Ensure ScrollArea and ScrollAreaViewport are correctly implemented and styled in ui/scroll-area.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The import statement for ScrollArea and ScrollAreaViewport is correct, but we should ensure that these components are properly implemented and styled in the ui/scroll-area module.

Workflow ID: wflow_VIK9xJVYdqzBP6cS


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

@msalihaltun msalihaltun merged commit ecba187 into main Nov 22, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/scroll-in-nodes-panel branch November 22, 2024 21:29
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