Diego Imbert
e3511b040a
fix(drafts): deploy only wipes the deployer's draft, not everyone else's
...
Script / flow / app deploys ran an unconditional DELETE on every draft
at the path, so a teammate's deploy silently destroyed any other
user's pending draft. After the wipe, the other user's tab kept
auto-saving — re-creating the row at a NOW timestamp newer than the
deploy — and StaleDraftModal never fired because draft_saved_at had
been bumped past the deploy. Filter the DELETE to email = deployer
(plus the legacy NULL row), so other users' drafts persist and the
stale-draft prompt actually fires on their next reload.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-09 20:36:45 +02:00
..
2026-06-09 19:36:02 +02:00
2026-02-07 22:12:55 +00:00
2026-05-20 15:58:05 +00:00
2026-06-03 10:33:16 +00:00
2026-03-26 08:18:01 +00:00
2025-06-02 22:12:33 +02:00
2026-06-09 20:36:45 +02:00
2026-06-05 16:50:07 +00:00
2026-03-27 09:55:04 +00:00
2026-03-04 11:50:59 +00:00
2026-01-20 12:52:58 +00:00
2026-04-23 16:30:18 +00:00
2026-02-07 22:12:55 +00:00
2026-04-05 14:00:44 +00:00
2026-03-08 16:18:22 +00:00
2026-06-08 15:19:31 +02:00
2026-05-11 22:09:21 +00:00
2026-02-07 22:12:55 +00:00
2026-02-04 18:48:51 +00:00
2026-03-27 09:55:04 +00:00
2026-02-08 12:12:03 +00:00
2026-02-08 12:12:03 +00:00
2025-06-02 22:12:33 +02:00
2026-02-08 12:12:03 +00:00
2026-03-27 09:55:04 +00:00
2026-02-08 12:12:03 +00:00
2026-03-28 09:32:10 +00:00
2026-03-03 16:46:10 +00:00
2025-12-10 17:28:56 +00:00
2026-04-14 00:04:10 +00:00
2026-03-24 09:45:37 +00:00
2026-03-05 06:19:51 +00:00
2026-02-07 22:12:55 +00:00
2026-02-07 22:12:55 +00:00
2026-06-08 22:26:19 +00:00
2026-05-28 00:26:42 +02:00
2026-02-07 22:12:55 +00:00
2026-01-14 12:06:40 +00:00
2026-06-03 09:00:43 +00:00
2026-04-24 17:14:08 +00:00
2026-06-09 19:36:02 +02:00
2025-06-02 22:12:33 +02:00
2026-06-09 19:36:02 +02:00
2026-01-14 12:06:40 +00:00
2026-02-07 22:12:55 +00:00
2026-04-03 17:39:32 +00:00
2026-03-27 09:55:04 +00:00
2026-04-03 13:46:09 +00:00
2025-09-04 22:05:22 +00:00
2026-03-22 17:18:22 +00:00
2026-03-27 09:55:04 +00:00
2026-03-27 09:55:04 +00:00
2026-04-08 20:35:27 +00:00
2026-05-29 04:50:31 +00:00
2026-06-06 08:02:20 +00:00
2025-06-02 22:12:33 +02:00
2026-05-30 10:05:19 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-09-19 17:43:16 +00:00
2026-02-07 22:12:55 +00:00
2026-04-23 16:30:18 +00:00
2026-04-13 21:50:50 +00:00
2026-05-03 07:14:14 +00:00
2026-03-20 12:37:05 +00:00
2026-06-09 19:36:02 +02:00
2026-06-07 23:32:26 +02:00
2026-02-07 22:12:55 +00:00
2026-03-05 06:19:51 +00:00
2026-02-08 00:39:56 +00:00
2026-03-27 09:55:04 +00:00
2026-04-29 18:54:55 +00:00
2026-06-09 19:36:02 +02:00
2026-04-24 17:14:08 +00:00