Commit graph

316 commits

Author SHA1 Message Date
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
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
df87b2c7fc
Rename toggle output in zen mode to show/hide (#1161) 2022-05-02 15:29:42 +02:00
Jonatan Kłosko
96cb11e787
Improve zen mode transition when no cell is focused (#1157) 2022-05-02 13:34:17 +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
25e5d874be
Reinitialize cell editor on reconnection (#1146) 2022-04-28 13:02:20 +02:00
José Valim
3e0b3fffac
Increase the timeout for topbar (#1125)
The topbar still shows way too frequently even
when the navigation feels snap.
2022-04-16 11:05:14 +02:00
Jonatan Kłosko
99b5dba6dd Fix Enter to enter insert mode 2022-04-14 21:37:58 +02:00
Jonatan Kłosko
2b8d732a23
Introduce code zen (#1115)
* Introduce code focus mode

* Update aria labels

* Update wording

* Show shortcut in code zen toggle

* Update shortcut
2022-04-14 21:17:19 +02:00
Jonatan Kłosko
39a294abbe
Add an option for wrapping words in Markdown editor by default (#1107) 2022-04-13 23:54:05 +02:00
Jonatan Kłosko
5fa9bbe01c
Fix JS view connection timeout under heavy load (#1106) 2022-04-13 21:59:43 +02:00
Jonatan Kłosko
aafdc12015
Mount Markdown cell editor lazily (#1102) 2022-04-13 12:45:29 +02:00
Jonatan Kłosko
25f09331cc
Update dependencies (#1099)
* Update Elixir deps

* Update JS deps
2022-04-11 21:01:45 +02:00
Jonatan Kłosko
8b17365bf9
Don't show output init timeout message on serialization error (#1096) 2022-04-09 15:48:44 +02:00
Jonatan Kłosko
05687716d4
Improve smart cell menu visibility while in insert mode (#1091) 2022-04-04 22:28:02 +02:00
Jonatan Kłosko
5117fd6e64
List database types when adding database connection for the first time (#1090)
* List database types when adding database connection for the first time

* Rename classes
2022-04-04 19:48:57 +02:00
Jonatan Kłosko
a3018dc522 Fix element type check on shortcut actions 2022-04-04 17:07:16 +02:00