Dashboard tables: sort + search, model cache-read column - #2
Merged
Conversation
- Table: client-side search box and click-to-sort headers (asc/desc, with a hybrid accessor so most columns are sortable by default and custom columns opt in via `sort` / out via `sort: false`). - Wire search + sort accessors into the Functions, Models, Routes, and recent-calls tables. - Models: add a Cache read tokens column. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds client-side search and click-to-sort to the core data tables (Functions, Models, Routes, and the recent-calls table), plus a Cache read column on Models.
Tablenow renders a search box (when asearchaccessor is given) and sortable headers (asc/desc). A hybrid accessor keeps most columns sortable by default; custom/aggregate columns pass asortfunction, non-sortable ones passsort: false.Note: OSS
/v1/usageonly exposescache_read_tokens(no cache-write), so Models gets a Cache read column but no cache-write column.🤖 Generated with Claude Code