From 3989b9fc7f4f7dfed0676dc9b9b7b22f29c14bd8 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 20 Nov 2025 10:31:33 -0500 Subject: [PATCH] wip: zen --- packages/console/app/src/component/icon.tsx | 11 +++++++++++ .../app/src/routes/workspace/[id]/usage-section.tsx | 7 ++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/packages/console/app/src/component/icon.tsx b/packages/console/app/src/component/icon.tsx index 7bf203638..55f0940a0 100644 --- a/packages/console/app/src/component/icon.tsx +++ b/packages/console/app/src/component/icon.tsx @@ -236,3 +236,14 @@ export function IconChevronRight(props: JSX.SvgSVGAttributes) { ) } + +export function IconBreakdown(props: JSX.SvgSVGAttributes) { + return ( + + + + + + + ) +} diff --git a/packages/console/app/src/routes/workspace/[id]/usage-section.tsx b/packages/console/app/src/routes/workspace/[id]/usage-section.tsx index 5c461b89d..212904f3f 100644 --- a/packages/console/app/src/routes/workspace/[id]/usage-section.tsx +++ b/packages/console/app/src/routes/workspace/[id]/usage-section.tsx @@ -3,7 +3,7 @@ import { createAsync, query, useParams } from "@solidjs/router" import { createMemo, For, Show, createEffect, createSignal } from "solid-js" import { formatDateUTC, formatDateForTable } from "../common" import { withActor } from "~/context/auth.withActor" -import { IconChevronLeft, IconChevronRight } from "~/component/icon" +import { IconChevronLeft, IconChevronRight, IconBreakdown } from "~/component/icon" import styles from "./usage-section.module.css" import { createStore } from "solid-js/store" @@ -113,10 +113,7 @@ export function UsageSection() { setOpenBreakdownId(isOpen() ? null : breakdownId) }} > - - - - + setOpenBreakdownId(null)}>{totalInputTokens()}