Commit graph

494 commits

Author SHA1 Message Date
jonatanklosko cdf2acf121 Update assets 2021-06-24 09:59:56 +00:00
Jonatan Kłosko 4ca6f9eb5e
Implement reactive input (#389)
* Implement reactive input

* Store reactive attribute only when truthy

* Polishing
2021-06-24 11:58:13 +02:00
David Bishai 1689dae71c
Update README.md to include installation of Erlang applications (#391) 2021-06-24 07:27:58 +02:00
Ben Reinhart ed072198d1
Fix minor typos in the elixir and livebook livebook (#390) 2021-06-23 23:59:17 +02:00
jonatanklosko 0500ad5c62 Update assets 2021-06-23 14:30:20 +00:00
Ben Reinhart 3332b39670
Bump the modal's z-index (#387)
* Bump the modal's z-index

* Simplify zIndex for one-off usecase
2021-06-23 16:28:40 +02:00
Ben Reinhart b5b99ea6e3
Fix minor typos in the distributed portals livebook (#386) 2021-06-23 10:48:11 +02:00
Ben Reinhart 4b84a8176d
Retain newlines in cell output markup for copy/paste (#385)
* Retain newlines in cell output markup for copy/paste

* Move line break

* Update lib/livebook_web/live/session_live/cell_component.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-06-23 01:25:46 +02:00
Jonatan Kłosko 7024d22253
Add support for image output (#380) 2021-06-22 18:03:01 +02:00
Jonatan Kłosko 6d0da78370
Make it possible to mark evaluating cell as stale upfront (#378)
* Make it possible to mark evaluating cell as stale upfront

* Show evaluation time on stale cells as well
2021-06-22 15:06:16 +02:00
José Valim 88d3c5e760
Add section on evaluation vs compilation on Elixir notebook (#376) 2021-06-21 23:17:16 +02:00
Jonatan Kłosko 258c91be8c Adjust dynamic table styles 2021-06-21 14:56:19 +02:00
jonatanklosko 13e3d30ef6 Update assets 2021-06-21 09:14:31 +00:00
Jonatan Kłosko e49aaa62d2 Bump Monaco editor version 2021-06-21 11:12:26 +02:00
jonatanklosko 7c5560f74e Update assets 2021-06-20 15:08:16 +00:00
Jonatan Kłosko 8415ba311e
Show ticking timer while cell is evaluating (#374) 2021-06-20 17:06:30 +02:00
jonatanklosko c910ab8c92 Update assets 2021-06-20 13:34:54 +00:00
Jean Carlos e538bd6c93
Changed radio button it to select (#373)
* Add password input

* Save empty string for password in .livemd file

* Update lib/livebook_web/live/session_live/cell_component.ex

* Changed radio button it to select
* Changed radio button it to select
* Moved select it to the top
* Keep the elements in the select ordered

* Update lib/livebook_web/helpers.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

* Update lib/livebook_web/live/session_live/input_cell_settings_component.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

* Update lib/livebook_web/live/session_live/input_cell_settings_component.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-06-20 15:33:10 +02:00
jonatanklosko b05b12614c Update assets 2021-06-20 12:49:57 +00:00
Shavit a104d9d73b
Show the evaluation time next to the cell indicator (#366)
* Display the time in seconds

Show the evaluation time next to the cell indicator

* Test session data

* Send evaluation time to session

Start the evaluation time inside the evaluator, display the time in seconds
or milliseconds.

The output is not a string but a map

* Add metadata to evaluation_response

* Wrap the evaluation indicator in a tooltip

  • Add metadata argument to the evaluation_response message
  • Use a tooltip to display the evaluation time

* Display the toolip below the indicator

* Remove the evaluation start time

* Make the tooltip optional

* Rename finish_cell_evaluation

* Evaluator tests

* Update test to accespt metadata

* Pass the evaluated time as a third argument

* Make status tooltip more generic

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-06-20 14:48:00 +02:00
Jonatan Kłosko 8ed2cda808
Disable busy waiting in release (#370) 2021-06-18 17:32:53 +02:00
jonatanklosko 2088a0fc25 Update assets 2021-06-18 14:16:05 +00:00
Jonatan Kłosko cbdc91d68d
Show insert actions when hovering over free space between cells (#369) 2021-06-18 16:14:20 +02:00
jonatanklosko 958c03b195 Update assets 2021-06-18 11:23:30 +00:00
Jonatan Kłosko 56c087e79a
Improve section links behaviour (#367)
* Limit the impact of section html id changing

* Make sure section links scroll to section after loading finishes
2021-06-18 13:21:48 +02:00
José Valim 516f208d23
Update README.md 2021-06-17 23:32:36 +02:00
Jonatan Kłosko d6131523f6
Point notebook deps to minimal required version of Kino (#365) 2021-06-17 20:21:23 +02:00
Jonatan Kłosko 2de997cef5 Release 0.2.0 2021-06-17 19:54:27 +02:00
Jonatan Kłosko 547e8e3a02
Add Kino introductory notebook (#364)
* Add Kino introductory notebook

* Update lib/livebook/notebook/explore.ex

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Update lib/livebook/notebook/explore/intro_to_kino.livemd

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Update lib/livebook/notebook/explore/intro_to_kino.livemd

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Restructure sections

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-06-17 19:52:52 +02:00
Jonatan Kłosko 137deeb12f
Enforce string values in dynamic tables (#363)
* Enforce string values in dynamic tables

* Explicitly convert values to string
2021-06-17 18:49:58 +02:00
jonatanklosko 494a5d6a1e Update assets 2021-06-17 16:26:09 +00:00
Jonatan Kłosko 9d4139529e
Show clear error when rendering VegaLite plot fails (#362) 2021-06-17 18:24:03 +02:00
Jonatan Kłosko 6f724f7146
Make table refetch an optional feature (#358) 2021-06-17 13:21:09 +02:00
Jean Carlos 511a47e238
Add password input (#357)
* Add password input

* Save empty string for password in .livemd file

* Update lib/livebook_web/live/session_live/cell_component.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-06-17 01:30:39 +02:00
jonatanklosko f79ec9b543 Update assets 2021-06-16 23:04:34 +00:00
Jonatan Kłosko b18c1579bd
Add dynamic table output (#356)
* Add dynamic table output

* Support table name
2021-06-17 01:02:27 +02:00
jonatanklosko 04c1b36eda Update assets 2021-06-16 14:18:17 +00:00
Jonatan Kłosko 3df6508b56
Disable autoscroll when focusing in insert mode (#355) 2021-06-16 16:16:26 +02:00
jonatanklosko c5a3575589 Update assets 2021-06-16 11:33:53 +00:00
Wojtek Mach 8cf8f2697c
Use <kbd> for keyboard keys (#351)
* Use <kbd> for keyboard keys

* Show keyboard icon

* Render each key explicitly

* Update lib/livebook_web/live/session_live/shortcuts_component.ex

Co-authored-by: Wojtek Mach <wojtekmach@users.noreply.github.com>

* Add Livebook specific icons to the introductory notebooks

* More updates

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-06-16 13:31:53 +02:00
Jonatan Kłosko e75ef5f339
Add numeric input (#352) 2021-06-16 12:28:47 +02:00
José Valim 4cd62e5285
Update ISSUE_TEMPLATE.md 2021-06-16 11:18:46 +02:00
Jonatan Kłosko 2b2d6c9d50
Show consistent user avatar on initial page load (#349) 2021-06-15 19:33:16 +02:00
Jonatan Kłosko adb9612fbe
Add link pointing to a new notebook (#347)
* Add link pointing to a new notebook

* Add test
2021-06-14 21:25:18 +02:00
Jonatan Kłosko 66e2c14ab7
Add notebook on VM introspection (#346)
* Add notebook on VM introspection

* Apply suggestions from code review

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Update node setup instructions

* Update lib/livebook/notebook/explore/vm_introspection.livemd

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Update node setup instructions

* Remove inspect that may give inconsistent results

* Clarify connecting all nodes

* Livebook application -> Livebook server

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-06-14 21:04:57 +02:00
jonatanklosko cd878f2626 Update assets 2021-06-14 13:58:57 +00:00
Jonatan Kłosko 4657ad17c3
Update Monaco and use the built-in Elixir definition (#345) 2021-06-14 15:57:13 +02:00
José Valim e4cd38a1f1 Add portal images, closes #330 2021-06-14 11:37:57 +02:00
Jonatan Kłosko d3b4a8a9e6
Track and garbage collect widgets (#344) 2021-06-11 15:42:41 +02:00
Alexandre Antonio Juca 2acb4020ca
correct spelling mistake, should be list and not lits (#343) 2021-06-11 00:16:18 +02:00