Commit graph

1013 commits

Author SHA1 Message Date
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
Jonatan Kłosko
8bb8160605 Skip padding when encoding the confirmation modal id 2022-03-03 02:13:47 +01:00
Wojtek Mach
d297eee919
Download makensis.exe and magick.exe on demand (#1037) 2022-03-02 21:28:06 +01:00
Cristine Guadelupe
88747c1790
Typo: report smart cell definitions function name (#1038) 2022-03-02 16:40:16 -03:00
jonatanklosko
47cf07b796 Update assets 2022-03-02 12:11:17 +00:00
Jonatan Kłosko
24e59598fb
Update dependencies (#1036)
* Bump Elixir deps

* Bump JavaScript dependencies
2022-03-02 13:09:41 +01:00
jonatanklosko
c100a17ba7 Update assets 2022-03-02 11:49:36 +00:00
Jonatan Kłosko
e27ff5a960
Rename Elixir cell to Code cell (#1035) 2022-03-02 12:48:02 +01:00
Jonatan Kłosko
aaeac6bb95
Add an action converting smart cell to elixir cell (#1030)
* Add an action converting smart cell to elixir cell

* Simplify tests setup

* Add confirmation

* 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-03-02 12:13:44 +01:00
Wojtek Mach
29f0f54bbd
Desktop app packaging for Windows (#1032) 2022-03-02 12:06:30 +01:00
Wojtek Mach
59e4713008 Expand path before opening it (another attempt)
See: 864624ad2c
2022-03-02 11:53:02 +01:00
Wojtek Mach
864624ad2c Expand path before opening it
Say we have this path on Windows: `C:/Users/wojtek/foo.livemd`. Opening
it: (ignore it's not escaped)

    http://localhost:4000/open?path=C:/Users/wojtek/foo.livemd

would have failed with:

    ** (ArgumentError) expected an expanded absolute path, got: "C:/Users/wojtek/foo.livemd"

and that's because absolute paths (in other words, Path expanded) start
with `c:/`, not `C:/`.
2022-03-02 11:37:07 +01:00
Jonatan Kłosko
1dc7c43b70
Simplify user modals (#1034)
* Simplify user modals

* Naming
2022-03-02 00:43:06 +01:00
jonatanklosko
2e1f6774f4 Update assets 2022-03-01 23:28:18 +00:00
Jonatan Kłosko
d191b7eb9d
Set up confirmation modals (#1033)
* Set up confirmation modals

* Add temporary fix for the global hook remount
2022-03-02 00:26:40 +01:00
Jonatan Kłosko
f58f9609d2
Fix race conditions in tests (#1031)
* Fix race conditions in tests

* Format

* Increase session import redirect timeout

* Increase intellisense timeout
2022-02-28 22:27:39 +01:00
jonatanklosko
f11b9d50c9 Update assets 2022-02-28 12:55:04 +00:00
Jonatan Kłosko
9d7fe44253
Introduce smart cells (#1029)
* Introduce smart cells

* Apply review comments
2022-02-28 13:53:33 +01:00
José Valim
136d5039c4 Add rebar and hex update steps to README 2022-02-26 09:40:21 +01:00
José Valim
3622d0ee4b
Provide better stacktraces on recent Elixir+OTP versions (#1028) 2022-02-24 19:19:22 +01:00
Jonatan Kłosko
f5c99737dd
Simplify the forwarding IO device (#1024) 2022-02-23 20:47:24 +01:00
Jonatan Kłosko
4f61639fba Use System.os_time/0 for ordering file systems 2022-02-22 23:09:54 +01:00
Jakub Perżyło
4fcdeb6bcf
Changed filesystems config manipulation to use ids (#1017)
* Changed filesystems mainpulation to use ids

* Adjusted to review

* Added filesystem ordering

* Apply suggestions from code review

* Format

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-02-22 22:42:54 +01:00
jonatanklosko
c5f02347c8 Update assets 2022-02-22 11:04:27 +00:00
Jonatan Kłosko
f699575b45
Cache mermaid graph rendering (#1023)
* Cache mermaid graph rendering

* Bump mermaid

* Update naming
2022-02-22 12:02:53 +01:00
Jonatan Kłosko
ca0128d028
Remove leftovers in case assets extraction fails (#1020) 2022-02-22 01:01:04 +01:00
jonatanklosko
3f872816ee Update assets 2022-02-21 19:41:06 +00:00