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

change the name of observer in dropdown #1410

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Dec 17, 2024

Important

Rename dropdown items in PromptBox.tsx and remove PersistentBrowserSessionModel and related ID generation.

  • UI Change:
    • In PromptBox.tsx, rename dropdown item from Observer to Skyvern 2.0 (Observer) for CustomSelectItem with value v2.
    • Rename dropdown item from Task to Skyvern 1.0 (Tasks) for CustomSelectItem with value v1.
  • Model Removal:
    • Remove PersistentBrowserSessionModel from models.py.
    • Remove generate_persistent_browser_session_id() from id.py.

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

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Rename dropdown items in `PromptBox.tsx` to `Skyvern 2.0 (Observer)` and `Skyvern 1.0 (Tasks)`.
>
>   - **UI Change**:
>     - In `PromptBox.tsx`, rename dropdown item from `Observer` to `Skyvern 2.0 (Observer)` for `CustomSelectItem` with value `v2`.
>     - Rename dropdown item from `Task` to `Skyvern 1.0 (Tasks)` for `CustomSelectItem` with value `v1`.
>
> <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 02fe03a005aa95a80d60dcbf3d380e8607df7690. It will automatically update as commits are pushed.</sup>

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

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Rename dropdown items in `PromptBox.tsx` to `Skyvern 2.0 (Observer)` and `Skyvern 1.0 (Tasks)`.
>
>   - **UI Change**:
>     - In `PromptBox.tsx`, rename dropdown item from `Observer` to `Skyvern 2.0 (Observer)` for `CustomSelectItem` with value `v2`.
>     - Rename dropdown item from `Task` to `Skyvern 1.0 (Tasks)` for `CustomSelectItem` with value `v1`.
>
> <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 02fe03a005aa95a80d60dcbf3d380e8607df7690. 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 8210d45 in 12 seconds

More details
  • Looked at 30 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/tasks/create/PromptBox.tsx:240
  • Draft comment:
    The width of SelectTrigger was changed from w-32 to w-48. This change is not mentioned in the PR description. Ensure this change is intentional and necessary.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR description specifies changing the dropdown item names, which has been done correctly. However, the width of the SelectTrigger was also changed from 'w-32' to 'w-48'. This change is not mentioned in the PR description and should be justified or reverted.

Workflow ID: wflow_zJPeytiD9XILhazH


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 8210d45 in 11 seconds

More details
  • Looked at 84 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/tasks/create/PromptBox.tsx:240
  • Draft comment:
    The width of SelectTrigger has been changed from w-32 to w-48. Ensure this change is intentional and does not negatively impact the UI layout.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR description indicates a change in the dropdown item names in PromptBox.tsx. The changes in the code reflect this requirement correctly. However, the change in the width of the SelectTrigger from w-32 to w-48 should be noted as it affects the UI layout.

Workflow ID: wflow_d0fOVyU4VCHqg5AU


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 389446c in 26 seconds

More details
  • Looked at 53 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. skyvern/forge/sdk/db/id.py:157
  • Draft comment:
    generate_persistent_browser_session_id should be removed as per the PR description.
  • Reason this comment was not posted:
    Comment did not seem useful.
2. skyvern/forge/sdk/db/models.py:546
  • Draft comment:
    PersistentBrowserSessionModel should be removed as per the PR description.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_nV2ZBCmY0fpiLWpM


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

@msalihaltun msalihaltun merged commit 7ac0d3d into main Dec 17, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/change-label-of-observer branch December 17, 2024 20:13
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