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

Revert "Add ability to use observer in the prompt section (#3194)" #1407

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Dec 17, 2024

This reverts commit a43c00f520d281184685bae8a99cd6268ef8a5a1.


Important

Reverts observer feature in the prompt section by removing related types, components, and logic.

  • Revert Observer Feature:
    • Remove ObserverCruise type from types.ts.
    • Remove CustomSelectItem and SelectItemText components from select.tsx.
    • Remove observer-related logic and UI elements from PromptBox.tsx.
    • Remove observerFeatureEnabled export from env.ts.

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

…src/'

This reverts commit a43c00f520d281184685bae8a99cd6268ef8a5a1.
<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Reverts observer feature in the prompt section by removing related types, components, and logic.
>
>   - **Revert Observer Feature**:
>     - Remove `ObserverCruise` type from `types.ts`.
>     - Remove `CustomSelectItem` and `SelectItemText` components from `select.tsx`.
>     - Remove observer-related logic and UI elements from `PromptBox.tsx`.
>     - Remove `observerFeatureEnabled` export from `env.ts`.
>
> <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 e78c60d36ea1b2147c6e8075fe5d176b911f91b7. 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! Reviewed everything up to 6a70663 in 18 seconds

More details
  • Looked at 233 lines of code in 4 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 drafted comments based on config settings.
1. skyvern-frontend/src/components/ui/select.tsx:159
  • Draft comment:
    The removal of CustomSelectItem and SelectItemText components is consistent with the PR's intent to revert the observer feature.
  • Reason this comment was not posted:
    Confidence changes required: 10%
    The PR removes CustomSelectItem and SelectItemText components from select.tsx, which aligns with the intent to revert the observer feature.
2. skyvern-frontend/src/routes/tasks/create/PromptBox.tsx:184
  • Draft comment:
    The removal of observer-related logic is consistent with the PR's intent to revert the observer feature.
  • Reason this comment was not posted:
    Confidence changes required: 10%
    The PR removes observer-related logic from PromptBox.tsx, which is consistent with the intent to revert the observer feature.
3. skyvern-frontend/src/util/env.ts:22
  • Draft comment:
    The removal of observerFeatureEnabled export is consistent with the PR's intent to revert the observer feature.
  • Reason this comment was not posted:
    Confidence changes required: 10%
    The PR removes the observerFeatureEnabled export from env.ts, which aligns with the intent to revert the observer feature.

Workflow ID: wflow_ahehvIrt2WZe5gu9


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

@msalihaltun msalihaltun merged commit 56ff9d1 into main Dec 17, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/revert-observer branch December 17, 2024 15:10
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