Commit graph

605 commits

Author SHA1 Message Date
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
Jonatan Kłosko
6274731c8d Make sure session is forked with complete data 2021-06-10 20:03:47 +02:00
Jonatan Kłosko
e02bcce0bf
Drop cell source text from data in LV when no longer needed (#342) 2021-06-10 15:41:40 +02:00
jonatanklosko
b0ace783ea Update assets 2021-06-10 12:56:24 +00:00
Jonatan Kłosko
b0bd7540c0
Compute cell source digest on the client (#341) 2021-06-10 14:54:55 +02:00
José Valim
13108c8591
Update intro_to_vega_lite.livemd (#338) 2021-06-09 23:02:59 +02:00
Jonatan Kłosko
e967165999
Add VegaLite intro notebook to the explore section (#335)
* Add VegaLite intro notebook to the explore section

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

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

* Update package list

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-06-09 17:38:49 +02:00
José Valim
d0c47557a2
Warning on Mix.install for Mix standalone (#336) 2021-06-09 16:51:53 +02:00
Jonatan Kłosko
c4a96bc99c
Add support for Mix runtime as the default one (#334)
* Add support for Mix runtime as a default

* Support default runtime options in the CLI

* Set cell status to queued while runtime is being started

* Clean up tests
2021-06-09 16:24:02 +02:00
jonatanklosko
f1c2db4118 Update assets 2021-06-09 09:04:43 +00:00
Edmundo Biglia
e16992dbc1
fix markdown codeblocks overflowing container (#333) 2021-06-09 11:02:47 +02:00
josevalim
0209ed5a26 Update assets 2021-06-08 12:55:31 +00:00
José Valim
9eaa98ce56
Portal guide (#318) 2021-06-08 14:53:41 +02:00
Jonatan Kłosko
11246cdb8f
Add an option to preload session images from memory (#329)
* Add an option to preload session images from memory

* Remove images
2021-06-08 13:28:53 +02:00
jonatanklosko
e4da35c0f0 Update assets 2021-06-08 10:51:58 +00:00
Jonatan Kłosko
8dea99e600
Support inputs (#328)
* Render basic input

* Make each cell type a separate struct

* Add operation to set input value

* Prototype communication

* Make input name editable

* Refactoring

* Unify cell attribute setters

* IO tests

* Document input communication protocol in Runtime

* Add more tests

* Add persistence

* Fix status update on cell attributes change

* Rework persistence

* Integrate input cell with insert mode

* Add missing users keybinding

* Mimic autofocus for dynamically inserted elements

* Support input type selection

* Support URL input and set up validation

* Convert input error into a more meaningful io error

* Add missing client checks

* Consume every input only once per evaluation

* Fixes
2021-06-08 12:33:50 +02:00
josevalim
2cb07d0ad1 Update assets 2021-06-07 09:37:16 +00:00
José Valim
2f38e3454e
Improvements to Markdown CSS (#326)
* Move ul/ol to list-outside so we can render paragraphs inside them
* Add left margin to ul/ol
* Add margin-top to headers
* Change the style of nested lists

Closes #317
2021-06-07 11:35:25 +02:00
Jonatan Kłosko
a8073ceac1
Add attributions to Delta-related packages (#324) 2021-06-06 15:27:09 +02:00
Jonatan Kłosko
da64f51589
Show an informative message on completion when there is no runtime (#316) 2021-06-03 19:43:22 +02:00
jonatanklosko
f613b2f21e Update assets 2021-06-03 14:33:35 +00:00
Jonatan Kłosko
7b89e1ec83
Improve markdown links (#315)
* Make sure link/button clicks don't trigger cell focus

* Open external links in new browser tab
2021-06-03 16:31:41 +02:00
José Valim
fcf53c4bf2
Add a notebook about the unique features behind Elixir and Livebook (#314) 2021-06-03 15:47:33 +02:00
Jonatan Kłosko
91a9f62fb9 Make images in explore cards clickable 2021-06-03 14:55:25 +02:00
jonatanklosko
93d11ba068 Update assets 2021-06-03 11:54:51 +00:00
Jonatan Kłosko
c07da9880c
Update LV version and remove deprecations (#312)
* Bump LiveView

* Remove deprecated socket argument to live_component

* Point to an exact LV version
2021-06-03 13:53:03 +02:00
jonatanklosko
6c9a23941c Update assets 2021-06-02 19:53:30 +00:00
Jonatan Kłosko
f70581f255
Introduce an Explore section (#310)
* Add explore page

* Move sidebar to a configurable component

* Fix homepage test

* Add images

* Store example notebooks in files and make explore notebooks linkable

* Fix tests

* Raise on invalid notebook slug

* Keep just the file contents in notebook info

* Move notebook lookup to Explore

* Exclude notebooks in progress
2021-06-02 21:51:43 +02:00
José Valim
69890cf43e
Allow errors on boot to be reported (#311)
Because we unregistered standard_error, if there
was an error booting livebook, we would fail to
print the error. This commit makes sure the original
standard error is added back whenever the proxy
process terminates.
2021-06-02 19:01:45 +02:00
Jonatan Kłosko
4f5b19dfc7 Release 0.1.2 2021-06-01 18:01:15 +02:00
Jonatan Kłosko
80bed1aa06
Delegate output formatting rules to Kino (#309)
* Delegate output formatting rules to Kino

* Update naming

* Group output components and views

* Fallback to inspect when Kino.Render.to_output/1 fails

* Update naming

* Add reference to Kino
2021-06-01 17:47:03 +02:00
Brett Cannon
5f041d219a
Clarify/tweak some comments (#308)
* Clarify a comment for live_markdown.ex

* Tweak grammar for docs of notebook_from_markdown()
2021-05-31 22:49:56 +02:00
jonatanklosko
5c122e63cb Update assets 2021-05-31 20:49:49 +00:00
Jonatan Kłosko
ce7adef7e4
Add VegaLite widget integration (#306)
* Add support for LiveWidget.VegaLite

* LiveWidget -> Kino

* Show an error when rendering unsupported Kino widget

* Match on Kino.Widget

* Add catch-all for unknown outputs
2021-05-31 22:48:05 +02:00
Jonatan Kłosko
d6c9ab1783
Ensure hostname is properly resolved when running in shortname distribution (#303)
* Ensure hostname is properly resolved when running in shortname distribution

* Update lib/livebook/application.ex

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

* Pretty print host resolution error

* Add missing env var

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-05-28 13:41:08 +02:00
jonatanklosko
ee027f7fd8 Update assets 2021-05-28 11:05:49 +00:00
Qiu Hua
605c5e397e
fix a display bug when the message wider than the window (#304) 2021-05-28 13:04:07 +02:00
Benjamin Philip
26226a42e0
Update Welcome Notebook (#299)
TeX uses the words 'inline and display math', replace 'formula' with these.
2021-05-26 19:57:47 +02:00
Jonatan Kłosko
a7e1d8ba9a
Capture logger output (#298)
* Capture logger output

* Add capture integration test
2021-05-26 19:54:43 +02:00
Jonatan Kłosko
18c9d4413a Use test mix env in the CI 2021-05-26 16:15:09 +02:00