nujan-io / nujan-ide

Web IDE, powered by Nujan, is your ultimate browser-based IDE designed to simplify the journey of writing, testing, compiling, deploying, and interacting with smart contracts on TON. Write smart contracts from anywhere, No setups, no downloads, just pure convenience and versatility.
https://ide.nujan.io
Other
112 stars 12 forks source link

In cases of connection issues, Nujan doesn't provide meaningful info #15

Closed novusnota closed 3 months ago

novusnota commented 6 months ago

Observed behaviour

Build & deploy to Sandbox work as intended (or seem that way), however pressing any of the getter/receiver activation buttons results in a cryptic message in the logs panel:

image

Where t[f] is not a function is caused by pressing on getter buttons, while Invalid message type is caused by pressing on receiver buttons.

Expected behavior or possible solutions

A pop-up or some sort of notification about connection issues. Maybe, just a message in the logs about the disconnect.

rahulyadav-57 commented 3 months ago

@novusnota Could you help me to reproduce this issue?

novusnota commented 3 months ago

@rahulyadav-57 actually, I've just tried to reproduce it by disabling the wifi connection in the middle of the work session and it seems to continue running builds and deployments in Sandbox just fine even offline.

Therefore, I consider this issue resolved (probably in https://github.com/nujan-io/nujan-ide/commit/26f4efd29c31507b7b2b56b90de3f15ea9d3eecb) :)