mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
feat(studio): incident notice on support ticket creation (#41379)
* callout * progress * plural issues * better handle multiple issues * refactor * remove fancy copywriting * return IncidentAdmonition to support form page * progress * cleanup * rabbit Potential control flow issue: execution continues after handleError when data is undefined. When a non-401 error occurs, handleError(error) is called but execution continues to line 24 where data is accessed. If handleError doesn't throw, this will cause a runtime error accessing (data as any).is_healthy on undefined. Additionally, the as any cast on line 24 violates the coding guidelines. Consider validating the response shape instead. * animate in * fix * reset * remove unused dayjs * rabbit * rabbit * fixes from code review * rabbit * rabbit --------- Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
This commit is contained in:
1 parent
3d178fcad2
commit
f0acececce
7 files changed
+273
-9
No files matched your search
@@ -0,0 +1,7 @@
|
||||
export type IncidentInfo = {
|
||||
id: string
|
||||
name: string
|
||||
status: string
|
||||
impact: string
|
||||
active_since: string
|
||||
}
|
||||
Reference in new issue
Block a user