Feat: File filter#2
Conversation
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Add file filtering UI component with include/exclude patterns and dim/hide modes. Integrates useFileFilter hook to filter and style nodes based on file patterns. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e00fdbff4e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // Extract pathname from file:// URI | ||
| let pathname: string; | ||
| try { | ||
| pathname = new URL(node.uri).pathname; | ||
| } catch { |
There was a problem hiding this comment.
Decode URI pathname before glob matching
filterNodes matches patterns against new URL(node.uri).pathname, but VS Code URIs are percent‑encoded (e.g., spaces become %20). That means common patterns users type based on readable paths (like **/My Project/** or a filename with spaces/Unicode) will never match and nodes will be incorrectly dimmed/hidden. Decoding the pathname (e.g., decodeURIComponent(url.pathname)) before picomatch would keep filters aligned with what users see.
Useful? React with 👍 / 👎.
Fixes issue where paths with spaces or Unicode characters (e.g., 'My Project', '日本語') wouldn't match user-typed patterns because URIs are percent-encoded.
No description provided.