Alexandre de Souza
3b2ea3c8ce
Update Connection life-cycle and implement ChangesetError
message ( #1633 )
2023-01-10 17:12:35 -03:00
Jonatan Kłosko
d6f758661b
Make automatic reevaluation more accessible ( #1628 )
2023-01-07 15:18:31 +01:00
Alexandre de Souza
b82e360df9
Implement Enterprise secret creation from Session ( #1612 )
2023-01-06 16:14:44 -03: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
484e47142a
Track evaluation dependencies and cache results ( #1517 )
2022-11-09 14:40:44 +01:00
GitStart
577a1b7eb6
Allow a file system to be set as default in the UI ( #1450 )
2022-10-13 15:16:52 +02:00
José Valim
5c053a9573
Always sync livebook secrets with session ( #1477 )
2022-10-11 16:12:14 +02:00
Abhijit Kar ツ
41347c51be
Infer hostname automatically in CLI for attached mode ( #1474 )
2022-10-11 13:25:54 +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
Cristine Guadelupe
4c83317453
Notebook secrets ( #1457 )
...
* Store secrets in the notebook
* Automatically grants access to secrets
* Put notebook secrets on session
* Shows secrets as a list
* Grant access message box
* Grant access confirmation on select
* Applying suggestions - grant access confirmation
* Handles unavailable secrets
* Toggle secrets
* Session only secrets
* Sync secrets
* Fix delete runtime secret
* Clean up
* Component helpers
* Does not store secrets in notebooks
* Store Livebook secrets
* Fix sync secrets
* Tests for secrets
* Doesn't refetch livebook_secrets
* Removes unused function
* More test for secrets
* Livebook secrets as maps
* Fix secret tests
* Applying suggestions
* All secrets as a map
* Shows grant access for missing secret errors
* Unifies grant access
* Fix set_runtime_secrets
* Applying suggestions
* Updates sync secrets tests
* Fix active secret
* Unifies prefill secret name
2022-10-06 13:41:26 -03:00
Jonatan Kłosko
4b9392f7ac
Add a clarification for editor shortcuts ( #1460 )
...
Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-10-04 11:56:52 +02:00
José Valim
e9149dc343
Require fewer clicks to save a notebook ( #1458 )
2022-10-04 10:56:11 +02:00
José Valim
6da00daffd
Update to LV 0.18 ( #1426 )
2022-10-04 08:46:55 +02:00
José Valim
e92d9910fa
Say Connect for runtime if there is no connection
2022-10-04 00:04:59 +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
Cristine Guadelupe
72ea4cebf9
Secrets modal - new layout ( #1441 )
...
* Secrets modal - new layout
* Layout adjustments
* Layout adjustments
* Applying suggestions
* Update lib/livebook_web/live/session_live/secrets_component.ex
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-09-27 17:26:21 -03: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
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
Jonatan Kłosko
ab9ad0369c
Show a message when a smart cell crashes and allow restarts ( #1381 )
2022-09-02 15:50:13 +02:00
José Valim
31c6f7adf7
Style secrets modal consistently with other add modals
2022-09-01 08:09:27 +02: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
José Valim
905dce45ef
More consistent use of padding throughout
2022-08-31 23:53:23 +02:00
José Valim
608979471d
Remove Mix standalone runtime, closes #1345 ( #1370 )
...
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-29 14:20:24 +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
Caleb J. Acosta
d59e2cf4b9
Add SVG as acceptable file type in markdown ( #1341 )
2022-08-11 09:20:19 +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
Kuria
3cf175c81a
Add shortcut for evaluating a cell and advancing to the next one ( #1294 )
2022-07-23 12:22:17 +02:00
ByeongUk Choi
0a87fee7b6
Add sidebar toggle on mobile ( #1183 )
...
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: José Valim <jose.valim@gmail.com>
2022-05-19 16:27:57 +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
df87b2c7fc
Rename toggle output in zen mode to show/hide ( #1161 )
2022-05-02 15:29:42 +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
f39699b65e
Update instructions in the Elixir export ( #1144 )
2022-04-25 13:37:15 +02:00
Jonatan Kłosko
4e49b6e643
Add insert button for diagrams ( #1134 )
2022-04-19 16:51:46 +02:00
Jonatan Kłosko
609409e842
Encapsulate pubsub subscriptions ( #1132 )
2022-04-19 11:29:38 +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
aa3b58d708
Add support for mix run flags to the Mix runtime ( #1108 )
...
* Add support for mix run flags to the Mix runtime
* Support mix run flags in runtime config string
* Add flag validation
* Update lib/livebook_web/live/session_live/mix_standalone_live.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-14 11:44:55 +02:00
Jonatan Kłosko
4f5d6b39a1
Make smart cell editor rounded ( #1105 )
2022-04-13 20:03:21 +02:00
Jonatan Kłosko
aafdc12015
Mount Markdown cell editor lazily ( #1102 )
2022-04-13 12:45:29 +02:00
Jonatan Kłosko
8b153b9bb0
Fix insert buttons overlapping cell actions
2022-04-05 21:53:30 +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