livebook/lib/livebook_web/live/session_live
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
..
attached_live.ex Infer short vs longname from actual node and use longname in example (#284) 2021-05-21 13:03:47 +02:00
cell_component.ex Show the evaluation time next to the cell indicator (#366) 2021-06-20 14:48:00 +02:00
cell_upload_component.ex Add embedded runtime for evaluating code in the Livebook VM (#266) 2021-05-10 14:37:38 +02:00
elixir_cell_settings_component.ex Support inputs (#328) 2021-06-08 12:33:50 +02:00
elixir_standalone_live.ex Add embedded runtime for evaluating code in the Livebook VM (#266) 2021-05-10 14:37:38 +02:00
embedded_live.ex Add embedded runtime for evaluating code in the Livebook VM (#266) 2021-05-10 14:37:38 +02:00
indicators_component.ex Restructure settings (#233) 2021-04-21 23:02:09 +02:00
input_cell_settings_component.ex Add password input (#357) 2021-06-17 01:30:39 +02:00
insert_buttons_component.ex Show insert actions when hovering over free space between cells (#369) 2021-06-18 16:14:20 +02:00
mix_standalone_live.ex Warning on Mix.install for Mix standalone (#336) 2021-06-09 16:51:53 +02:00
persistence_component.ex Update LV version and remove deprecations (#312) 2021-06-03 13:53:03 +02:00
runtime_component.ex Add embedded runtime for evaluating code in the Livebook VM (#266) 2021-05-10 14:37:38 +02:00
section_component.ex Improve section links behaviour (#367) 2021-06-18 13:21:48 +02:00
shortcuts_component.ex Use <kbd> for keyboard keys (#351) 2021-06-16 13:31:53 +02:00