Files
windmill/frontend/src/lib/components
cb8818796d feat(settings): add unsaved changes warning for workspace settings (#6813)
* feat(settings): add unsaved changes warning on windmill ai tab

Add dialog to warn users when leaving the Windmill AI settings tab with
unsaved changes, allowing them to save or cancel their changes.

Changes:
- Track initial AI config state in workspace settings
- Compare current vs initial state to detect unsaved changes
- Integrate UnsavedConfirmationModal with beforeNavigate guard
- Update initial state after successful save via onSave callback

Implements request from issue #6812

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>

* also confirm on tab changes

* fix

* fix

* fix

* clean tabs usage

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2025-10-14 16:50:19 +00:00
..
2025-09-11 07:57:01 +00:00
2025-10-04 16:54:59 +00:00
2025-10-02 10:11:41 +00:00
2025-09-09 21:04:23 +00:00
2025-10-14 16:07:40 +00:00
2025-10-02 10:09:30 +00:00
2025-06-13 08:47:27 +02:00
nit
2025-05-21 12:06:22 +02:00
2025-09-27 12:01:01 +00:00
2025-10-06 15:10:17 +00:00
2025-10-04 09:59:10 +00:00
2025-09-27 10:10:27 +00:00
2025-09-18 15:24:49 +00:00
2025-09-23 11:58:15 +00:00
2025-09-27 08:04:17 +00:00
2025-10-04 16:54:59 +00:00
2025-06-28 20:13:55 +02:00
2025-08-10 23:24:36 +00:00
2025-07-19 06:59:49 +00:00
2025-09-27 08:04:17 +00:00
2025-09-30 12:25:36 +00:00
2025-08-07 17:52:47 +00:00
2025-09-11 06:58:39 +00:00
2025-09-11 01:07:39 +00:00
nit
2025-09-27 11:23:54 +00:00
2024-10-19 12:11:29 +02:00
2025-09-20 13:46:55 +00:00
2025-09-27 21:52:13 +00:00
2025-09-11 16:12:36 +00:00
2025-10-13 20:43:57 +00:00
2025-06-30 00:07:35 +00:00
2025-09-27 22:35:01 +00:00
2025-10-01 13:46:12 +00:00
2025-07-17 22:15:01 +00:00
2025-10-04 09:59:10 +00:00
2025-07-29 19:28:54 +00:00
2025-07-08 06:47:08 +00:00
2025-07-29 19:28:54 +00:00
2025-06-28 20:13:55 +02:00
2025-05-07 13:36:38 +02:00
2025-09-09 21:04:23 +00:00