Commit graph

1039 commits

Author SHA1 Message Date
jonatanklosko
66ad4ed754 Update assets 2022-04-04 10:22:16 +00:00
ByeongUk Choi
e3d9c5fa35
allow embedded runtime by env (#1084)
* allow embedded runtime by env

* fix session live test

* This reverts commit f36931d6ef9b..81ca7d

* allow runtime modules

* Apply suggestions from code review
2022-04-04 12:20:36 +02:00
Jonatan Kłosko
902c993098
Adjustments (#1087)
* Fix horizontal scrollbar on smaller screens

* Apply navigation shortcuts without an additional roundtrip

* Shorten the data element selector

* Fix URL in changelog

* Return reference from handle_intellisense
2022-04-04 12:19:11 +02:00
Brooklin Myers
00c913adcc
Enable image upload field when no name provided. Use image name as default value. (#1083) 2022-04-02 01:19:17 +02:00
jonatanklosko
32aeec2cc5 Update assets 2022-04-01 18:15:20 +00:00
Jonatan Kłosko
75eb031719
Automate searching and adding new dependencies (#1081)
* Automate searching and adding new dependencies

* Restructure runtime management

* Leave search restrictions up to the runtime

* Support predefined dependencies in Embedded runtime dependency search

* Use the embedded runtime for dependency search test

* Fix typo

* Use module for loading embedded runtime dependencies

* Improve naming
2022-04-01 20:13:37 +02:00
jonatanklosko
62cc842dbc Update assets 2022-03-30 19:57:42 +00:00
Jonatan Kłosko
df765f2dd3
List predefined smart cells and automatically add their dependencies (#1078)
* List predefined smart cells and automatically add their dependencies

* Generalize dependency insertion to multiple entries

* Add runtime setup modal

* Don't evaluate setup when restarting the runtime fails

* Automatically add vega_lite for chart builder

* Improve confirmation modal actions when the action is not destructive
2022-03-30 21:55:50 +02:00
Wojtek Mach
108b40651d More macOS menu bar improvements 2022-03-30 13:57:55 +02:00
Wojtek Mach
c5152eb941
Fix warnings (#1077) 2022-03-30 13:33:49 +02:00
Jonatan Kłosko
241ee94cba
Update built-in notebooks to use the setup cell (#1076)
* Teach about the setup cell in the elixir_and_livebook notebook

* Update built-in notebooks to use the setup cell
2022-03-28 22:18:46 +02:00
jonatanklosko
43380e62e4 Update assets 2022-03-28 19:39:00 +00:00
Jonatan Kłosko
5476fd001d
Introduce a setup cell (#1075)
* Introduce a setup cell

* Don't collapse setup cell when dirty

* Collapse fresh setup cell when empty

* Reword collapsed setup cell text
2022-03-28 21:36:57 +02:00
Jonatan Kłosko
6f6b7e3ee0
Fix browser open when inside WSL (#1074) 2022-03-24 22:10:13 +01:00
Jonatan Kłosko
a70f53de46 Bump earmark_parser 2022-03-24 19:15:57 +01:00
Jonatan Kłosko
4369a45bd5
Regroup cell insert buttons (#1073)
* Regroup cell insert buttons

* Add spacing to divider

* Split into two menus

* Remove smart cell icon
2022-03-24 19:02:31 +01:00
jonatanklosko
bc4c04c1b7 Update assets 2022-03-24 17:21:48 +00:00
Jonatan Kłosko
471167f288
Disable font ligatures in Markdown code blocks (#1072) 2022-03-24 18:05:53 +01:00
Jonatan Kłosko
894ff15419
Use the same local file system instance for all files (#1070)
* Use the same local file system instance for all files

* Add test
2022-03-24 14:09:17 +01:00
ByeongUk Choi
1fab2f54bf
Add LIVEBOOK_FORCE_SSL_HOST env (#1064)
Closes #983.
2022-03-23 18:24:58 +01:00
Jonatan Kłosko
7f39c6be76
Remove non-ascii characters from autogenerated notebook file names (#1068) 2022-03-22 21:54:59 +01:00
jonatanklosko
918216980e Update assets 2022-03-22 17:27:40 +00:00
Jonatan Kłosko
ac5a71bf85
Show a message when JS view data is not available (#1067)
* Multiplex initialization of JS views

* Show timeout message when JS view data fails to load

* Refactor JS view channel

* Update tests
2022-03-22 18:25:42 +01:00
Jonatan Kłosko
01b9ffe731
Keep binding in reversed evaluation order (#1065)
* Keep binding in reversed evaluation order

* Treat rebound names as new

* Add test for the default order

* Optimise binding reorder

* Update lib/livebook/runtime/evaluator.ex

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

* Apply review comments

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-03-21 19:23:43 +01:00
jonatanklosko
46fa24ca3d Update assets 2022-03-19 11:24:24 +00:00
Jonatan Kłosko
0145d68593
Limit standard output to last 1000 lines (#1063) 2022-03-19 12:22:36 +01:00
Jonatan Kłosko
becdda61f7
Support optional reevaluation on smart cell update (#1062) 2022-03-18 19:36:48 +01:00
jonatanklosko
ee1ea91e19 Update assets 2022-03-17 22:36:01 +00:00
Jonatan Kłosko
829493822e
Group LV helpers (#1061) 2022-03-17 23:33:18 +01:00
Jonatan Kłosko
d72cb5db03
Mark sections as branching in VegaLite introductory notebook (#1059) 2022-03-17 23:33:10 +01:00
jonatanklosko
b8ba2648b3 Update assets 2022-03-17 20:46:24 +00:00
Jonatan Kłosko
afce2e6047
Prevent smart cell menu from overlapping with insert buttons (#1060) 2022-03-17 21:44:40 +01:00
wojtekmach
9d065c62ed Update assets 2022-03-17 19:41:54 +00:00
Wojtek Mach
cb7f51726a
Fix macOS menu bar (#1057) 2022-03-17 20:32:59 +01:00
Jonatan Kłosko
e45f22c328
Update dependencies (#1058)
* Update Elixir deps

* Update JS dependencies
2022-03-17 20:30:36 +01:00
jonatanklosko
a3a368c8fb Update assets 2022-03-17 12:29:21 +00:00
Jonatan Kłosko
7d30aab07b
Enable SQL highlighting in the editor (#1056) 2022-03-17 13:27:28 +01:00
jonatanklosko
7584a02adb Update assets 2022-03-16 10:35:48 +00:00
Jonatan Kłosko
b3b79afed4
Refactor JS hooks (#1055)
* Restructure hook files

* Simplify app.js

* Refactor hooks

* Implement password toggle with JS commands
2022-03-16 11:33:53 +01:00
jonatanklosko
99c3eb4108 Update assets 2022-03-15 10:54:17 +00:00
Jonatan Kłosko
e7835c73f2
Use the first cell in viewport as the default for j/k navigation (#1054) 2022-03-15 11:52:29 +01:00
Jonatan Kłosko
580116ea97
Keep cell hover when moving cursor to iframe (#1051) 2022-03-15 11:52:21 +01:00
jonatanklosko
cd7b211864 Update assets 2022-03-14 21:21:59 +00:00
Jonatan Kłosko
6db36ea7e6
Add support for smart cell editor (#1050)
* Add support for smart cell editor

* Log an error when smart cell fails to start
2022-03-14 22:19:56 +01:00
jonatanklosko
e6a9cf94ea Update assets 2022-03-13 15:24:35 +00:00
Jakub Perżyło
4061aa150d
Add autosave path configuration (#1019)
* Added autosave path configuration

* Update settings.ex

* Adjusted to review

* Apply suggestions from code review

Co-authored-by: José Valim <jose.valim@gmail.com>

* Adjusted to review

* Adjusted to review

Co-authored-by: José Valim <jose.valim@gmail.com>
2022-03-13 16:22:52 +01:00
Wojtek Mach
baccc964db
More Windows vendoring fixes (#1049) 2022-03-10 16:42:32 +01:00
Jonatan Kłosko
ea8b7c2d15
Add support for scanning smart cell evaluation result (#1048)
* Add support for scanning smart cell evaluation result

* Don't allow moving an evaluating cell across sections

* Use consistent naming
2022-03-08 11:10:37 +01:00
Jonatan Kłosko
6b78258713
Add support for scanning evaluation context from smart cells (#1041)
* Add support for scanning evaluation context from smart cells

* Rename prev_locator to base_locator to clarify the meaning

* Adjustments

* Add data tests

* Adjustments

* Test smart cell intearaction with RuntimeServer

* Serialize binding scanning and leave sending to the user

* Monitor the scanning process
2022-03-05 13:19:42 +01:00
Wojtek Mach
fe53c6a852
Fix vendoring OTP for Windows app (#1039) 2022-03-03 17:08:17 +01:00