Replace needs attention with finished status

This commit is contained in:
Mohamed Boudra
2025-12-23 23:11:48 +07:00
parent f2e6a55fec
commit c4b9a68c6b
+4 -12
View File
@@ -133,9 +133,10 @@ export function AgentList({ agents, isRefreshing = false, onRefresh }: AgentList
</View>
{agent.requiresAttention && (
<View style={[styles.attentionBadge, { backgroundColor: theme.colors.primary }]}>
<Text style={[styles.attentionText, { color: theme.colors.primaryForeground }]}>
Needs attention
<View style={styles.statusBadge}>
<View style={[styles.statusDot, { backgroundColor: "#22c55e" }]} />
<Text style={[styles.statusText, { color: "#22c55e" }]}>
Finished
</Text>
</View>
)}
@@ -316,15 +317,6 @@ const styles = StyleSheet.create((theme) => ({
fontSize: theme.fontSize.xs,
fontWeight: theme.fontWeight.semibold,
},
attentionBadge: {
borderRadius: theme.borderRadius.full,
paddingHorizontal: theme.spacing[2],
paddingVertical: 2,
},
attentionText: {
fontSize: theme.fontSize.xs,
fontWeight: theme.fontWeight.semibold,
},
timeAgo: {
fontSize: theme.fontSize.xs,
color: theme.colors.mutedForeground,