Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quicker UI support for multiple responses on the same route #3

Open
symkat opened this issue Apr 20, 2019 · 2 comments
Open

Quicker UI support for multiple responses on the same route #3

symkat opened this issue Apr 20, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@symkat
Copy link

symkat commented Apr 20, 2019

What you did:

Installed it and have started playing around with it... this is awesome, thank you so much for developing it and putting it out there!

Problem description:

There are times when I want the same route to respond with a different payload. For example, suppose testing how a collection/list of objects displays with attributes set differently / no objects / one / many, etc. It would be neat to have this be supported really well.

Suggested solution:

  1. Add a 'Duplicate' button in line with 'Edit' and 'Delete' on the index page - this will make it easier to add the same route information over again.

  2. Have the 'Disable Route' checkbox available on the front page.

With these two additions to the UI the process of having responses on the same endpoint would be quicker. A step further would be perhaps grouping together entries that target the same path in the listing.

Screen Shot 2019-04-20 at 7 07 45 AM

I literally have an item on my whiteboard 'Quick API for testing' that this just solved, thank you so much. Found it via the HN post =)

@dawsbot
Copy link

dawsbot commented Apr 21, 2019

I love that idea about making it possible to disable the route from this page. Perhaps that should be its own issue so that someone can pluck that off the stack and tackle it standalone from the other suggestion above?

@boyney123 boyney123 added the enhancement New feature or request label Apr 22, 2019
@boyney123
Copy link
Owner

Thanks @symkat for the ideas 👍

Yeah I will add this to the backlog of ideas, if somebody wants to explore and see if they could implement the two features (two seperate PRS would be great) feel free!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants