NEARStudio icon indicating copy to clipboard operation
NEARStudio copied to clipboard

Don't open the new page before successful compilation

Open evgenykuzyakov opened this issue 5 years ago • 3 comments

Studio opens a new page even if the contract compilation fails.

evgenykuzyakov avatar Mar 05 '19 18:03 evgenykuzyakov

We have to open new page before we know compilation results, as otherwise popup will get blocked (has to be opened as reaction to user action, i.e. Run button).

If it's not closed when compilation fails – it's a bug however. I think there are some edge cases.

vgrichina avatar Mar 05 '19 19:03 vgrichina

We should compile on Save (if TS code is modified). And only enable "Run" button when the compilation succeeds

evgenykuzyakov avatar Mar 06 '19 15:03 evgenykuzyakov

let's deal with it after moving from WASMStudio

vgrichina avatar Mar 06 '19 20:03 vgrichina