dnbard / brackets-postman

Brackets extension to test REST API
http://brackets.dnbard.com/extension/dnbard.postman
18 stars 5 forks source link

Response not visible (only after resizing) and not readable with quick dark theme #1

Open Wikunia opened 9 years ago

Wikunia commented 9 years ago

Hi,

Sounds like an interesting extension ;) Unfortunately I have a problem when I using it with this url: https://api.trello.com/1/cards/5462737a5d1bee45a2d3ba05?checklists=all&members=true&actions=commentCard&member_fields=avatarHash,username,fullName&key=...................................&token=............................. (with key and token :) )

I see this inside Chrome: brackets-postman-trello-url

and this inside your extension: brackets-postman-trello

Edit: Here is a link which doesn't work and has no keys or tokens: http://api.wikunia.de/Movie/movie2actors.php?movie=White_House_Down&format=json

dnbard commented 9 years ago

I'm unable to reproduce it with http://api.wikunia.de/Movie/movie2actors.php?movie=White_House_Down&format=json

image

but I belive you =) Will investigate this issue in close future. Can you provide more links?

Wikunia commented 9 years ago

Hi,

do you see the response body?

dnbard commented 9 years ago

Yep.

image

Do you have any errors in the log related to this extension?

Wikunia commented 9 years ago

Wow that is strange :D I resized the window and it works now but it doesn't look quite well with my theme :/ I am using the Quick Dark theme and there your extension looks like this: brackets-postman-theme

dnbard commented 9 years ago

This might be related to the wrong config that I'm passing to new CodeMirror instance:

{
  theme: ThemeManager.getCurrentTheme().name
  value: "Some text here."
}

If you or someone else know how to initialize new CodeMirror instance in the way that it would use proper Brackets theme, please respond here or do a pull request(to bindings/codemirror.js).

Wikunia commented 9 years ago

I have absolutely no idea how Brackets extension works with this theme stuff :D

JJBocanegra commented 9 years ago

I have the same problem right now, it says 200 OK but can't see anything, but with another REST client it's all there.

GochoMugo commented 9 years ago

:+1:

It is not visible with Brackets's original dark theme