getStatusColor() — supabase Function Reference
Architecture documentation for the getStatusColor() function in EdgeFunctionsDiffPanel.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 9c55c22c_6506_476e_1c95_9f868d89e65d["getStatusColor()"] e2bea826_2dab_74bc_f1e7_c5138ca72a26["FunctionDiff()"] e2bea826_2dab_74bc_f1e7_c5138ca72a26 -->|calls| 9c55c22c_6506_476e_1c95_9f868d89e65d style 9c55c22c_6506_476e_1c95_9f868d89e65d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx lines 37–50
const getStatusColor = (status: FileStatus): string => {
switch (status) {
case 'added':
return 'text-brand'
case 'removed':
return 'text-destructive'
case 'modified':
return 'text-warning'
case 'unchanged':
return 'text-muted'
default:
return 'text-muted'
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getStatusColor() do?
getStatusColor() is a function in the supabase codebase.
What calls getStatusColor()?
getStatusColor() is called by 1 function(s): FunctionDiff.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free