reactotron icon indicating copy to clipboard operation
reactotron copied to clipboard

feat(reactotron-app): Network tab with api responses

Open finalquest opened this issue 1 year ago • 7 comments

Please verify the following:

  • [ x] yarn build-and-test:local passes
  • [ x] I have added tests for any new features, if relevant
  • [ ] README.md (or relevant documentation) has been updated with your changes

Describe your PR

I made a new network tab to group the api.responses messages. Made a custom command to clear all the commands that are/not are api. Removed the api filter from the Timeline modal

Next Steps

This changes only moved the rendered cell to another list. I think that the command list should be splitted in commands and networkCommands. The current solution works over the full command list. Maybe we should make a right sidebar with all the header/request/response. Something like Flipper have

finalquest avatar Apr 20 '24 02:04 finalquest

Hello 👋 Do you have a preview image of the effect

GrinZero avatar Jul 15 '24 07:07 GrinZero

Hello 👋 Do you have a preview image of the effect

Hey. Sorry for the late response. I didn't saw the notification

Screenshot 2024-08-22 at 3 32 32 PM

finalquest avatar Aug 22 '24 18:08 finalquest

That looks great! Makes sense to give network requests its own tab and a separate panel for details.

jzaefferer avatar Sep 03 '24 10:09 jzaefferer

Looks like this is a duplicate of https://github.com/infinitered/reactotron/pull/1426 though.

jzaefferer avatar Sep 03 '24 10:09 jzaefferer