Commit graph

778 commits

Author SHA1 Message Date
Jonatan Kłosko 037c425643
Bump Kino version in explore notebooks (#744) 2021-12-04 14:44:53 +01:00
jonatanklosko 7fdfafe35d Update assets 2021-12-04 12:46:03 +00:00
Jonatan Kłosko cc772f4ffe
Never show automatic completion popup in Markdown cells (#742) 2021-12-04 13:44:07 +01:00
Jonatan Kłosko ab0a237ab6
Completion adjustments (#740)
* Show exceptions at the end of completion list

* Don't complete hidden functions
2021-12-03 23:28:34 +01:00
José Valim 18d8eccc9e
Do not try to accidentally load elixir.beam (#739) 2021-12-03 22:50:45 +01:00
jonatanklosko 64fce545d3 Update assets 2021-12-03 20:59:15 +00:00
Jonatan Kłosko e2490c0f7f
Implement signature intellisense (#640)
* Remove Code.Fragment backport

* Fix tests compatibility with Elixir 1.13

* Implement signature intellisense

* Don't show signatures on module attributes

* Add tests for calls with do-end block

* Unify spec formatting

* Insert parentheses when completing a function call

* Send all text until cursor in signature request

* Add configuration for completion/signature popups (#693)

* Add editor settings form

* Add configuration for intellisense defaults

* Read fresh settings when editor mounts

* Scope attribute names

* Fix disabled button styling

* Simplify signature box and enable by default

* Split settings into system and user sections

* Update lib/livebook_web/live/settings_live.ex

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

* Update lib/livebook_web/live/settings_live.ex

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

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

* Fix spacing in documentation tests

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-12-03 21:57:21 +01:00
Jonatan Kłosko 47d29cb389
Require Elixir 1.13 (#737)
* Bump required Elixir version to 1.13 and fix TODOs

* Fix tests

* Remove the deprecated URI.parse/1

* Bump Docker base image

* Bump Elixir on CI
2021-12-03 21:47:20 +01:00
Jonatan Kłosko ac6b423e79
Fix frame rendering (#735)
* Fix frame rendering

* Add test for the dynamic frame
2021-12-03 18:59:08 +01:00
Jonatan Kłosko 6de1dd84c2
Fix long section names alignment (#734) 2021-12-03 15:18:48 +01:00
José Valim 2c91de3cd6
Streamline introductory notebooks (#733) 2021-12-03 15:17:09 +01:00
Jonatan Kłosko 04f15f60a3
Add Pong notebook to the explore section (#729) 2021-12-03 15:08:28 +01:00
jonatanklosko 2f1c58d7f7 Update assets 2021-12-03 13:25:32 +00:00
Jonatan Kłosko 4debf2c1fb
Fix evaluation timer on page refresh (#732) 2021-12-03 14:23:50 +01:00
Jonatan Kłosko 0b6acb9d34
Hide reconnect runtime button once reconnected (#731) 2021-12-03 14:03:06 +01:00
Jonatan Kłosko 5eb0cf2517 Update changelog 2021-12-02 18:25:47 +01:00
jonatanklosko 8a80c6683d Update assets 2021-12-02 15:46:37 +00:00
Jonatan Kłosko 264d6c3ff2
Add support for controls output type (#710)
* Add support for controls output type

* Split controls into individual widgets

* Adjust ids

* Improve widget and controls garbage collection

* Allow arbitrary functions as object release hook

* Add type to button and input events

* Add keyboard status event

* Change release hooks into monitor messages

* Rename pointer to reference and return an error on bad monitor
2021-12-02 16:45:00 +01:00
Alex Reichert 236ea4dd96
Fix typo in drag_and_drop directory name (#723)
* Fix typo in drag_and_drop directory name

* Fix import
2021-12-01 19:44:42 +01:00
Alexandre de Souza 79d6a9e6a2
Rename restart runtime to reconnect (#721)
* Rename restart runtime to reconnect

* Update lib/livebook_web/live/output.ex

Co-authored-by: José Valim <jose.valim@gmail.com>
2021-12-01 17:21:49 +01:00
jonatanklosko bfb9dc371e Update assets 2021-11-25 17:45:38 +00:00
Jonatan Kłosko c2636b8220
Migrate inputs to Kino (#714)
* Migrate inputs to Kino

* Update lib/livebook/session/data.ex

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

* Try parsing numbers as integers

* Garbage collect input values

* Adjust tests

* Remove unused variable

* Fix frame rendering

* Wrap inputs in border depending on its type

* Add textarea

* Reorder

* Update tests

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-11-25 18:43:42 +01:00
jonatanklosko b6ddf1883c Update assets 2021-11-18 17:48:24 +01:00
Jonatan Kłosko bfe2036d34 Fix headline blur on click and improve editor focus 2021-11-18 17:34:04 +01:00
jonatanklosko 551444ec76 Update assets 2021-11-16 20:58:38 +00:00
Jonatan Kłosko f64dd0ea90
Restructure j/k navigation to support headlines (#707)
* Accessibility fixes

* Restructure j/k navigation to support headlines

* Focus modal content when open

* Further focus adjustments

* Fix tests

* Remove unused functions
2021-11-16 21:57:10 +01:00
Jonatan Kłosko 4d92aeba2e
Support file scheme when importing from URL (#706)
* Add test

* Support file scheme when importing from URL
2021-11-12 15:49:22 +01:00
José Valim d78a3cf865
Include reason if we can't start Livebook, closes #703 (#705) 2021-11-12 14:36:02 +01:00
Jonatan Kłosko 9532348bce
Update the list of Ubuntu packages with necessary Erlang applications (#704) 2021-11-12 12:39:58 +01:00
José Valim ff4f21f7aa
Clarify root access docs, closes #701 (#702) 2021-11-12 11:32:03 +01:00
Jonatan Kłosko b116e2b1e6 Release 0.3.2 2021-11-10 22:17:21 +01:00
Jonatan Kłosko 247abd8f57
Add section on Kino.animate and bump dependencies (#700)
* Add section on Kino.animate and bump dependencies

* 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>

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-11-10 22:16:42 +01:00
jonatanklosko 1fd249e694 Update assets 2021-11-10 19:19:01 +00:00
Jonatan Kłosko 7eac7a83ac
Implement clipboard copy with JS commands (#699) 2021-11-10 20:17:32 +01:00
jonatanklosko db4eb043ab Update assets 2021-11-10 18:30:02 +00:00
Jonatan Kłosko 3ed5da0106
Implement menu with JS commands and extract into component (#698) 2021-11-10 19:28:09 +01:00
jonatanklosko a29abbf87c Update assets 2021-11-10 17:52:21 +00:00
Jonatan Kłosko d81965ee99
Redesign runtime panel and sessions list (#697)
* Redesign runtimes panel

* Redesign session list

* Add session sort

* Move session list to a separate component

* Up
2021-11-10 18:50:39 +01:00
Jonatan Kłosko 54511d5ffc
Add env var for disabling token auth (#696) 2021-11-10 13:54:50 +01:00
Benjamin Philip 79049e7f8c
Add CMake to Dockerfile (#694) 2021-11-10 11:31:38 +01:00
Jonatan Kłosko 2dfb2b143d Simplify Docker layer caching 2021-11-09 19:40:12 +01:00
Jonatan Kłosko 5213b732b9 Make sure the deploy job uses the latest commit when assets are updated 2021-11-09 19:23:14 +01:00
jonatanklosko e7f8cb7e9a Update assets 2021-11-09 17:38:55 +00:00
Jonatan Kłosko d8d52c9e89
Add runtime info panel (#692)
* Add runtime info panel

* Remove intro from the runtime modal

* Show default runtime in the panel if no runtime is set
2021-11-09 18:37:22 +01:00
Benjamin Philip 1842c203ab
Update welcome img (#691) 2021-11-09 11:48:09 +01:00
José Valim e67428e918
Simplify fun with vm instrospection (#690)
If we want to show process specific information,
we can create branches in the future that receive
a PID input, reach out to the remote node, and
show the data using markdown.
2021-11-09 11:04:18 +01:00
jonatanklosko fc8a4ec606 Update assets 2021-11-09 09:46:39 +00:00
Jonatan Kłosko c473a8c469
Add an option to amplify cell outputs (#689)
* Add an option to amplify cell outputs

* Reorder actions
2021-11-09 10:45:05 +01:00
Jonatan Kłosko 0b30fd02d9
Add support for frame_dynamic output type (#688) 2021-11-08 20:45:30 +01:00
Jonatan Kłosko e72a606dd2
Warn on invalid sequence of notebook comments (#687) 2021-11-08 13:14:55 +01:00