Commit graph

1143 commits

Author SHA1 Message Date
ByeongUk Choi
0a87fee7b6
Add sidebar toggle on mobile (#1183)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: José Valim <jose.valim@gmail.com>
2022-05-19 16:27:57 +02:00
José Valim
b1bd411199
Add tiny section on links (#1196) 2022-05-19 12:05:23 +02:00
Jonatan Kłosko
ec6de91674
Relax app directory permissions in Docker (#1193) 2022-05-17 23:11:39 +02:00
jonatanklosko
70ccaafa14 Update assets 2022-05-17 01:05:11 +00:00
Tw
641ac96ae7
Fix relative link URL in Markdown output (#1189) 2022-05-17 03:03:18 +02:00
Jonatan Kłosko
07a75887e0
Change default Livebook home path for Docker (#1191) 2022-05-16 22:14:39 +02:00
jonatanklosko
22811c10bf Update assets 2022-05-13 15:56:35 +00:00
José Valim
fce28ed713
Reduce left padding for notebook session (#1186)
* Reduce left padding for notebook session

* Update lib/livebook_web/live/session_live.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-05-13 17:54:36 +02:00
Jonatan Kłosko
355a450d4c
Fix smart cell evaluation button in forked notebooks (#1185) 2022-05-13 15:22:52 +02:00
Jonatan Kłosko
36e48f861e
Use IP address as hostname when configured (#1181)
* Use IP address as hostname when configured

* Use localhost for access URL hostname when applicable

* Keep 0.0.0.0 as is for hostname
2022-05-13 15:22:41 +02:00
José Valim
49492771f3 Ignore asset directories if they are empty
macOS removes files from the temporary directory but
keeps the directory. This would cause LiveView to
misbehave as it would assume all assets are checked out.
2022-05-13 14:41:06 +02:00
José Valim
c131826733 Reorganize README 2022-05-13 09:39:33 +02:00
Aaron Seigo
2a8c95c388
Show the correct amount of free memory available on the system (#1179)
* Show the correct amount of free memory available on the system

Attempts to use the `available_memory` stat, otherwise tries to
cobble it together using cached+buffered+free as per the erlang
docs on `:memsup:get_system_memory_data` and only failing that
flals back to `free_memory`

* Use `Map.new` rather than `Enum.into`

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

* Update lib/livebook/system_resources.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-05-09 15:43:00 +02:00
Wojtek Mach
f5afac9497 Remove otp version check when building desktop app
Since we're building our own OTP for Mac, the idea was not to
accidentally building agains something we happen to be testing at the
moment, like the latest RC. This check turned out to be a little bit
too annoying in practice though. We plan to automate builds on CI
in the near future so we wouldn't need it the anyway.

Closes #1177
2022-05-06 23:53:10 +02:00
Jonatan Kłosko
9f24bda2c8
Specify ip for iframe endpoint only when present (#1176)
* Specify ip for iframe endpoint only when present

* Up
2022-05-06 22:11:19 +02:00
Jonatan Kłosko
c1a4c8c045
Release 0.6.1 (#1175) 2022-05-06 17:22:35 +02:00
José Valim
cfcd1cdc19 Match on more eaddrinuse patterns 2022-05-06 10:30:06 +02:00
Jonatan Kłosko
40c945502f
Include iframe in the hex archive (#1174) 2022-05-06 10:28:01 +02:00
José Valim
7ef0de2722
Improve ip server booting (#1173)
* Bind to the same ip as the main application

* Improve error message if port is already taken
2022-05-06 10:27:48 +02:00
jonatanklosko
9b14d06123 Update assets 2022-05-04 10:52:09 +00:00
Jonatan Kłosko
0b35c2559b
Don't ignore pointer events when LV disconnect (#1168) 2022-05-04 12:50:36 +02:00
Jonatan Kłosko
3ad817ac69
Release 0.6.0 (#1165) 2022-05-03 16:24:49 +02:00
jonatanklosko
15949eaef7 Update assets 2022-05-03 14:21:56 +00:00
Jonatan Kłosko
567c69a884
Always expand the setup cell when focused (#1166) 2022-05-03 16:20:13 +02:00
jonatanklosko
62140eb8d7 Update assets 2022-05-03 13:11:17 +00:00
Jonatan Kłosko
9a016e439d
Synchronize smart cell source before evaluation (#1164)
* Synchronize smart cell source before evaluation

* Sync JS view only if present

* Synchronize with smart cell only when started

* Update references to kino packages

* Update the Smart cells notebook

* Rename add dependnecy to add package

* Update changelog
2022-05-03 15:09:37 +02:00
José Valim
96de866c34
Update README.md 2022-05-02 15:54:07 +02:00
Jonatan Kłosko
ba77c18616
Clear cells indicator after erasing outputs (#1160) 2022-05-02 15:37:15 +02:00
jonatanklosko
332d79af04 Update assets 2022-05-02 13:31:46 +00:00
Jonatan Kłosko
df87b2c7fc
Rename toggle output in zen mode to show/hide (#1161) 2022-05-02 15:29:42 +02:00
jonatanklosko
a90d7fda81 Update assets 2022-05-02 11:35:52 +00:00
Jonatan Kłosko
96cb11e787
Improve zen mode transition when no cell is focused (#1157) 2022-05-02 13:34:17 +02:00
José Valim
2e104b2677 Review some policies 2022-05-02 12:13:22 +02:00
jonatanklosko
2bc1c29f0a Update assets 2022-04-30 15:15:52 +00:00
Jonatan Kłosko
2a1d937189
Update wording around dependencies and packages (#1151) 2022-04-30 17:14:10 +02:00
jonatanklosko
c85f11e0d1 Update assets 2022-04-30 10:27:36 +00:00
Jonatan Kłosko
8e063792ff
Improvements to the smart cells flow (#1150)
* Reword reinstall to restart

* Clarify Smart cell message when dependencies are installing

* Handle universal shortcuts in inside iframe inputs

* Adjust smart cell icons

* Improve wording in the dependency install prompt

* Reevaluate cells after installing smart cell dependencies

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

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

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-30 12:26:03 +02:00
Jonatan Kłosko
8f72d0175e
Update references to kino (#1148)
* Update references to kino

* Update changelog

* Make the Chart cell section branching

* Apply suggestions from code review

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

* Capitalization

* Add link to the Iris dataset

* Pass keys to Process.info/2

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-29 13:45:33 +02:00
jonatanklosko
6884d3cec3 Update assets 2022-04-28 11:04:02 +00:00
Jonatan Kłosko
25e5d874be
Reinitialize cell editor on reconnection (#1146) 2022-04-28 13:02:20 +02:00
ByeongUk Choi
d11084d32f
Add shared mode to Livebook sessions (#1128)
* add shared mode (working)

* add markdown write permission

* Add authorize handle_event

* Revert "add shared mode (working)"

This reverts commit c1e9ebac4d.

* Add assert_policy!

* Apply suggestions code review

* Apply suggestions from code review

* Apply suggestions from code reviews (redirect)

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Add PolicyHook

* remove assert_live_action_access!/1

* Apply suggestions from code review

* Apply suggestions from code review

* Update lib/livebook_web/live/session_live.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-04-28 13:01:53 +02:00
Jonatan Kłosko
19016dcc54 Revert "GitHub Codespaces: Add devcontainer.json files to Livebook (#1138)"
This reverts commit caeb23fe48.

See the discussion in #1138.
2022-04-26 21:05:00 +02:00
Noah
caeb23fe48
GitHub Codespaces: Add devcontainer.json files to Livebook (#1138) 2022-04-26 20:18:35 +02:00
Jonatan Kłosko
f39699b65e
Update instructions in the Elixir export (#1144) 2022-04-25 13:37:15 +02:00
Jonatan Kłosko
94dc3862a3
Use more specific scope for custom kinos (#1142) 2022-04-25 12:01:48 +02:00
Jonatan Kłosko
5ee612df40
Add a notebook on Smart cells (#1141) 2022-04-24 12:19:39 +02:00
José Valim
4ecb156ed3
Update README.md 2022-04-23 13:52:05 +02:00
Jonatan Kłosko
5e966bfb68
Add test for appending to Mix install with options (#1137) 2022-04-21 20:09:48 +02:00
Wojtek Mach
e5092e4c99
Add taskbar icon to desktop app (#1119) 2022-04-21 09:51:48 +02:00
Jonatan Kłosko
88f3f8fc97
Update changelog (#1135) 2022-04-20 21:19:41 +02:00