diff --git a/.changeset/fix-history-filters.md b/.changeset/fix-history-filters.md new file mode 100644 index 00000000..6cb2d32e --- /dev/null +++ b/.changeset/fix-history-filters.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Fix Workspace and Favorites history filters to work independently instead of being mutually exclusive diff --git a/CLAUDE.md b/CLAUDE.md index 4e941e07..c898cbf1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -14,6 +14,9 @@ This file is the secret sauce for working effectively in this codebase. It captu **What NOT to add:** Stuff you can figure out from reading a few files, obvious patterns, or standard practices. This file should be high-signal, not comprehensive. +## Miscellaneous +- This is a VS Code extension—check `package.json` for available scripts before trying to verify builds (e.g., `npm run compile`, not `npm run build`). + ## gRPC/Protobuf Communication The extension and webview communicate via gRPC-like protocol over VS Code message passing. diff --git a/webview-ui/src/components/history/HistoryView.tsx b/webview-ui/src/components/history/HistoryView.tsx index 97d57186..b41ef613 100644 --- a/webview-ui/src/components/history/HistoryView.tsx +++ b/webview-ui/src/components/history/HistoryView.tsx @@ -334,6 +334,8 @@ const HistoryView = ({ onDone }: HistoryViewProps) => { Most Relevant + +
setShowCurrentWorkspaceOnly(!showCurrentWorkspaceOnly)}> @@ -342,13 +344,15 @@ const HistoryView = ({ onDone }: HistoryViewProps) => { Workspace - setShowFavoritesOnly(!showFavoritesOnly)}> + setShowFavoritesOnly(!showFavoritesOnly)}> Favorites - +