reactotron icon indicating copy to clipboard operation
reactotron copied to clipboard

feat: deep search

Open maxkomarychev opened this issue 5 years ago • 1 comments

Currently reactoron only tests field if it is a string but this does not work well if tron.log is called with arrays or objects.

This change tries to stringify value and test it against search condition.

maxkomarychev avatar Mar 24 '20 10:03 maxkomarychev

well maybe that's a bit brute force solution. I could change it to traverse structures deeply but imo stringify is better since it's actually filtering by keys in objects lmk if that's good, thanks :)

maxkomarychev avatar Mar 24 '20 13:03 maxkomarychev

Thanks for this idea. This is probably a long time coming... closing this in favor of #1417. I'm going to have some people test it out and see if this adversely affects performance or not. And if not, we'll merge it. This should make timeline searching much better!

markrickert avatar Jan 24 '24 01:01 markrickert