Commit graph

74 commits

Author SHA1 Message Date
Jonatan Kłosko
a11b1dfe7b
Add support for chunked text and markdown outputs (#2174) 2023-08-22 13:21:22 +02:00
Jonatan Kłosko
9ea1bc3342 Increase size limit for file input and show upload errors 2023-08-14 15:20:55 +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
José Valim
01b2c31659
Make reprocess texts more neutral (#2105) 2023-07-24 21:52:47 +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
Jannik Becher
649a556025
Add support for datetime, time and date inputs (#2002)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-07-03 21:39:16 +02:00
Jonatan Kłosko
610415144a Pass unique id to switch input output 2023-07-03 09:47:30 +02:00
Jonatan Kłosko
683f6c8f3b
Use different html name for output inputs (#1970) 2023-06-08 23:27:13 +02:00
Jannik Becher
dbceb99f79
Fix on-hover docs for erlang modules with type names in signature (#1957)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-06-07 12:30:52 +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
5c923b3a2c
Support unknown MIME types as filters for the file input (#1922) 2023-05-24 14:17:47 +02:00
Jonatan Kłosko
8be942590a
Update preview on change in image and audio inputs (#1807) 2023-03-20 20:09:41 +01:00
Jonatan Kłosko
c1a2c924c6
Flush frame outputs from state (#1798) 2023-03-17 18:30:30 +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
12f2322d08 Pass allowed URI schemes to Markdown outputs and update naming 2023-02-15 22:18:13 +01:00
Jonatan Kłosko
52bc694059
Make file dropzone ids unique (#1699) 2023-02-09 12:34:46 +01:00
Jonatan Kłosko
377045a17b
Remove policy checks and update empty frame text (#1694)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-02-06 20:31:06 +01:00
Jonatan Kłosko
50c23d0e4c
Tag file input id (#1674) 2023-02-01 19:59:26 +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
8b3d8847c1
Add support for audio input (#1610) 2022-12-29 15:09:09 +01:00
Cocoa
262381fcc0
Adding support for capturing images from a camera (#1595)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-12-22 15:06:17 +01:00
Matt Furden
e9d88ad7d7
Support monospace font in textarea input (#1565) 2022-12-06 19:36:22 +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
97506535c5
Make textarea input autosized (#1552) 2022-11-28 20:47:48 +01:00
Jonatan Kłosko
15754c9c99
Add support for image input (#1538) 2022-11-19 15:08:00 +01:00
José Valim
6da00daffd
Update to LV 0.18 (#1426) 2022-10-04 08:46:55 +02:00
Jonatan Kłosko
4ce7df62e4 Fix whitespace in the text output copied to clipboard 2022-08-22 15:59:44 +02:00
Jonatan Kłosko
218bce5a63
Use binary ids for session clients (#1333) 2022-08-05 14:43:41 +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
Jonatan Kłosko
75e47aa593
Reflect input change when clicking the reevaluate button (#1269) 2022-07-11 14:35:05 +02:00
Jonatan Kłosko
a7d7e6332d
Change text inputs to apply change on blur (#1243) 2022-06-24 12:00:23 +02:00
Tw
641ac96ae7
Fix relative link URL in Markdown output (#1189) 2022-05-17 03:03:18 +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
0145d68593
Limit standard output to last 1000 lines (#1063) 2022-03-19 12:22:36 +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
9d7fe44253
Introduce smart cells (#1029)
* Introduce smart cells

* Apply review comments
2022-02-28 13:53:33 +01:00
Jonatan Kłosko
e5e13d86c2
Serve iframes from another local port when running on http (#989)
* Serve iframes from another local port when running on http

* Use relative hostname in local iframe URL

* Simplify server start check

* Use random iframe port when Livebook runs on a random port

* Rename space/ to iframe/

* LivebookWeb.IframePlug -> LivebookWeb.IframeEndpoint
2022-02-08 14:45:58 +01:00
Milo Lee
20bcac1184
Make textarea resizable (#970) 2022-02-02 14:12:50 +01:00
Jonatan Kłosko
a9f9c68cfa
Compute iframe base URL based on page origin (#902)
* Compute iframe base URL based on page origin

* Format
2022-01-20 11:29:45 +01:00
Jonatan Kłosko
ae0f083c5c
Fixes (#889)
* Fix title test

* Fix editable element check

* Fix duplicate output ids
2022-01-19 14:43:35 +01:00
Jonatan Kłosko
3a0d77d879
Disable keyboard control when an editable element is focused (#885) 2022-01-19 13:05:21 +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
Jonatan Kłosko
118cf05d0a
Introduce broadcast communication from runtime (#845)
* Introduce broadcast communication from runtime

* Return broadcast target from group leader

* Increase timeout

* Make the channel test async

* Decouple base topic and ref
2022-01-10 18:38:08 +01:00