Monorepo for Tangled
0

Configure Feed

Select the types of activity you want to include in your feed.

ogre: capitalize status badge

open -> Open, closed -> Closed, etc

Signed-off-by: eti <eti@eti.tf>

authored by

eti and committed by
Anirudh Oppiliappan
(Jul 3, 2026, 3:49 PM +0530) 2f573f45 19faeb52

+6 -2
+6 -2
ogre/src/components/shared/status-badge.tsx
··· 8 8 } from "../../icons/lucide"; 9 9 import { COLORS, TYPOGRAPHY } from "./constants"; 10 10 11 + function capitalize(text: string) { 12 + return text.charAt(0).toUpperCase() + text.slice(1); 13 + } 14 + 11 15 const STATUS_CONFIG = { 12 16 open: { 13 17 Icon: CircleDot, ··· 48 52 backgroundColor: config.bg, 49 53 }}> 50 54 <Icon size={48} color={config.text} /> 51 - <span style={{ ...TYPOGRAPHY.status, color: config.text }}>{status}</span> 55 + <span style={{ ...TYPOGRAPHY.status, color: config.text }}>{capitalize(status)}</span> 52 56 </Row> 53 57 ); 54 58 } ··· 67 71 backgroundColor: config.bg, 68 72 }}> 69 73 <Icon size={48} color={config.text} /> 70 - <span style={{ ...TYPOGRAPHY.status, color: config.text }}>{status}</span> 74 + <span style={{ ...TYPOGRAPHY.status, color: config.text }}>{capitalize(status)}</span> 71 75 </Row> 72 76 ); 73 77 }