Skip to content

Reports: one shell, navigation, theme, table and label system across tracks #396

In review

Description

@lanyue-llk

Found in the reader review of all tracks after the convergence refactor (built fixture reports for every track plus the five published Yours reports, 1440/390 px, light/dark, zh/en). Rendered output was deliberately unchanged during the refactor, so these are pre-existing. Fix in the shared layer wherever possible so every track benefits; baselines change intentionally — explain each change and keep measured values identical. Verify with screenshots at 1440 and 390, light and dark, zh and en.

Findings (shared layer)

  • A1 (high) Five visual systems: Web Fetch/WCXB (11-item text nav + hero), Search (pill nav), Extract (uppercase English eyebrow, tab buttons, hand-formatted header at web_extract/report.py:286), Browser Use/Replay (own CSS), curated replay (fifth style). shell.page should own one header: title, ≤6 primary items + "More", fixed language/theme positions, one token set; track templates supply only entries and sections.
  • A2 Three theme mechanisms (body.dark + wcxb-theme key, html[data-theme], only Search follows prefers-color-scheme); curated replay has no dark theme. One bootstrap: stored choice else system preference.
  • A3 (high) At 390 px the nav wraps 3–5 rows (~170 px); the language pill covers tabs. One-row scrollable nav or a menu below 700 px.
  • A4 (high) Primary tables clipped even at 1440 with no cue (WCXB page types, Web Fetch P95, Browser Use tokens, Codex ranking); at 390 the headline metric is off-screen. shell.table: sticky first column, edge shadow + swipe hint, primary metric right after the name, wide tables may break out of the text column, Mean/P50/P95 folded into one cell in summaries.
  • A5 Highlights without a contest: single-method reports all green; "★0.00 元" beats "未定价"; F1 highlighted with 0/3 annotated. Winners need ≥2 available values; unpriced/unannotated are unavailable; negative controls.
  • A9 No empty states: header-only tables, sections holding only a toggle, "原始错误" on a success. shell.table(empty=…), drop empty sections.
  • A11 Labels: raw ids in body cells (moli-pr643, synthetic-blocked, chromium, fixture · test_only, round_off_baseline); English in zh editions ("1 calls · 21 characters", "Mean", "WEB EXTRACT / …"); English plurals ("1 methods") and missing spaces ("basis:Every"). Registry display-name helper, plural helper in locales.py, separators owned by the label component, release check for raw ids and untranslated zh text.
  • A12 Number formats ("100.0000%" next to "100.0%", "200.00 ms", "1.000 秒"): one formatter per unit in presentation.py.
  • A14 Accessibility: unnamed icon buttons, empty <h2>/<summary>, sortable action columns, bare-text theme toggle; release check.
  • A15 Web Fetch loads Mermaid from a CDN at runtime; vendor it once in reporting/ (Lexbench already does), keep the narrow-width fallback.

Owners: reporting/shell.py, reporting/report-style.css, reporting/presentation.py, reporting/locales.py, track templates, Web Fetch report.js, web_extract/report.py.

Activity

  1. added
    enhancement
    on Nov 25, 2026
  2. lanyue-llk commented on Nov 25, 2026

    @lanyue-llk
    ContributorAuthor

    Status after #403 (merged): A1, A2, A3, A5, A9, A12, A14 done — one shared header (≤6 items + More), one theme bootstrap (stored choice else system), 79 px header at 390 px, winners need two available values, shell.table(empty=…), one precision per unit, check_shell/check_labels in the release gate.

    Remaining, to do together with the detail-page and visualization redesign (#405):

    • A4: primary metric right after the name; fold Mean/P50/P95 into one cell in summaries; let wide tables break out of the text column.
    • A11: registry display-name helper (no raw ids in body cells) and a release check for raw ids / untranslated zh text.
    • A15: vendor Mermaid once in reporting/ (Web Fetch still loads it from a CDN at runtime).
    • Web Fetch extension packages keep a byte-bound style.css, so shell styles are injected by script; revisit when those packages are rebuilt.
    • Replay detail pages show an English h1 ("Task dynamic-list") on Chinese pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions