sharkio-dev / sharkio

Sharkio is an API proxy for your development environments. It records all the requests that are sent to your API. It allows you to replay the requests easily. Generate types, documentation, test suites, And interact with your API using AI.
https://sharkio.dev/
MIT License
5 stars 1 forks source link

Fake data search #454

Open Tamir198 opened 8 months ago

Tamir198 commented 8 months ago

Adding the option to filter for a faker :

https://github.com/sharkio-dev/sharkio/assets/34707669/24a6196e-e4a5-4d24-b65a-1094bc92b64a

A note: I reset the selection of the fakers by calling initEntries() .

I thought that it was fine not to use debounce or to memoize the filter result because we are talking about a small dataset to be filtered, so it seems okay to keep things as they are.

If you think it's a better idea otherwise, I will add the relevant parts.

ypotter commented 8 months ago

Could you please move the search under the title?

ypotter commented 8 months ago

What if I want to search UUID, which is inside String category. Now I'm not able to do it. Could you add this option?

Tamir198 commented 8 months ago

Added both changes:

image