event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.64k stars 135 forks source link

feat: add search via query parameter for events, services and domains (#498) #499

Closed marciovmartins closed 4 months ago

marciovmartins commented 4 months ago

Motivation

Implementing suggestion described here (#498)

Changed the input to be a react managed component and checking if the query string "q" is provided.

Can be tested locally calling http://localhost:3000/events/?q=Order and http://localhost:3000/services/?q=Order and http://localhost:3000/domains/?q=Order

The expected behaviour is that the result list be filtered by the term in the query parameter "q".

Let me know if you have a different suggestion for query parameter.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: e82126498e86172741ac60b3f76fabe17193c582

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------ | ----- | | @eventcatalog/core | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **eventcatalog-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/davidboyne123s-projects/eventcatalog-docs/9KnLemoCbWjKJxHz2uyiNBPX8y6o)) | [Visit Preview](https://eventcatalog-docs-git-fork-marci-a45caf-davidboyne123s-projects.vercel.app) | | Apr 12, 2024 7:34am | | **eventcatalog-example** | ⬜️ Ignored ([Inspect](https://vercel.com/davidboyne123s-projects/eventcatalog-example/4x5sqpoMZs64xiJpnHrc39EQdnQo)) | [Visit Preview](https://eventcatalog-example-git-fork-ma-7d9159-davidboyne123s-projects.vercel.app) | | Apr 12, 2024 7:34am |
boyney123 commented 4 months ago

Thank you @marciovmartins !

boyney123 commented 4 months ago

@all-contributors add @marciovmartins for code

allcontributors[bot] commented 4 months ago

@boyney123

I've put up a pull request to add @marciovmartins! :tada: