Claude
df426b8ecd
fix(storage): refresh the bucket list after an update or a delete
...
Two separate reasons the list kept serving a stale row.
`bucketsList` always writes all four params, so a filter built from
`bucketsList(ref)` carries `undefined` for each. React Query's partial
match compares the keys the filter supplies, and `undefined` never
matches the `sortColumn: 'name'` the list is actually registered under —
so the delete mutation's invalidation matched nothing at all, and a
deleted bucket stayed on screen. Both mutations now key on `buckets`, a
plain array prefix of every bucket key.
Invalidation also defaulted to refetching only active queries. The edit
modal and the delete modal both live on the bucket page, where the list
query is inactive, so it was left marked stale rather than refetched —
including the versioning badge that the bucket update had just changed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01N3euXsz25sTybsGTcxCFfn
2026-10-05 15:04:12 +02:00
..
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-09-11 12:17:49 +08:00
2026-08-31 10:55:23 +08:00
2026-09-25 12:20:23 -05:00
2026-08-06 16:06:38 +07:00
2026-08-13 09:48:13 +02:00
2026-09-21 16:38:37 +02:00
2026-09-21 16:38:37 +02:00
2026-09-11 12:17:49 +08:00
2026-09-29 17:51:14 +00:00
2026-09-14 19:16:41 +00:00
2026-04-03 09:15:57 +02:00
2026-10-03 20:34:14 +00:00
2026-10-05 15:04:10 +02:00
2026-09-29 13:54:13 -07:00
2026-04-03 09:15:57 +02:00
2026-08-13 09:48:13 +02:00
2026-10-02 09:43:32 -04:00
2026-08-25 07:43:45 -06:00
2026-07-24 16:43:00 +08:00
2026-06-16 00:07:16 +08:00
2026-09-11 12:17:49 +08:00
2026-06-17 19:15:54 +08:00
2026-06-16 00:07:16 +08:00
2026-06-16 00:07:16 +08:00
2026-09-23 14:38:40 +08:00
2026-07-09 17:09:03 +08:00
2026-08-25 07:43:45 -06:00
2026-06-16 00:07:16 +08:00
2026-07-09 17:09:03 +08:00
2026-04-03 09:15:57 +02:00
2026-07-31 16:18:25 +08:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-06-16 00:07:16 +08:00
2026-07-24 08:07:08 +02:00
2026-10-05 16:20:50 +08:00
2026-09-30 10:34:26 +00:00
2026-07-09 17:09:03 +08:00
2026-04-03 09:15:57 +02:00
2026-08-27 08:52:52 +00:00
2026-09-30 12:59:36 +08:00
2026-09-11 12:17:49 +08:00
2026-05-18 09:47:59 +02:00
2026-09-11 12:17:49 +08:00
2026-09-14 13:34:24 +00:00
2026-06-09 12:18:52 +02:00
2026-09-10 16:26:48 +02:00
2026-06-23 11:16:58 -04:00
2026-07-09 17:09:03 +08:00
2026-08-31 10:55:23 +08:00
2026-09-21 16:38:37 +02:00
2026-09-15 12:50:56 +02:00
2026-09-11 12:17:49 +08:00
2026-09-15 11:16:47 +02:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-04-03 09:15:57 +02:00
2026-10-05 19:54:55 +07:00
2026-09-29 20:39:01 +05:30
2026-09-15 12:50:56 +02:00
2026-06-23 21:14:27 +00:00
2026-06-16 00:07:16 +08:00
2026-09-29 07:53:28 -04:00
2026-09-11 12:17:49 +08:00
2026-07-14 13:16:11 +02:00
2026-07-31 15:26:37 -04:00
2026-09-15 12:50:56 +02:00
2026-09-29 17:49:06 -04:00
2026-08-14 15:09:29 +07:00
2026-09-14 19:16:41 +00:00
2026-09-28 15:17:24 +08:00
2026-09-21 09:23:02 +02:00
2026-09-18 11:32:48 +08:00
2026-09-24 10:30:25 +02:00
2026-09-15 12:50:56 +02:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-09-08 17:26:24 +08:00
2026-09-21 16:38:37 +02:00
2026-08-27 17:07:58 +02:00
2026-10-05 15:04:12 +02:00
2026-09-15 12:50:56 +02:00
2026-09-23 09:44:04 +02:00
2026-09-21 16:38:37 +02:00
2026-05-26 14:02:14 +02:00
2026-07-14 13:16:11 +02:00
2026-09-16 14:32:19 +08:00
2026-08-25 07:43:45 -06:00
2026-05-27 15:19:54 +08:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-09-15 21:46:45 +10:00
2026-10-05 16:20:50 +08:00
2026-07-09 17:09:03 +08:00
2026-09-17 14:17:00 +10:00
2026-08-27 17:07:58 +02:00
2026-01-22 11:17:49 -05:00
2026-03-16 11:22:30 +01:00
2026-04-03 09:15:57 +02:00
2026-06-16 14:58:48 +00:00
2026-09-10 16:45:54 +08:00
2026-06-12 11:16:12 -06:00
2026-06-16 08:02:04 -06:00
2026-07-24 08:07:08 +02:00
2026-07-24 08:07:08 +02:00