发布

  • [OPIK-6820] [FE] feat: add AI Spend Manager UI (home dashboard + user leaderboard)

    frostbyte_neo 发布于 2026-06-10 09:04:52 +00:00

    Home dashboard: KPI summary cards, AI usage breakdown (token/cost Sankey with
    input/harness/output lanes), and a potential-savings recommendations section
    wired to the breakdown (hover a recommendation to highlight its lane).

    User leaderboard: searchable, sortable, virtualized list with expandable
    per-user usage breakdown; a lane hover popover showing the lane's top spend
    items with "View all"; and a resizable lane-details sidebar (user-scoped:
    user email in the header, recommendations hidden).

    Shared/plumbing: reusable AiUsageBreakdown exposing renderLaneWrapper so parents
    own lane wrappers, lane registry, ProgressBar; AI Spend routing, sidebar entry,
    breadcrumbs, and comet plugin wiring.

    Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

    下载附件