Commit graph

113 commits

Author SHA1 Message Date
Jonatan Kłosko
cc92a6d03b Show cell evaluation time also when stale and aborted 2024-02-15 15:47:35 +07:00
Jonatan Kłosko
4587396c9a
Encapsulate buttons and inputs in components (#2477) 2024-02-08 19:27:16 +01:00
Jonatan Kłosko
8431401df1
Reorganize helpers (#2450) 2024-01-26 08:23:37 +01:00
Jonatan Kłosko
501a98d7c6
Move helpers to components (#2448) 2024-01-26 05:47:56 +01:00
Jonatan Kłosko
0cd2f69ce8
Migrate the code editor to CodeMirror (#2444) 2024-01-24 16:01:47 +01:00
Jonatan Kłosko
3bbf43c708
Refactor hook props parsing (#2369) 2023-11-23 16:18:06 +01:00
Jonatan Kłosko
b1ce874826
Use start_async/3 for async file operations and migrate to phx-update="stream" (#2309) 2023-10-27 20:49:46 +02:00
Cristine Guadelupe
393915da7e
Intellisense by default for Elixir in smart cell editor (#2226) 2023-09-25 13:34:53 +07:00
Jonatan Kłosko
de2fc2f93a
Add button for reevaluating apps on change and add retry for errors (#2066) 2023-07-13 12:26:10 +02:00
José Valim
52e1194f60 Slightly increase error box y-padding 2023-07-12 13:05:34 +02:00
Anatolij Werle
6bfc6dfab0
Show summary on failed doctests (#2062) 2023-07-12 12:56:13 +02:00
Zach Allaun
e1ac442c8c
Mobile quality-of-life (part 1) (#2013) 2023-06-28 18:29:44 +02:00
Johnny5
d6be46dd91
Show amplify button for Smart cells (#1984)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-06-17 19:11:07 +02:00
Benedikt Reinartz
fb9193b8ab
Add support for Erlang code cells (#1892)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-06-02 14:49:06 +02:00
Jonatan Kłosko
04efa5932f
Restore code markers and doctest indicators on refresh (#1949) 2023-05-31 15:52:08 +02:00
Jonatan Kłosko
34ffb8f3d5
Automatically reevaluate app sessions and support interrupt (#1928) 2023-05-26 13:12:41 +02:00
Jonatan Kłosko
f262b9c0c9
Rebuild confirmation modal system (#1903) 2023-05-10 18:23:08 +02:00
Jonatan Kłosko
1676d5469e
Add page listing apps (#1733) 2023-02-28 15:08:49 +01:00
Jonatan Kłosko
e78b3a930c
Move more styles to components (#1723) 2023-02-23 19:07:00 +01:00
Jonatan Kłosko
5b5593a54b
Update to Phoenix 1.7 (#1720) 2023-02-22 19:34:54 +01:00
Jonatan Kłosko
7cac0557b9
Keep setup cell open on error (#1718) 2023-02-21 13:17:54 +01:00
Jonatan Kłosko
12f2322d08 Pass allowed URI schemes to Markdown outputs and update naming 2023-02-15 22:18:13 +01:00
GitStart
0990ab4cb2
Support allowlist for hyperlink schemes in Markdown content (#1702) 2023-02-15 22:16:38 +01:00
Jonatan Kłosko
597d9fff3f
Cancel scheduled evaluation on error (#1688) 2023-02-03 21:04:13 +01:00
Jonatan Kłosko
69df6e0ad4
Rework file input to consider multiple clients (#1673) 2023-02-01 18:49:12 +01:00
Jonatan Kłosko
d6f758661b
Make automatic reevaluation more accessible (#1628) 2023-01-07 15:18:31 +01:00
Jonatan Kłosko
2e230c9deb
Add an option to run setup with no cache (#1616) 2023-01-03 12:24:22 +01:00
Adarsh Menon
1a895e4b29
Make image a block item instead of a button in the Markdown editor (#1439)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-12-29 22:32:52 +01:00
Jonatan Kłosko
ab9ad0369c
Show a message when a smart cell crashes and allow restarts (#1381) 2022-09-02 15:50:13 +02:00
Jonatan Kłosko
7f4e9273de Add missing client id for smart cell JS view 2022-08-05 20:55:42 +02:00
Jonatan Kłosko
218bce5a63
Use binary ids for session clients (#1333) 2022-08-05 14:43:41 +02:00
Jonatan Kłosko
4dc1deab24 Bump Elixir version on CI 2022-08-03 17:30:22 +02:00
Jonatan Kłosko
3fcb6b97bb
Enable HEEx formatter (#1322) 2022-08-02 15:51:02 +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
567c69a884
Always expand the setup cell when focused (#1166) 2022-05-03 16:20:13 +02: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
Jonatan Kłosko
2a1d937189
Update wording around dependencies and packages (#1151) 2022-04-30 17:14:10 +02: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
4f5d6b39a1
Make smart cell editor rounded (#1105) 2022-04-13 20:03:21 +02:00
Jonatan Kłosko
1cdc9f7f70
Remove restart button on Mix.install/2 error (#1088)
* Remove restart button on Mix.install failure

* Remove unused standalone? check
2022-04-04 12:49:17 +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
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
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
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
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
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
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
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
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