Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4ce8cf7
build: adopt shadcn, themed to this app's metrics rather than its def…
fylorn Sep 15, 2026
c3dce5d
refactor: hand the checkboxes and 60 buttons to shadcn
fylorn Sep 15, 2026
b736f24
refactor: hand the inputs and every dropdown to shadcn
fylorn Sep 15, 2026
12d6972
refactor: every overlay in the app is now a shadcn Dialog
fylorn Sep 15, 2026
307cb60
refactor: tables, and colours that come from the theme instead of the…
fylorn Sep 15, 2026
db9ac65
refactor: the option sets, the tab bar, and the source list
fylorn Sep 15, 2026
70e5a3c
fix: line heights were a ratio in the wrong place, and the collapsed …
fylorn Sep 15, 2026
d201357
fix: every borderless border was drawing in the text colour
fylorn Sep 15, 2026
522af74
fix: nothing in the collapsing rail gets centred, so nothing has to s…
fylorn Sep 15, 2026
b7d0518
refactor: the last hand-written buttons, and every banner and chip
fylorn Sep 15, 2026
886c3fe
refactor: the icons come from lucide and the charts from recharts
fylorn Sep 15, 2026
af2e078
refactor: the interactions, not just the widgets
fylorn Sep 15, 2026
bd90299
refactor: one place for errors, and the drawer becomes a Sheet
fylorn Sep 15, 2026
f56ac38
fix: the guard mode buttons never once worked
fylorn Sep 15, 2026
1842a3e
refactor: the dropdowns go back to native, and the guard rows become …
fylorn Sep 15, 2026
932706b
feat: a draggable split, and the rest of the registry that fits
fylorn Sep 15, 2026
7869df8
feat: drop "save as fixture", and check the rest of the UI for the sa…
fylorn Sep 15, 2026
9a64021
fix: the drawer's close button sat on the header rule, and stole focus
fylorn Sep 15, 2026
206a838
fix: the focused panel was painting a blue edge
fylorn Sep 15, 2026
471b41f
fix: the toolbar button read inverted and scrolled away; put the page…
fylorn Sep 15, 2026
f6b2228
feat: a time range on the overview, and copy that reads like a product
fylorn Sep 15, 2026
a36ed36
fix: undo a find-and-replace that rewrote 全部 as 不限
fylorn Sep 15, 2026
49010b2
feat: the traffic table answers model, tokens and cost
fylorn Sep 15, 2026
7f2ab87
feat: both pages keep their shape before the data arrives
fylorn Sep 15, 2026
e2b6a25
fix: a long model name could still stretch its column
fylorn Sep 15, 2026
33d0123
fix: the overview flickered because it redrew data that had not changed
fylorn Sep 15, 2026
8bd24fe
feat: nothing polls any more
fylorn Sep 15, 2026
f18f7d4
feat: rebuild the overview around the two questions it should answer
fylorn Sep 15, 2026
ecd4bc1
feat: the overview leads with usage, not only cost
fylorn Sep 16, 2026
092bd3b
feat: the chart switches to usage, the legend becomes a ranking, and …
fylorn Sep 16, 2026
0bdd1f0
feat: a live mode, and an overview built around one instrument
fylorn Sep 16, 2026
dbf25c9
fix: hold the layout when a range has no data, and stop asserting one…
fylorn Sep 16, 2026
b648ac5
fix: the overview stopped moving when you switch ranges
fylorn Sep 16, 2026
a98a894
fix: two different dimensions had become one row of seven pills
fylorn Sep 16, 2026
4ad90b5
feat: the headline numbers count up instead of jumping
fylorn Sep 16, 2026
6e9be2f
feat: live mode shows cost too, and nothing re-reads the database for it
fylorn Sep 16, 2026
0a8ae41
feat: a connection surface, so "not up yet" stops arriving as errors
fylorn Sep 16, 2026
1cabc1c
fix: a user should not be told to run cargo
fylorn Sep 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ src-tauri/gen

# tsc -b 的增量缓存
*.tsbuildinfo

# 装进来的 agent skill 正文。
#
# **只留 skills-lock.json,不留内容。**那是 328K 第三方文本、没带
# LICENSE,而这是个 MIT 的公开仓库。锁文件里有来源和哈希,谁都能用
# `pnpm dlx skills add shadcn/ui` 取回一模一样的一份 —— 和
# node_modules 与 pnpm-lock.yaml 是同一个分工。
.agents/
.claude/
25 changes: 25 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "radix-nova",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "",
"css": "src/index.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"rtl": false,
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"menuColor": "default",
"menuAccent": "subtle",
"registries": {}
}
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,27 @@
"test": "vitest run"
},
"dependencies": {
"@base-ui/react": "^1.8.0",
"@codemirror/commands": "^6.11.0",
"@codemirror/lang-yaml": "^6.1.3",
"@codemirror/language": "^6.12.4",
"@codemirror/state": "^6.7.4",
"@codemirror/view": "^6.43.11",
"@tauri-apps/api": "^2.9.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.4.0",
"lucide-react": "^1.45.0",
"radix-ui": "^1.6.7",
"react": "^19.2.0",
"react-dom": "^19.2.0"
"react-day-picker": "^10.0.1",
"react-dom": "^19.2.0",
"react-resizable-panels": "^4.12.4",
"recharts": "3.8.0",
"shadcn": "^4.21.0",
"sonner": "^2.0.8",
"tailwind-merge": "^3.7.0",
"tw-animate-css": "^1.4.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.0",
Expand Down
Loading
Loading