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

Implement 'you have unsaved changes' #850

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Commits on Sep 18, 2024

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

    …src/'
    
    <!-- ELLIPSIS_HIDDEN -->
    
    | 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 8da3912094366ad977e2ae09d2d9d77cb8948eb4  |
    |--------|--------|
    
    feat: add unsaved changes tracking to workflow editor
    
    ### Summary:
    Add unsaved changes tracking to workflow editor with state management and navigation prompt.
    
    **Key points**:
    - Implement unsaved changes tracking in workflow editor.
    - Use `useWorkflowHasChangesStore` in `FlowRenderer.tsx`, `WorkflowEditor.tsx`, and `WorkflowParametersPanel.tsx`.
    - Display dialog in `WorkflowEditor.tsx` when navigating away with unsaved changes.
    - Introduce `WorkflowHasChangesStore.ts` for `hasChanges` state management.
    - Update `FlowRenderer.tsx` for node and edge modifications.
    - Update `WorkflowParametersPanel.tsx` for parameter add, edit, and delete.
    
    ----
    Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)
    
    <!-- ELLIPSIS_HIDDEN -->
    ykeremy committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c5a8746 View commit details
    Browse the repository at this point in the history