|
@@ -332,7 +332,9 @@ function ModelOverview(props: { data: StatsModelData | null }) {
|
|
|
<SectionTitle title="Overview" description="Recent OpenCode Go tokens, sessions, and market position." />
|
|
<SectionTitle title="Overview" description="Recent OpenCode Go tokens, sessions, and market position." />
|
|
|
<Show
|
|
<Show
|
|
|
when={props.data}
|
|
when={props.data}
|
|
|
- fallback={<ModelEmptyState title="No usage summary" description="This model has no OpenCode Go usage rows yet." />}
|
|
|
|
|
|
|
+ fallback={
|
|
|
|
|
+ <ModelEmptyState title="No usage summary" description="This model has no OpenCode Go usage rows yet." />
|
|
|
|
|
+ }
|
|
|
>
|
|
>
|
|
|
{(data) => (
|
|
{(data) => (
|
|
|
<div data-component="model-metric-grid">
|
|
<div data-component="model-metric-grid">
|
|
@@ -524,7 +526,9 @@ function ModelGeoBreakdownSection(props: { data: Record<UsageRange, CountryEntry
|
|
|
<SectionTitle title="Geo Breakdown" description="OpenCode Go model tokens used by country." />
|
|
<SectionTitle title="Geo Breakdown" description="OpenCode Go model tokens used by country." />
|
|
|
<Show
|
|
<Show
|
|
|
when={data().length > 0}
|
|
when={data().length > 0}
|
|
|
- fallback={<ModelEmptyState title="No geo data" description="No OpenCode Go geo_stat rows matched this model." />}
|
|
|
|
|
|
|
+ fallback={
|
|
|
|
|
+ <ModelEmptyState title="No geo data" description="No OpenCode Go geo_stat rows matched this model." />
|
|
|
|
|
+ }
|
|
|
>
|
|
>
|
|
|
<div data-component="geo-breakdown">
|
|
<div data-component="geo-breakdown">
|
|
|
<div data-slot="geo-map-panel">
|
|
<div data-slot="geo-map-panel">
|