firecamp-io / firecamp

VSCode for APIs, Postman Alternative.
https://firecamp.dev
317 stars 22 forks source link

WS - Response UI get disturb. #129

Closed shreya-gr closed 3 years ago

shreya-gr commented 4 years ago

Describe the bug in WS of Firecamp client, while using JSON as the message req payload, response UI get's disturbed and overlapped. Send and receiving messages both get overlapped.

To Reproduce Steps to reproduce the behavior:

  1. URL wss://api.crosstower.com/api/2/ws
  2. JSON request message payload JSON { "method": "getSymbol", "params": { "symbol": "ETHBTC" }, "id": 123 }
  3. Click on the Send button.
  4. Observe the Response.

Expected behavior Due to overlap, sending messages can't scroll, copy.

Screenshots 0r Video Screen Shot 2020-08-14 at 10 38 40 AM

Platform (please complete the following information):

Additional context Add any other context about the problem here.

shreya-gr commented 4 years ago

Receiving messages must be in clear JSON Style. ie. JSON


  "jsonrpc": "2.0",
  "result": {
    "id": "ETHBTC",
    "baseCurrency": "ETH",
    "quoteCurrency": "BTC",
    "quantityIncrement": "0.001",
    "tickSize": "0.000001",
    "takeLiquidityRate": "0.001",
    "provideLiquidityRate": "-0.0001",
    "feeCurrency": "BTC"
  },
  "id": 123
}```
Nishchit14 commented 3 years ago

Firecamp v2.0 released.