Commit graph

1114 commits

Author SHA1 Message Date
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
Jonatan Kłosko
ba3ac8ca3d Fix wording in the Elixir and Livebook notebook 2022-04-20 13:50:38 +02:00
Jonatan Kłosko
4e49b6e643
Add insert button for diagrams (#1134) 2022-04-19 16:51:46 +02:00
Jonatan Kłosko
b570fcffe3 Fix wording 2022-04-19 11:32:00 +02:00
jonatanklosko
0769bbec2f Update assets 2022-04-19 09:31:21 +00:00
Jonatan Kłosko
609409e842
Encapsulate pubsub subscriptions (#1132) 2022-04-19 11:29:38 +02:00
José Valim
d0a98f88f2
Organize settings page (#1133)
* Fix indentation in HTML format

* Adds more spacing between items

* Use horizontal lines to better mark the sections,
  unless the header itself is followed by a table.

Those changes are inspired by GitHub's current
settings page.
2022-04-19 11:29:26 +02:00
Jonatan Kłosko
6e66c80120
Keep memory usage state at the root on homepage (#1129)
* Keep memory usage state at the root on homepage

* Update lib/livebook/system_resources.ex

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

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-18 18:06:04 +02:00
José Valim
4248de6003
Refresh memory when closing/disconnecting sessions (#1124)
* Refresh memory when closing/disconnecting sessions

* Fixes
2022-04-18 16:16:39 +02:00
jonatanklosko
2b19a6f55c Update assets 2022-04-17 22:56:39 +00:00
Jonatan Kłosko
134fbe0589
Show information when a new Livebook version is available (#1121)
* Show information when a new Livebook version is available

* Wording

* Use more precise version comparison

* Update lib/livebook/application.ex

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

* Up

* Update notificaion styles

* Update lib/livebook_web/live/home_live.ex

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

* Update lib/livebook_web/live/home_live.ex

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

* Apply review comments

* Use async_nolink

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-18 00:55:08 +02:00
José Valim
78b9a11d8c
Remove outdated steps in distributed portal example 2022-04-16 18:02:58 +02:00
jonatanklosko
8b63332036 Update assets 2022-04-16 09:06:53 +00:00
José Valim
3e0b3fffac
Increase the timeout for topbar (#1125)
The topbar still shows way too frequently even
when the navigation feels snap.
2022-04-16 11:05:14 +02:00
jonatanklosko
d77899e8dd Update assets 2022-04-15 21:54:31 +00:00
Jonatan Kłosko
87c27b5be7
Link to cloud instance when system memory is low (#1122)
* Link to cloud instance when system memory is low

* Update wording and add link
2022-04-15 23:52:33 +02:00
José Valim
ac5fd7e637
Update ISSUE_TEMPLATE.md (#1120) 2022-04-15 19:52:20 +02:00
jonatanklosko
91485976f2 Update assets 2022-04-15 12:26:22 +00:00
ByeongUk Choi
120eb2d0ef
Redirect after authentication (#1112)
* auth token mode routes /authentication

* redirect after authentication with session

* Apply code review

* Apply suggestions from code review

* Apply suggestions from code review
2022-04-15 14:24:35 +02:00
José Valim
f451646d73
Labeled text block (#1117)
* Make labeled text a block

* Add link
2022-04-15 14:23:41 +02:00
ByeongUk Choi
bfd47fd166
Add app service settings (#1116) 2022-04-15 13:46:26 +02:00
jonatanklosko
35b3fae3cb Update assets 2022-04-14 19:39:46 +00:00
Jonatan Kłosko
99b5dba6dd Fix Enter to enter insert mode 2022-04-14 21:37:58 +02:00
jonatanklosko
ae870dc09f Update assets 2022-04-14 19:18:53 +00:00
Jonatan Kłosko
2b8d732a23
Introduce code zen (#1115)
* Introduce code focus mode

* Update aria labels

* Update wording

* Show shortcut in code zen toggle

* Update shortcut
2022-04-14 21:17:19 +02:00
José Valim
d3ebf42b32
Make disabled auth mode explicit in code (#1114) 2022-04-14 18:39:30 +02:00
José Valim
5acbd2efad
Add LIVEBOOK_SHUTDOWN_ENABLED (#1111)
* Add LIVEBOOK_SHUTDOWN_ENABLED

Previously we relied on code:get_mode(), but since
releases are starting in interactive mode to use
less memory, we need a clearer mechanism.

* Move shutdown feature check to Livebook.Config

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-04-14 15:52:28 +02:00
Jonatan Kłosko
aa3b58d708
Add support for mix run flags to the Mix runtime (#1108)
* Add support for mix run flags to the Mix runtime

* Support mix run flags in runtime config string

* Add flag validation

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

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

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-14 11:44:55 +02:00
jonatanklosko
e7f62e4ec8 Update assets 2022-04-13 21:55:36 +00:00
Jonatan Kłosko
39a294abbe
Add an option for wrapping words in Markdown editor by default (#1107) 2022-04-13 23:54:05 +02:00