Skip to content

Commit

Permalink
🔄 synced local 'skyvern/' with remote 'skyvern/'
Browse files Browse the repository at this point in the history
<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Adds `URLNode` to Skyvern frontend for URL navigation in workflows, updating node types, icons, and UI components.
>
>   - **New Feature**:
>     - Introduces `URLNode` component in `URLNode.tsx` for navigating to URLs in workflows.
>     - Adds `URLNode` type in `types.ts` and default data in `urlNodeDefaultData`.
>     - Updates `WorkflowBlockIcon.tsx` to include `ExternalLinkIcon` for `goto_url` type.
>   - **Integration**:
>     - Updates `index.ts` to include `URLNode` in `WorkflowBlockNode` and `nodeTypes`.
>     - Modifies `workflowEditorUtils.ts` to handle `goto_url` in `convertToNode()`, `createNode()`, and `getWorkflowBlock()`.
>     - Adds `URLBlock` type in `workflowTypes.ts` and `URLBlockYAML` in `workflowYamlTypes.ts`.
>   - **UI Enhancements**:
>     - Adds `Go to URL Block` to `WorkflowNodeLibraryPanel.tsx` with description and icon.
>     - Updates `helpContent.ts` to include tooltips and placeholders for `url`.
>
> <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 6837159776fa877a8565330e53667954c07ad2ee. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
wintonzheng committed Jan 30, 2025
1 parent d218391 commit 164193a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions skyvern/forge/sdk/schemas/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class ProxyLocation(StrEnum):
RESIDENTIAL_IN = "RESIDENTIAL_IN"
RESIDENTIAL_JP = "RESIDENTIAL_JP"
RESIDENTIAL_FR = "RESIDENTIAL_FR"
RESIDENTIAL_DE = "RESIDENTIAL_DE"
NONE = "NONE"


Expand Down Expand Up @@ -64,14 +63,11 @@ def get_tzinfo_from_proxy(proxy_location: ProxyLocation) -> ZoneInfo | None:
return ZoneInfo("Asia/Kolkata")

if proxy_location == ProxyLocation.RESIDENTIAL_JP:
return ZoneInfo("Asia/Tokyo")
return ZoneInfo("Asia/Kolkata")

if proxy_location == ProxyLocation.RESIDENTIAL_FR:
return ZoneInfo("Europe/Paris")

if proxy_location == ProxyLocation.RESIDENTIAL_DE:
return ZoneInfo("Europe/Berlin")

return None


Expand Down

0 comments on commit 164193a

Please sign in to comment.