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

Action buttons below request body table should only be shown when examples tab selected #988

Open
marshmn opened this issue Dec 27, 2023 · 1 comment

Comments

@marshmn
Copy link

marshmn commented Dec 27, 2023

The action buttons below the request body table ('Fill Example', 'Clear', 'Try') only really make sense in context of the examples tab. If you have the schema tab open and you click the 'Clear' button for example, you don't see the effect of that until you switch back to the examples tab, which can be confusing.

It would be better if these buttons were only visible when the schema tab is selected.

Screenshot from 2023-12-27 13-01-58

@mrin9
Copy link
Collaborator

mrin9 commented Sep 27, 2024

this is bit more trickier than that. There can be other inputs like Query-Params , Path-Params, multipart form data like this where some section shows input values and some shows schema.

  • Will you still hide those buttons ?
  • will it confuse the user why he isn't seeing a TRY button if the default tab is set to schema

I will extended the question to our clients to receive feedback, meanwhile people can also provide there opinion here . I will keep it open for some more time before we make a decision on it

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

No branches or pull requests

2 participants