use fission::prelude::*;
// In view: derive the count from authoritative records, not the current page.
Stat(
label: cx.tr("issues.open"),
value: state.open_issue_count.to_string(),
)
Field | Type | Meaning | Notes / default behavior |
|---|---|---|---|
label | String | Small explanatory label above the value. | Required. |
value | String | Main emphasized value. | Required. Format numbers, currency, or percentages upstream. |
help_text | Option<String> | Extra context below the value. | Defaults to None. |