CategoryCard

fun CategoryCard(category: SignalCategory, signalCount: Int, failedCount: Int = 0, loadState: LoadState, onClick: () -> Unit, modifier: Modifier = Modifier)

Home-screen list card summarizing one SignalCategory.

Shows the category icon, localized title/subtitle, signal-count chips (with a failure chip when applicable) and a trailing loading/error/chevron indicator based on loadState.

Parameters

category

Category represented by this card.

signalCount

Total collected signals for the category.

failedCount

Number of failed signals; adds an error summary chip when > 0.

loadState

Current load state driving the trailing indicator.

onClick

Invoked when the card is tapped.

modifier

Modifier for layout/styling.