Closed aedwardg closed 2 years ago
Thanks for the great report!
I believe this is an issue related to newlines on Windows vs Unix. Right @jonatanklosko?
@josevalim changes to the source are applied as diffs, and multiple manipulations are multiple diffs, so this definitely seems like the newlines issue.
@aedwardg can you please try to run livebook from the main branch and verify that it's no longer an issue? :)
@jonatanklosko I'll try to take a look after work.
This morning I tried downloading Livebook main branch using Escript, but I got an error in the console saying it required Elixir 1.14.0rc. I then noticed that rebar2
support was removed in 1.14.0rc0. Does this mean I won't be able to follow the Escript installation instructions to download Livebook main branch, or will those still work?
@aedwardg do you mean you're forced to use rebar2? Otherwise it should all work fine. Alternatively you can try in using the Docker image.
@aedwardg it should all just work. Rebar2 is no longer supported but everything uses Rebar3 nowadays. :)
@josevalim @jonatanklosko, yes it seems to work fine with everything updated to the newest versions:
main
branch Thanks for the help and sorry for the confusion!
Bug
When creating a new smart chart cell, the initial render of source code is incorrect when clicking on the "Toggle source" button. Joining the Livebook session in a new tab or converting the cell to a code cell fixes the rendered source code.
Not sure if this is specific to smart chart cells or a broader problem, but these are the only smart cells I've tried the "Toggle source" button on.
Minimal data used for reproducing bug
Steps to reproduce
System specs
Elixir: 1.13.4 Livebook: 0.6.3 kino_vega_lite: 0.1.3 Browsers: Firefox, Chrome OS: WSL2 Ubuntu 20.04
Screenshots
UI fields:
"Toggle source" clicked:
Two tabs opened to the same session side by side: