Home / Function/ getStatusLabel() — supabase Function Reference

getStatusLabel() — supabase Function Reference

Architecture documentation for the getStatusLabel() function in ServiceHealthTable.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  6c669bfc_9720_085b_5bb4_e5b7164b4e8b["getStatusLabel()"]
  df81e8a0_5f6e_1c37_6098_621a2b4628c6["ServiceRow()"]
  df81e8a0_5f6e_1c37_6098_621a2b4628c6 -->|calls| 6c669bfc_9720_085b_5bb4_e5b7164b4e8b
  style 6c669bfc_9720_085b_5bb4_e5b7164b4e8b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Observability/ServiceHealthTable.tsx lines 48–57

const getStatusLabel = (status: 'healthy' | 'error' | 'unknown'): string => {
  switch (status) {
    case 'healthy':
      return 'Healthy'
    case 'error':
      return 'Unhealthy'
    case 'unknown':
      return 'Unknown'
  }
}

Subdomains

Called By

Frequently Asked Questions

What does getStatusLabel() do?
getStatusLabel() is a function in the supabase codebase.
What calls getStatusLabel()?
getStatusLabel() is called by 1 function(s): ServiceRow.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free