Restsplain
Restsplain copied to clipboard
Pains of a 13" screen
Parts of the view kind of fall apart on a 13" screen since it's just not quite large enough for all of this data. I had a couple of ideas on how this could be eased a bit.
- Make the response section draggable to be larger - would show a lot more data and be more usable if you could pull it bigger
- Tables kind of don't work well here - possible add some padding around the cells or make the font within the cells smaller?
- It would be super cool if the Response section was fixed and scrolled down the screen with you. If feels a little lonely? (not sure what to call it) when you scroll down and there's empty on the left and right.
Happy to do any of these myself if you like the ides
One of the issues could be the theme you're using - it's pretty minimal styling wise out of the box but we could perhaps add some more in.
See it in TwentySeventeen for example, lots of base typography that gets picked up.
Some sticky sections would be cool but I let it out for now as it's responsive currently. Would get a bit complicated I think but worth a look for sure.
Maybe make the response section expand to an additional optional screen (akin to the chrome inspector).
The idea was originally from the feeling restful site response display. I'd thought about positioning it to the bottom and expanding /contracting it like that. Could definitely benefit from a lot more UI space but I also don't want the docs column to be super wide because it's horrible to read like that.
Something I haven't documented is that I made it possible to embed the docs anywhere via a shortcode which limited options in terms of sticky UI elements but probably better to abandon that idea and focus on a better full page UX.
Robert O'Rourke Senior WordPress Engineer humanmade
*phone: *+447816329424 email: [email protected] skype: rob.o.rourke twitr: @robertorourke https://twitter.com/robertorourke
Got it, ya very likely that my theme is messing with things. 👍