Skip to content

Commit 6639d72

Browse files
jakeleventhalclaude
andcommitted
feat(web): show the usage shortcut in the command palette
The palette's "Open usage" action now displays the `usage.open` binding like other palette actions, and the Usage docs mention the palette entry point. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 1349d9f commit 6639d72

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/web/src/components/CommandPalette.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,7 @@ function OpenCommandPaletteDialog(props: {
20472047
searchTerms: ["usage", "use", "tokens", "cost", "spend", "limits", "stats", "analytics"],
20482048
title: "Open usage",
20492049
icon: <ChartNoAxesColumnIcon className={ITEM_ICON_CLASS} />,
2050+
shortcutCommand: "usage.open",
20502051
run: async () => {
20512052
await navigate({ to: "/usage" });
20522053
},

‎docs/user/usage.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Usage and limits
22

3-
Open **Usage** from the sidebar, or press `mod+u` on web and desktop when the terminal
4-
is not focused. Customize `usage.open` in **Settings → Keybindings**.
3+
Open **Usage** from the sidebar or the command palette, or press `mod+u` on web and
4+
desktop when the terminal is not focused. Customize `usage.open` in
5+
**Settings → Keybindings**.
56

67
## Understand your usage
78

0 commit comments

Comments
 (0)