Skip to content

Add trace path exclude filter#63

Open
rogierx wants to merge 1 commit into
tsperf:mainfrom
rogierx:codex/exclude-path-filter
Open

Add trace path exclude filter#63
rogierx wants to merge 1 commit into
tsperf:mainfrom
rogierx:codex/exclude-path-filter

Conversation

@rogierx
Copy link
Copy Markdown

@rogierx rogierx commented May 20, 2026

Addresses part of #41.

This adds an Exclude Paths filter to the trace view. The field accepts comma- or newline-separated path fragments, normalizes them case-insensitively, and filters matching trace nodes and their children out of the displayed tree. That makes common presets such as node_modules or lib.dom.d.ts possible without changing the storage layer or introducing a larger query system.

The filter state is included in the shared filterTree message shape with a default for backwards compatibility.

Validation:

  • pnpm exec vitest run test/index.test.ts
  • pnpm run typecheck
  • pnpm exec eslint src/treeFilters.ts src/traceTree.ts src/handleMessages.ts shared/src/messages.ts ui/app.vue test/index.test.ts
  • pnpm exec nuxt build ui
  • pnpm exec rollup -c
  • git diff --check

@rogierx rogierx requested a review from danielroe as a code owner May 20, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant