wp-api-console icon indicating copy to clipboard operation
wp-api-console copied to clipboard

Query box cut off vertically

Open dmsnell opened this issue 8 years ago • 3 comments

It appears that the Query box gets cut off prematurely regardless of screen size. Tested on mobile and desktop in Safari and Chrome.

To reproduce, open the site and then select /me from the request dropdown at the top. The query parameters should populate but won't all display despite having enough screen space available.

It would be nice to expand this box to accommodate the properties.

screen shot 2017-02-15 at 2 03 53 pm

dmsnell avatar Feb 15 '17 21:02 dmsnell

I guess the idea here is to leave enough space to see the query and the results at the same time (same behaviour as the old console). We make it more obvious that it's scrollable with a shadow or something like that.

youknowriad avatar Feb 16 '17 07:02 youknowriad

See also #35.

Maybe we should also add a section divider or a "no results yet, but you can do some stuff and they will show up" placeholder.

nylen avatar Feb 16 '17 20:02 nylen

It was obvious to me both what was going on and that it was scrollable. I just found that the choice was a bit awkward and could be done much more elegantly.

dmsnell avatar Feb 16 '17 23:02 dmsnell