Ali Waseem
7353782724
fix(studio): show compute waitlist notice when project is not enrolled ( #51224 )
...
Resolves FUNC-941
## What
When a project isn't enrolled in Compute, show a short notice with a
link to the waitlist (https://supabase.com/compute ) instead of a generic
error.
## Why
The compute API returns its 404 as `{ "error": { "code", "message" } }`.
`handleError` only reads a top-level `message`, so it dropped the status
code, `isComputeUnavailable` never matched, and users saw "API error
happened while trying to communicate with the server." The query now
checks `response.status === 404` directly.
## Testing
- [ ] Project not enrolled in Compute: the waitlist notice shows
- [ ] Enrolled project: the instance list loads as before
2026-10-03 20:34:14 +00: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-09-29 20:39:01 +05:30
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-09-25 16:49:01 +02: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-09-30 20:40:42 +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-09-25 16:11:24 +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-06-29 17:43:38 +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