Commit graph

433 commits

Author SHA1 Message Date
Alexandre de Souza 76015e3009
Improve Add Hub and Edit Hub pages (#1929) 2023-05-26 15:40:45 -03:00
Jonatan Kłosko 18a1b0e56c
Update dependencies (#1933) 2023-05-26 14:24:59 +02:00
Jose Vargas e614dcbac1
Add doctest decorations to monaco editor per result (#1911) 2023-05-24 14:56:13 +02:00
Jonatan Kłosko f262b9c0c9
Rebuild confirmation modal system (#1903) 2023-05-10 18:23:08 +02:00
ByeongUk Choi 6dd19a8dc9
Add Form to "+ Block" (#1750)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-05-09 16:49:02 +02:00
Franklin Rakotomalala 0eb0f417f5
Add notebook presentation view (#1852)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-04-28 20:16:18 +02:00
Jonatan Kłosko d0b4f16b19
Improve cookie access check (#1889) 2023-04-28 16:38:17 +02:00
Jonatan Kłosko 8eb93f3e24
Improve cookie access when running in iframe (#1888) 2023-04-28 14:50:40 +02:00
Jonatan Kłosko 081d30d37b Fix showing mermaid errors 2023-04-18 14:24:41 +02:00
José Valim 22ace2ca4f Remove pitfalls from deployment notebook 2023-04-16 17:27:30 +02:00
Jonatan Kłosko 9fd7306c01
Link outside iframe when Livebook has no access to cookies (#1863) 2023-04-13 21:32:00 +02:00
Jonatan Kłosko 8e02e0154d
Ask the user for cookies access when running in iframe in Safari (#1862) 2023-04-13 20:39:25 +02:00
José Valim 319725c331
Add more information on iframe checksum mismatch (#1858) 2023-04-13 11:54:40 +02:00
Jonatan Kłosko 000d131f24 Update mermaid 2023-04-04 11:37:41 +02:00
José Valim 9ff9aaef86 Move to livebookusercontent.com to avoid adblockers, closes #1844 2023-04-04 00:03:34 +02:00
José Valim f52ff1e9ec
Purge cookies once they exceed 24kB, closes #1832 (#1833) 2023-03-28 17:11:44 +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 028cdba556 Revert unnecessary mermaid workaround 2023-03-18 23:13:18 +01:00
Jonatan Kłosko 577a4657c8
Fix ignored form submissions (#1799) 2023-03-17 17:12:03 +01:00
Jonatan Kłosko 435a56fc38 Update icons in notebook 2023-03-17 14:12:15 +01:00
José Valim 4320fb1f6b Deploy app notebook 2023-03-17 10:38:44 +01:00
Jonatan Kłosko 5e64d3de87
Expand collapsed section when focusing a cell inside (#1797) 2023-03-17 00:22:35 +01:00
Jonatan Kłosko a4bbe4ef5b
Improve iframe repositioning when moving sections and cells (#1796) 2023-03-16 12:17:50 +01:00
Jannik Becher ce3719f830
Ignore keyboard navigation when ctrl/alt is pressed (#1788) 2023-03-15 11:46:44 +01:00
Jonatan Kłosko 070a11932f
Trigger completion suggestions on dot (#1784) 2023-03-14 15:13:52 +01:00
Jannik Becher 336ae74fb6
Add keyboard shortcut for collapse/expand section (#1779)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-03-13 22:37:11 +01:00
Jannik Becher cea3246766
Add section collapse functionality (#1772)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: José Valim <jose.valim@gmail.com>
2023-03-13 14:52:26 +01:00
Jonatan Kłosko d4731c39be Only rewrite local settings when present 2023-03-07 15:18:07 +01:00
Jonatan Kłosko d4a805f806
Define light editor theme (#1755) 2023-03-07 14:57:25 +01:00
ByeongUk Choi 4db39078bd
Add open page and track starred/recent notebooks (#1639)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-03-06 18:14:33 +01:00
Jonatan Kłosko 860a1e4bd9
Add source option (#1728) 2023-02-27 17:05:36 +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 9aa72eb1d1 Update mermaid 2023-02-20 12:44:28 +01:00
Jonatan Kłosko 4334e8a58e
Add access control to apps (#1715)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-02-18 01:16:42 +01:00
Jonatan Kłosko 40c5044a60
Add initial support for apps (#1709) 2023-02-16 13:47:46 +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 5fe1c9a81d
Make emoji picker easier to close (#1711) 2023-02-14 16:35:06 +01:00
Jonatan Kłosko 45af59d084
Bump Monaco Editor (#1700) 2023-02-09 14:08:24 +01:00
Jonatan Kłosko 597d9fff3f
Cancel scheduled evaluation on error (#1688) 2023-02-03 21:04:13 +01:00
Slamet Kristanto b52710ca63
Expose global monaco instance for firenvim plugin support (#1642) 2023-01-15 22:09:51 +01:00
Alexandre de Souza ae3a5661a8
Implement emojis instead of colors (#1636) 2023-01-12 17:37:12 -03:00
Jonatan Kłosko d8efd348e9
Render inline math in on-hover docs (#1635) 2023-01-10 20:30:04 +01:00
Jonatan Kłosko 17ab1ae472
Add support for file input (#1622) 2023-01-04 21:44:04 +01:00
Jonatan Kłosko 9f14beaf7b Exit insert mode when opening package search 2023-01-03 18:52:22 +01:00
Jonatan Kłosko 2e230c9deb
Add an option to run setup with no cache (#1616) 2023-01-03 12:24:22 +01:00
Jonatan Kłosko 8b3d8847c1
Add support for audio input (#1610) 2022-12-29 15:09:09 +01:00
Jonatan Kłosko 2048ec9f63
Update dependencies (#1613) 2022-12-29 13:10:28 +01:00
Jonatan Kłosko 3eb21f8757
Load JS view iframe only once in viewport (#1607) 2022-12-25 14:31:40 +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
Jonatan Kłosko e79b6eb1a8 Disable font ligatures in Markdown inline code 2022-12-16 23:15:44 +01:00
Jonatan Kłosko a4cc14ce26 Ignore universal shortcuts inside inputs in cell output 2022-12-07 19:51:14 +01:00
Jonatan Kłosko 9d805d8c60
Render math in on-hover documentation (#1566) 2022-12-06 15:23:54 +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 4530dd5cc6 Update mermaid 2022-12-01 15:51:07 +01:00
Jonatan Kłosko 24f4d78cc1
Fix prettier pattern (#1554) 2022-11-30 00:26:28 +01:00
Jacques Lorentz f4e836a5da
Base url path configuration variable (#1549) 2022-11-29 23:34:38 +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
Nick Sergeant 84361fb207
Add help text for how to access secrets in the secrets sidebar (#1535)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-11-17 01:11:06 +01:00
Jonatan Kłosko dc5be4a241 Simplify webpack configuration 2022-11-12 02:16:02 +01:00
Jonatan Kłosko ba193be13b
Expand relative URLs in HTML elements in Markdown (#1491) 2022-10-17 13:00:25 +02:00
Cristine Guadelupe 06e9cc6828
Delete and view secrets from the sidebar (#1473)
* Delete secrets from sidebar

* Collapsible secret detail

* Secret details layout

* Secret details layout adjustments

* Hover and text color for secret details

* Changes switch_button colors to have more contrast

* small adjustment

* Uses remove and add class everywhere

* Uses JS.toggle
2022-10-11 14:55:36 -03:00
Jonatan Kłosko 702c3feb0a
Downgrade Monaco editor to fix Mermaid graph editing (#1471) 2022-10-09 21:39:29 +02:00
José Valim 950982304d
Final touchups to secrets (#1464)
* Use font-mono on secret names
* Unify error handling with changesets
* Unify put_env/delete_env as set_env/unset_env
* Review text and descriptions
2022-10-06 21:44:04 +02:00
Jonatan Kłosko 9ff3131546
Update dependencies (#1452) 2022-09-30 21:35:56 +02:00
Cristine Guadelupe d494e58c6a
Secrets modal title from options (#1443)
* Secrets modal title from options

* Applying suggestions
2022-09-27 23:25:07 -03:00
Brooklin Myers a103bc3d1e
Add support for JavaScript highlighting in Markdown cells (#1432) 2022-09-23 13:21:14 +02:00
Jonatan Kłosko 1ffdf8bf6a
Add importJS to the JS view client context (#1431) 2022-09-22 21:27:29 +02:00
Jonatan Kłosko 61ee3c79dc
Rewrite Markdown live links to either push or patch (#1429) 2022-09-22 15:51:18 +02:00
Jonatan Kłosko 803cf37f68 Don't add scroll to Mermaid graphs 2022-09-19 23:01:40 +02:00
José Valim a4ba8e926c
File system upload (#1422)
Co-authored-by: gitstart <bot@gitstart.com>
2022-09-19 22:20:39 +02:00
Cristine Guadelupe 52f7d7419b
Changes secrets wording form label to name (#1419) 2022-09-18 18:40:09 -03:00
Cristine Guadelupe bf09441555
Secrets from modal (#1406)
* Secrets from modal

* Format assets

* Applying suggestions

* Format assets

* Applying suggestions

* Unavailable secret

* Applying suggestions - select_secret_ref

* Applying suggestions

* Applying suggestions - iframe v4
2022-09-16 17:56:40 -03:00
Jonatan Kłosko 9e43af7b4a
Fix unnecessary vertical whitespace in Mermaid graphs (#1415) 2022-09-16 15:52:04 +02: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
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
Cristine Guadelupe afcb2ff834
Livebook secrets (#1348)
* Add secrets to the sidebar

* Get and put secrets (naive)

* Secrets list - shortcut

* Validates secret name

* Livebook secrets as environment variables

* Restores secrets when necessary

* Minor adjustments

* Implements add_system_envs for NoopRuntime

* Moves secrets to session data

* Granular operations for secrets

* Minor adjustments

* Applying suggestions

* Test for add secrets

* Type for secret

* Applying suggestions

* Prevents duplicates

* Refactor to live_render

* Update lib/livebook/session/data.ex

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

* Sort secrets

* Applying suggestions

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-25 17:24:24 -03:00
Alexandre de Souza 5c050e640f
Add Livebook Hub with Fly.IO integration (#1319) 2022-08-18 10:34:27 -03:00
Jonatan Kłosko d0338be513 Improve assertion of the session creation timestamp 2022-08-11 13:42:33 +02:00
Jonatan Kłosko fd6aaa8546
Enforce LF for line endings in the editor (#1337) 2022-08-08 14:59:28 +02:00
Jonatan Kłosko 218bce5a63
Use binary ids for session clients (#1333) 2022-08-05 14:43:41 +02:00
Paulo Valim 43f5c383e0
Redesign sidebar (#1325)
Co-authored-by: José Valim <jose.valim@dashbit.co>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-03 15:50:27 +02:00
Jonatan Kłosko 2b2ecccaec
Update dependencies (#1321) 2022-08-02 15:26:45 +02:00
Nick Kaltner ab206e7516
Bump mermaid to 9.1.3 (#1296) 2022-08-02 11:31:41 +02:00
Kuria 3cf175c81a
Add shortcut for evaluating a cell and advancing to the next one (#1294) 2022-07-23 12:22:17 +02:00
Jonatan Kłosko e82279d9af
Reinitialize JS views on reconnection (#1270) 2022-07-11 21:19:32 +02:00
Jonatan Kłosko 510f657542
Fix absolute URL detection when traversing markdown links (#1255) 2022-06-30 14:57:52 +02:00
Brooklin Myers 604c79e4ca
Highlight CSS in Markdown snippets (#1246) 2022-06-25 00:06:46 +02:00
Jonatan Kłosko 2e29167229
Highlight HTML in Markdown snippets (#1244) 2022-06-24 12:00:11 +02:00
Jonatan Kłosko 8ab4d195d9
Properly copy content with math (#1225) 2022-06-13 14:20:07 +02:00
Jonatan Kłosko 72bdf9b2bd
Fix context menu in the file system component (#1205) 2022-05-28 10:57:39 +02:00
Jonatan Kłosko fb13c9cf22
Allow target _blank links inside iframe (#1203) 2022-05-27 17:32:45 +02:00
Andy Tran f945b3272d
Add support for configuring a custom iframe URL (#1200)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-05-26 02:39:55 +02:00
Tw 641ac96ae7
Fix relative link URL in Markdown output (#1189) 2022-05-17 03:03:18 +02:00
Jonatan Kłosko 0b35c2559b
Don't ignore pointer events when LV disconnect (#1168) 2022-05-04 12:50:36 +02:00
Jonatan Kłosko 567c69a884
Always expand the setup cell when focused (#1166) 2022-05-03 16:20:13 +02:00