Skip to content

Add useFilteredTestCases hook - #545

Merged
davidjgoss merged 2 commits into
mainfrom
use-filtered-test-cases
Jul 22, 2026
Merged

Add useFilteredTestCases hook#545
davidjgoss merged 2 commits into
mainfrom
use-filtered-test-cases

Conversation

@davidjgoss

Copy link
Copy Markdown
Member

🤔 What's changed?

Adds a useFilteredTestCases hook for getting test case data for a truly test case-centric view (e.g. the timeline in #524) which still honours status/tag/search criteria.

Much of this has been factored out from the existing useFilteredDocuments hook, in particular the code that deals with creating and managing the text search index, which is now nicely abstracted away.

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 22, 2026

Copy link
Copy Markdown

Deploying react-components with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5e712e2
Status: ✅  Deploy successful!
Preview URL: https://4288ca2e.react-components-9pg.pages.dev
Branch Preview URL: https://use-filtered-test-cases.react-components-9pg.pages.dev

View logs

@davidjgoss
davidjgoss marked this pull request as ready for review July 22, 2026 13:05
@davidjgoss
davidjgoss merged commit 1a08e57 into main Jul 22, 2026
3 checks passed
@davidjgoss
davidjgoss deleted the use-filtered-test-cases branch July 22, 2026 13:06
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