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

Context parameters in UI #902

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Commits on Oct 3, 2024

  1. 🔄 synced local 'skyvern-frontend/src/' with remote 'skyvern-frontend/…

    …src/'
    
    <!-- ELLIPSIS_HIDDEN -->
    
    > [!IMPORTANT]
    > Add support for context parameters in the workflow editor UI, including new components and refactoring for improved parameter and node label handling.
    >
    >   - **Behavior**:
    >     - Add `SourceParameterKeySelector` component for selecting context and output parameter keys.
    >     - Support context parameters in `WorkflowParameterAddPanel` and `WorkflowParameterEditPanel`.
    >     - Update `FlowRenderer` to handle context parameters in `convertToParametersYAML()`.
    >   - **Node Handling**:
    >     - Refactor node label change handling using `useNodeLabelChangeHandler` hook.
    >     - Update nodes like `CodeBlockNode`, `DownloadNode`, `FileParserNode`, etc., to use the new label change handler.
    >   - **Parameter Management**:
    >     - Add context parameter type to `ParametersState` in `FlowRenderer`.
    >     - Update `WorkflowParametersPanel` to manage context parameters.
    >   - **Utilities**:
    >     - Add `getUpdatedParametersAfterLabelUpdateForSourceParameterKey()` in `workflowEditorUtils`.
    >     - Refactor `HorizontallyResizingInput` to use `ComponentPropsWithoutRef`.
    >
    > <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 b83dcfc423379b99c008c4121cbc594ea0c0ed27. It will automatically update as commits are pushed.</sup>
    
    <!-- ELLIPSIS_HIDDEN -->
    ykeremy committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    6d31312 View commit details
    Browse the repository at this point in the history