Expand description
Server-rendered page components.
Structs§
- BarCol
Props - One bar: native tooltip, full-height hit area, the stacked segments and a
selection outline. The wrapper (
<g>+ click handler/link) is added by the caller. - BarCol
Props Builder - Typestate builder for
BarColProps, created byBarColProps::builder().build()becomes available once every required property has been set. - Bars
Chart Props - The bar chart (
<svg>). - Bars
Chart Props Builder - Typestate builder for
BarsChartProps, created byBarsChartProps::builder().build()becomes available once every required property has been set. - Brand
Props - Title with the version, plus the Dashboard / Settings / About tabs.
- Brand
Props Builder - Typestate builder for
BrandProps, created byBrandProps::builder().build()becomes available once every required property has been set. - Charts
Panel Props - Stacked bars over time and the share donut, both clickable.
- Charts
Panel Props Builder - Typestate builder for
ChartsPanelProps, created byChartsPanelProps::builder().build()becomes available once every required property has been set. - Clicks
- What a click on a bar or slice does.
- Dashboard
Body Props - Cards, report and project tables for one
Dashboardsnapshot. - Dashboard
Body Props Builder - Typestate builder for
DashboardBodyProps, created byDashboardBodyProps::builder().build()becomes available once every required property has been set. - Donut
Chart Props - The share donut (
<svg>), its slices sweeping in through a mask. - Donut
Chart Props Builder - Typestate builder for
DonutChartProps, created byDonutChartProps::builder().build()becomes available once every required property has been set. - Filters
Props - GET form that drives the query string.
- Filters
Props Builder - Typestate builder for
FiltersProps, created byFiltersProps::builder().build()becomes available once every required property has been set. - Live
Filters Props - Selects bound to signals: changing one updates the signal in the browser and (because the enclosing shard reads it) re-renders the shard.
- Live
Filters Props Builder - Typestate builder for
LiveFiltersProps, created byLiveFiltersProps::builder().build()becomes available once every required property has been set. - Projects
Table Props - Per-project / per-model breakdown, most expensive first.
- Projects
Table Props Builder - Typestate builder for
ProjectsTableProps, created byProjectsTableProps::builder().build()becomes available once every required property has been set. - Report
Table Props - Aggregated report table with a share-of-tokens bar per line.
- Report
Table Props Builder - Typestate builder for
ReportTableProps, created byReportTableProps::builder().build()becomes available once every required property has been set. - Savings
Panel Props - What prompt caching, rtk and pi compaction saved, per source. Renders nothing when nothing was saved.
- Savings
Panel Props Builder - Typestate builder for
SavingsPanelProps, created bySavingsPanelProps::builder().build()becomes available once every required property has been set. - Selection
BarProps - “Showing …” chips with a clear control, or a hint when nothing is selected.
- Selection
BarProps Builder - Typestate builder for
SelectionBarProps, created bySelectionBarProps::builder().build()becomes available once every required property has been set. - Slice
Path Props - One donut slice (the ring segment with its tooltip).
- Slice
Path Props Builder - Typestate builder for
SlicePathProps, created bySlicePathProps::builder().build()becomes available once every required property has been set. - Summary
Cards Props - Row of headline totals.
- Summary
Cards Props Builder - Typestate builder for
SummaryCardsProps, created bySummaryCardsProps::builder().build()becomes available once every required property has been set. - Theme
Style Props - The active theme’s CSS variables, as a
<style>element. - Theme
Style Props Builder - Typestate builder for
ThemeStyleProps, created byThemeStyleProps::builder().build()becomes available once every required property has been set. - bar_col
- One bar: native tooltip, full-height hit area, the stacked segments and a
selection outline. The wrapper (
<g>+ click handler/link) is added by the caller. - bars_
chart - The bar chart (
<svg>). - brand
- Title with the version, plus the Dashboard / Settings / About tabs.
- charts_
panel - Stacked bars over time and the share donut, both clickable.
- dashboard_
body - Cards, report and project tables for one
Dashboardsnapshot. - donut_
chart - The share donut (
<svg>), its slices sweeping in through a mask. - filters
- GET form that drives the query string.
- live_
filters - Selects bound to signals: changing one updates the signal in the browser and (because the enclosing shard reads it) re-renders the shard.
- projects_
table - Per-project / per-model breakdown, most expensive first.
- report_
table - Aggregated report table with a share-of-tokens bar per line.
- savings_
panel - What prompt caching, rtk and pi compaction saved, per source. Renders nothing when nothing was saved.
- selection_
bar - “Showing …” chips with a clear control, or a hint when nothing is selected.
- slice_
path - One donut slice (the ring segment with its tooltip).
- summary_
cards - Row of headline totals.
- theme_
style - The active theme’s CSS variables, as a
<style>element.
Functions§
- card_
class - CSS class of a card:
card,card costorcard saved. - chart_
title - The bar chart’s title for
metric.