Skip to content

previous-draft/dashboard/index.html

Comment 1, line 8

previous-draft/dashboard/index.html:8

/* Standalone fallback theme; Kimi Work host CSS variables override it. */

Comment 2, line 32

previous-draft/dashboard/index.html:32

/* Top bar. */

Comment 3, line 43

previous-draft/dashboard/index.html:43

/* Shared panels. */

Comment 4, line 51

previous-draft/dashboard/index.html:51

/* Today's statistics strip. */

Comment 5, line 58

previous-draft/dashboard/index.html:58

/* Three charts for today. */

Comment 6, line 67

previous-draft/dashboard/index.html:67

/* Controls. */

Comment 7, line 75

previous-draft/dashboard/index.html:75

/* Summary cards. */

Comment 8, line 86

previous-draft/dashboard/index.html:86

/* Tables. */

Comment 9, line 112

previous-draft/dashboard/index.html:112

<!-- Today view. -->

Comment 10, line 137

previous-draft/dashboard/index.html:137

<!-- Historical trends. -->

Comment 11, line 202

previous-draft/dashboard/index.html:202

// Sample data displayed before the first collected result.

Comment 12, line 260

previous-draft/dashboard/index.html:260

// Read host theme variables with fallback colors.

Comment 13, line 290

previous-draft/dashboard/index.html:290

// ECharts wrapper.

Comment 14, line 300

previous-draft/dashboard/index.html:300

// Dispose the chart and show a placeholder when no data exists.

Comment 15, line 315

previous-draft/dashboard/index.html:315

/* Skip rendering errors in the smoke-test sandbox. */

Comment 16, line 342

previous-draft/dashboard/index.html:342

// Today view.

Comment 17, line 352

previous-draft/dashboard/index.html:352

// Today totals: input, cached/uncached input, output, hit ratio, and requests.

Comment 18, line 371

previous-draft/dashboard/index.html:371

// Prototype hour axis fills gaps with zero through the current/latest data hour.

Comment 19, line 386

previous-draft/dashboard/index.html:386

// Today's tool/model detail chips.

Comment 20, line 489

previous-draft/dashboard/index.html:489

// Today's bars group totals by Agent/model without a time axis.

Comment 21, line 494

previous-draft/dashboard/index.html:494

// Sort ascending; displayed bars run descending from top to bottom.

Comment 22, line 519

previous-draft/dashboard/index.html:519

// Historical trends.

Comment 23, line 535

previous-draft/dashboard/index.html:535

// Group by ISO week.

Comment 24, line 537

previous-draft/dashboard/index.html:537

// Monday is zero.

Comment 25, line 550

previous-draft/dashboard/index.html:550

// Thursday in this ISO week.

Comment 26, line 562

previous-draft/dashboard/index.html:562

// Stop paging when the entire window precedes the earliest data.

Comment 27, line 578

previous-draft/dashboard/index.html:578

// Selecting a point filters cards and details to its period.

Comment 28, line 633

previous-draft/dashboard/index.html:633

// Grouping modes: total, model, or agent.

Comment 29, line 646

previous-draft/dashboard/index.html:646

// Agent/model series use Agent colors; other modes color by series.

Comment 30, line 660

previous-draft/dashboard/index.html:660

// Sum raw values by period/series and derive hit ratio from those sums.

Comment 31, line 754

previous-draft/dashboard/index.html:754

// Render entry point.

Comment 32, line 780

previous-draft/dashboard/index.html:780

// Event handlers.

Comment 33, line 873

previous-draft/dashboard/index.html:873

// Check available host APIs at startup for the Binding smoke-test sandbox.

Comment 34, line 874

previous-draft/dashboard/index.html:874

// Standalone mode fetches data.json beside this page and renders its snapshot.

Comment 35, line 908

previous-draft/dashboard/index.html:908

/* Keep static rendering in the smoke-test sandbox. */