stencila/designa

CodeExpression outputs not updated after execution

nokome opened this issue · 2 comments

It seems that the output of CodeExpressions is not updated after execution. For this code expression:

Peek 2020-08-16 22-36

the following is sent over Websocket

node: {text: "2 * 2", output: "1,308", programmingLanguage: "r", type: "CodeExpression"}

and this is what comes back,

result: {type: "CodeExpression", text: "2 * 2", programmingLanguage: "r", output: 4, duration: 0.007}

but the number does not update. Maybe the executionHandler?

Thanks for this @alex-ketch. It's relatively minor point is that numbers are rendered as disabled <input type="number"> (?) which is a little confusing

image

hmm, can't seem to reproduce in any of my local browsers (Safari, Chrome, Firefox).
Mind sharing more details about your browser+version please @nokome, and I will take a look through SauceLabs shortly.