Commit graph

474 commits

Author SHA1 Message Date
Jonatan Kłosko
ea93edcc86
Add embedded runtime for evaluating code in the Livebook VM (#266)
* Add embedded runtime for evaluating code in the Livebook VM

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

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

* Use standard error proxy globally in the Livebook node

* Add configuration env variable for setting the default runtime

* Increase evaluation response assertion timeouts

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-05-10 14:37:38 +02:00
jonatanklosko
f96f04c337 Update assets 2021-05-08 21:49:08 +00:00
Simon McConnell
056d01cee7
check contentElement exists - fixes #264 (#265) 2021-05-08 23:47:57 +02:00
José Valim
1c45d0777a
Update welcome.ex (#263) 2021-05-07 17:17:49 +02:00
jonatanklosko
fb408ecf78 Update assets 2021-05-07 14:42:51 +00:00
Jonatan Kłosko
cd80bd7804
Implement user cursor and selection tracking (#260)
* Implement user cursor and selection tracking

* Separate jump-to-user and follow
2021-05-07 16:41:37 +02:00
José Valim
c7887a57de Remove sleep from tests 2021-05-07 08:57:39 +02:00
Benjamin Philip
ec07e4749a
Use a node pool for node names (#256) 2021-05-07 08:43:36 +02:00
José Valim
a32b415707
Update README.md 2021-05-07 06:20:10 +02:00
Benjamin Philip
0423b5c7b7
Update Welcome Notebook screenshot (#259) 2021-05-07 06:19:40 +02:00
jonatanklosko
e15a1d3dc6 Update assets 2021-05-04 13:49:46 +00:00
Jonatan Kłosko
dc605aa209 Specify editor fallback font 2021-05-04 15:48:26 +02:00
jonatanklosko
89ab9de677 Update assets 2021-05-03 18:04:37 +00:00
Jonatan Kłosko
5c8e117800
Setup user profiles (#253)
* Add initial user config modal

* Assign user ids

* Update session data to hold user ids

* Get users list for specific ids

* Render user avatar

* User update

* Refactor user changes

* Subscribe to individual user updates

* Show users in side panel

* Add sidebar to homepage

* Don't generate the same color twice in a row

* Add documentation notes

* Fix tests

* Add tests

* Keep users in session data

* Rename color to hex_color
2021-05-03 20:03:19 +02:00
jonatanklosko
ade9fe5e0e Update assets 2021-04-28 17:12:42 +00:00
Jonatan Kłosko
d3a2bfb60b
Ignore patches to content editable elements while focused (#247) 2021-04-28 19:11:19 +02:00
jonatanklosko
adb83eddc1 Update assets 2021-04-28 12:29:37 +00:00
Jonatan Kłosko
3694576244
Require cookie for connecting to an attached node (#245)
* Require cookie for connecting to an attached node

* Fix modals sizing
2021-04-28 14:28:28 +02:00
José Valim
5fede30764 Format 2021-04-28 14:10:52 +02:00
José Valim
2792280e3d
Show how to run tests in notebooks (#153)
This requires Elixir v1.12-rc.1.
2021-04-28 14:05:25 +02:00
Jonatan Kłosko
ac8e1e30f4
Setup Docker image with releases (#244)
* Setup Docker image with releases

* Support ip env variable and use it for Docker deployment

* Autofocus auth forms

* Rename ip env var

* Update option lists

* Make distribution cookie configurable

* Update README.md

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

* Include git in the final image

* Remove unnecessary build dependency

* Improve file permissions handling and add more comments

* Use namespaced home directory

* Update README with all running options

* Update base image

* Reference official Docker image in the README

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-04-27 16:34:02 +02:00
Jonatan Kłosko
cc2820f17e
Add anchor links to sections (#243) 2021-04-26 15:24:43 +02:00
jonatanklosko
4aba26c6c6 Update assets 2021-04-26 12:24:01 +00:00
Javier Goday
790b9e764b
Feature cell link (#239)
* #99: Add anchor links to sections and cells

* Restores some css classes removed by error

* Focus cell based on anchor link

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-04-26 14:22:33 +02:00
Akash Hiremath
a2eb269cec
Fix undefined function warning (#241) 2021-04-26 08:59:46 +02:00
Wojtek Mach
c3a0b7c01d
Add autofocus to import inputs (#240) 2021-04-24 11:15:37 +02:00
jonatanklosko
6f60e075a0 Update assets 2021-04-23 15:41:44 +00:00
Jonatan Kłosko
aaba58a933
Set up importing notebook from URL or clipboard (#237)
* Set up importing notebook from URL or clipboard

* Extract loading functions into separate module

* Replace import icon with text

* Add TLS peer verification

* Remove unnecessary tests setup step
2021-04-23 17:40:13 +02:00
Wojtek Mach
7262ff540d
Update README.md (#235) 2021-04-22 11:41:22 +02:00
jonatanklosko
777626d56f Update assets 2021-04-21 21:03:26 +00:00
Jonatan Kłosko
e755ff8122
Restructure settings (#233)
* Force menu items into a single line

* Add shortcut for saving the notebook

* Make the disk icon always show file dialog

* Split runtime and file settings into separate modals

* Add ctrl+s to the shortcuts list

* Add togglable menu to the session page

* Make sure newly saved file appears in the file selector

* Fix path seletor force reloading

* Remove notebook generated in tests

* Add test for file list refresh after save
2021-04-21 23:02:09 +02:00
jonatanklosko
dd904699bc Update assets 2021-04-21 15:44:06 +00:00
Jonatan Kłosko
91af8a46ed Make the sidebar floating on small screens 2021-04-21 17:42:03 +02:00
jonatanklosko
514d85fc09 Update assets 2021-04-21 15:40:24 +00:00
Jonatan Kłosko
c498cfb211
Explicitly dispose Monaco editor instance when cell is deleted (#232) 2021-04-21 17:38:48 +02:00
josevalim
faeedcefc5 Update assets 2021-04-21 11:52:09 +00:00
José Valim
02f46fd912 Improve responsive features 2021-04-21 13:50:55 +02:00
jonatanklosko
c7e2c45a57 Update assets 2021-04-21 10:45:26 +00:00
Jonatan Kłosko
dd7453c706 Improve homepage responsiveness 2021-04-21 12:43:43 +02:00
Jonatan Kłosko
9a1fe55759 Update Phoenix LV 2021-04-21 12:43:43 +02:00
José Valim
982759844f Do not tab over file container (it does so on Firefox) 2021-04-21 12:34:49 +02:00
jonatanklosko
972e98af3c Update assets 2021-04-21 10:21:43 +00:00
Jonatan Kłosko
4f80e5f601 Update tailwindcss 2021-04-21 12:19:16 +02:00
josevalim
136522a4d0 Update assets 2021-04-21 10:18:50 +00:00
José Valim
48b611faeb Run formatter 2021-04-21 12:17:35 +02:00
Benjamin Philip
d41f3a73fe Beautify match file selector results
- Makes the file selector results to have a "box"/"container" of its own

- Seperates the filtred files from rest of the files with a border

- Optimize path selector to only traverse the filesystem if the directory
  changes
2021-04-21 12:16:28 +02:00
Jonatan Kłosko
193050cae5 Don't print token in URL when disabled 2021-04-21 00:04:17 +02:00
José Valim
52fc451a45
Remove newline from tests, closes #204 (#231) 2021-04-20 20:17:24 +02:00
Jonatan Kłosko
5dd3b82e1f
Don't register named supervisors on remote node (#230) 2021-04-20 20:03:13 +02:00
Jonatan Kłosko
d51e0ad2a9 Update package-lock.json 2021-04-20 19:38:08 +02:00