Commit graph

61 commits

Author SHA1 Message Date
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
026af473ec Simplify terminal text clipboard icon 2024-01-25 17:56:26 +08:00
lkarthee
a15a69175b
Enable copy button for error output (#2435) 2024-01-22 08:56:39 +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
José Valim
f0ca13c88a
Include explicit kino requirement on error message (#2260) 2023-10-06 20:23:45 +02:00
Jonatan Kłosko
64a150eef2
Stream audio/image input values into and out of the server (#2249)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-10-05 15:27:34 +02:00
Jonatan Kłosko
21f3046e82 Remove border from plain text output 2023-09-26 09:39:20 +07:00
Jonatan Kłosko
b2ce588a1c Rename error output :known_reason to :context 2023-08-23 23:25:43 +02:00
Jonatan Kłosko
da9cc6643b
Restructure output format (#2179) 2023-08-23 23:25:04 +02:00
Jonatan Kłosko
a11b1dfe7b
Add support for chunked text and markdown outputs (#2174) 2023-08-22 13:21:22 +02:00
Zach Allaun
005a9e86f7
Usability improvements for custom keyboard controls (#2145)
Co-authored-by: José Valim <jose.valim@gmail.com>
2023-08-08 15:58:34 +02:00
Jonatan Kłosko
5ff5e0939d
Explicitly allow imported file entries pointing to file system (#2083) 2023-07-18 02:00:11 +02: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
Jonatan Kłosko
27458f33f7
Add option to disable frame placeholder (#2035) 2023-07-04 13:35:29 +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
a020ea85c5
Respect whitespace in plain text output (#1841) 2023-03-31 22:54:11 +02:00
Jonatan Kłosko
9d1767dd50
Add support for plain text output (#1790) 2023-03-15 17:48:38 +01:00
Jonatan Kłosko
5b5593a54b
Update to Phoenix 1.7 (#1720) 2023-02-22 19:34:54 +01:00
Jonatan Kłosko
c8a10c6e44 Pass missing assigns in grid and tab outputs 2023-02-06 12:00: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
17ab1ae472
Add support for file input (#1622) 2023-01-04 21:44:04 +01:00
Jonatan Kłosko
361455cd4e Release v0.8.0 2022-12-08 21:05:48 +01:00
Jonatan Kłosko
460eb14420
Support custom image format with implicit pixel data (#1558) 2022-12-02 12:42:31 +01:00
Jonatan Kłosko
734ea7dc0c Improve wrapping in error outputs 2022-10-07 12:01:00 +02:00
José Valim
6da00daffd
Update to LV 0.18 (#1426) 2022-10-04 08:46:55 +02:00
Cristine Guadelupe
52f7d7419b
Changes secrets wording form label to name (#1419) 2022-09-18 18:40:09 -03:00
José Valim
be862173a3
Unify several forms in the application (#1392)
* Define .input_wrapper and .hex_color_input components

* Define Tailwind variants from Phoenix v1.6 to help styling

* Make sure single-action modals redirect on save

* Add pill to session secrets in the "Secrets" session sidebar

* Fix alignments of "Users" in the session sidebar
2022-09-05 23:59:13 +02:00
Cristine Guadelupe
97efef52cc
Fix secrets form (#1379)
* Fix secrets form

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

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

* Applying suggestions

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-09-02 15:04:41 -03:00
Cristine Guadelupe
443ff8bf9f
Unavailable secret error (#1371)
* Show an Add Secret button for System.EnvError

* Extracts render_formatted

* Rewrite the env error message

* Renames the env error type

* Applying suggestions

* Applying suggestions (live patch)

* Test for unavailable secrets

* Bump to rc.1

* Applying suggestions (error message)

* New error message

* Prefill the secret value

* Applying suggestions (error message output)

* Update test/livebook_web/live/session_live_test.exs

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

* Update lib/livebook/runtime.ex

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

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-31 20:45:55 -03:00
Jonatan Kłosko
8bb6b05625
Add support for boxed grid (#1375) 2022-08-30 13:15:55 +02:00
Jonatan Kłosko
1e324b4f75
Add support for getting evaluation file during evaluation (#1362) 2022-08-28 09:28:19 +02:00
Jonatan Kłosko
e10f8374fd Add missing client id assign for layout outputs 2022-08-05 15:54:08 +02:00
Jonatan Kłosko
218bce5a63
Use binary ids for session clients (#1333) 2022-08-05 14:43:41 +02:00
Jonatan Kłosko
194e31e2d9
Add support for layout outputs (#1326) 2022-08-04 00:24:15 +02:00
Jonatan Kłosko
4206e84682 Don't format elements with whitespace-pre 2022-08-02 18:22:49 +02:00
Jonatan Kłosko
3fcb6b97bb
Enable HEEx formatter (#1322) 2022-08-02 15:51:02 +02:00
Tw
641ac96ae7
Fix relative link URL in Markdown output (#1189) 2022-05-17 03:03:18 +02:00
Jonatan Kłosko
0f8ce54187 Fix border on error output 2022-04-05 15:15:13 +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
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
0145d68593
Limit standard output to last 1000 lines (#1063) 2022-03-19 12:22:36 +01:00
Jonatan Kłosko
9d7fe44253
Introduce smart cells (#1029)
* Introduce smart cells

* Apply review comments
2022-02-28 13:53:33 +01:00
Cristine Guadelupe
b32b363ed1
Improves cell accessibility (#1009)
* Reads the output after a cell has been evaluated

* Creates SR landmarks when errors happen

* fixes formatting

* Reads a clearer message when a runtime restart is required

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

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

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-02-17 19:37:14 -03:00
Jonatan Kłosko
00c2cfb31a
Improve errors formatting (#936)
* Use monospaced font and wrapping for errors

* Improve function clause error format
2022-01-25 21:55:24 +01:00
Jonatan Kłosko
89ca95be10
Reuse DOM elements when replacing frame outputs (#881)
* Reuse DOM elements when replacing frame outputs

* Keep less persistent indices
2022-01-18 15:13:50 +01:00
Jonatan Kłosko
c57e5448b7
Remove old output formats (#876)
* Remove old outputs

* Remove other occurrences
2022-01-17 13:24:59 +01:00
Jonatan Kłosko
6615422613
Restructure frame output (#857)
* Restructure frame output

* Reboot JSComponent when ref changes

* Prune outputs from LV, handle frame and stdout updates via component messaging

* Keep ANSI modifiers as keyword list

* Don't re-render pruned outputs

* Improve empty frame styling

* Use more specific id

* Add clarification on trailing CR

* Handle output group borders with CSS

* Keep only relevant outputs in memory

* Adjust borders

* Update lib/livebook/live_markdown/import.ex

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

* Apply review comments

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-01-16 20:37:00 +01:00