Skyvern-AI / skyvern

Automate browser-based workflows with LLMs and Computer Vision
https://www.skyvern.com
GNU Affero General Public License v3.0
10.78k stars 739 forks source link

Only notify with actual changes #1173

Closed wintonzheng closed 2 weeks ago

wintonzheng commented 2 weeks ago

[!IMPORTANT] Add conditional notification for unsaved changes in useShouldNotifyWhenClosingTab and integrate with FlowRenderer.

  • Behavior:
    • Add shouldNotify parameter to useShouldNotifyWhenClosingTab to conditionally trigger notifications.
    • Update FlowRenderer to pass hasChanges to useShouldNotifyWhenClosingTab, preventing notifications when no changes are present.

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