Skip to content

Commit

Permalink
🔄 synced local 'skyvern-frontend/src/' with remote 'skyvern-frontend/…
Browse files Browse the repository at this point in the history
…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 -->
  • Loading branch information
ykeremy committed Sep 18, 2024
1 parent 436fcd9 commit c5a8746
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 214 deletions.
Loading

0 comments on commit c5a8746

Please sign in to comment.