sbine / nova-route-viewer

Route viewer tool for Laravel Nova
MIT License
59 stars 9 forks source link

Update button & some on the arrays #4

Closed antonioribeiro closed 6 years ago

antonioribeiro commented 6 years ago

I probably need an update button on it, for now I'm just clicking on a different tool and then getting back to route viewer, but I, then, have to filter what I was watching again.

You could also simplify those arrays a bit, IMO:

GET, HEAD

is easier to read than

[ "GET", "HEAD" ]

But I also like the colouring approach:

image

Nice package, by the way, thanks for creating it!

sbine commented 6 years ago

This is a great idea! Someone on Twitter suggested it as well. I'm happy to accept a PR for this, or will work on it myself when I have some time.

antonioribeiro commented 6 years ago

Partially done in https://github.com/sbine/nova-route-viewer/pull/5