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

Align the main inputs in one line for better vertical space use #79

Closed
sabi0 opened this issue May 9, 2017 · 3 comments
Closed

Align the main inputs in one line for better vertical space use #79

sabi0 opened this issue May 9, 2017 · 3 comments

Comments

@sabi0
Copy link

sabi0 commented May 9, 2017

Super-long Method drop-down is a waste of space.
I'd suggest to put all the three main controls in one line for a streamlined and more concise UI.

The Method drop-down does not need a label (everyone using RESTED knows what GET / POST is, I believe).
And for the URL the 'http://...' hint is enough (and is more in line with the hint-labels for other controls - Name / Value in Headers, Username / Password)

Check the mockup:
mockup.png

@eliihen
Copy link
Member

eliihen commented Jun 8, 2017

Thanks for the suggestion, I'm open to suggestions to improving the UX of the extension. We need to keep design for screen reader users though, so in the mockup above we need to include hidden labels for the fields.

As for the URL, the URL in the placeholder is part an easter egg and part a dev tool. It is very convenient for me to be developing the extension and just press "enter" to get a result instead of having to type a URL all the time. So it will stay, unless someone can provide a very convincing reason for it not to.

@sabi0
Copy link
Author

sabi0 commented Jun 20, 2017

the URL in the placeholder is part an easter egg and part a dev tool

This is actually a good idea for a preference.
I also use the same address most of the time. So it would be nice if it was there right when I open RESTED.

Also 99% of the requests I make are POSTs with some JSON body. (I use browser's address bar for GETs)
So it would be great if there was an option to specify that I want method to be set to POST and body expanded when I open RESTED. That would save me some annoying clicks I have to do every time I open RESTED.

You could probably make the add-on remember the last used "layout" instead of adding extra preferences options.

@hdwilber
Copy link
Contributor

hdwilber commented Apr 4, 2018

Hi, there.
I would like to contribute to solve this issue. These are my screenshots. However, I am not sure how PR are opened for this repository.

Request fields when custom is not selected

Request fields without selecting custom

Request fields when custom is selected

selection_007

eliihen pushed a commit that referenced this issue Apr 15, 2018
Request inputs aligned in one line for better vertical space use #79
@eliihen eliihen closed this as completed Apr 15, 2018
@eliihen eliihen mentioned this issue Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants