Commit graph

1078 commits

Author SHA1 Message Date
Jonatan Kłosko 9d1767dd50
Add support for plain text output (#1790) 2023-03-15 17:48:38 +01:00
Alexandre de Souza bf77b28601
Bump req_athena and req_bigquery (#1793) 2023-03-15 13:22:16 -03:00
Jonatan Kłosko 2ec24732bd
Automatically evaluate changed parent cells (#1786) 2023-03-14 23:48:07 +01:00
José Valim 764d775ed3 Initial revamp of notebooks
Deployment and introduction to Kino
still need to be rewritten.
2023-03-14 15:29:09 +01:00
ByeongUk Choi a9ea50f01a
Add Advanced Kino to the learn page (#1745) 2023-03-14 11:37:31 +01:00
Cristine Guadelupe debb141d49
Data transform guide (#1773) 2023-03-14 11:36:54 +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
José Valim 77d03de114 - The Livebook Team => The Livebook crew | to avoid confusion 2023-03-13 21:23:31 +01:00
Hugo Baraúna 16afba757b
Updates link to Livebook Teams survey (#1783) 2023-03-13 20:10:24 +01:00
Jonatan Kłosko 9712554c14
Add secret key to personal hub edit form (#1776)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-03-13 20:10:11 +01:00
Jonatan Kłosko a6d3b1c568
Override default syntax colors in runtime node (#1782) 2023-03-13 19:32:00 +01:00
Jonatan Kłosko 07fab99353
Don't garbage collect input values when converting smart cell to code (#1781) 2023-03-13 18:31:31 +01:00
Jonatan Kłosko 9dc09c3146 Adjust headings spacing 2023-03-13 17:40:19 +01:00
Jonatan Kłosko 6e4c81edae
Fix attribute replacement in storage (#1778) 2023-03-13 16:27:25 +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 42bc98a42d
Remove storage abstraction (#1777) 2023-03-13 14:44:33 +01:00
Jonatan Kłosko deacb1a4a4
Explicitly track which secrets come from the hub (#1769) 2023-03-11 12:51:06 +01:00
Cristine Guadelupe 6e53c78597
Updates KinoExplorer (#1770) 2023-03-11 18:34:56 +07:00
Jonatan Kłosko 7f71f2fe9f
Add stamp to notebook source and persist allowed hub secrets (#1768) 2023-03-10 22:36:51 +01:00
Jannik Becher ae797040cd
Set default folder when saving a forked notebook (#1767) 2023-03-10 17:02:30 +01:00
Wojtek Mach 0f38c59662
Add "+ Add Hub" link to hub selector (#1766) 2023-03-10 11:31:32 +01:00
Alexandre de Souza 753f6fffaa
Update to Livebook Teams (#1765) 2023-03-09 17:04:29 -03:00
José Valim 5c106e81fa
Small changes (#1764) 2023-03-09 17:41:40 +01:00
Alexandre de Souza 3b41e87876
Add hub secrets list to Personal Hub page (#1763) 2023-03-09 12:04:47 -03:00
Jonatan Kłosko a991bf36c9 Update hubs description 2023-03-08 16:38:22 +01:00
Jonatan Kłosko d8f9ab1a96
Add explanation tooltip when starring is disabled (#1762) 2023-03-08 16:15:22 +01:00
José Valim c6df940808 Delete MIX_ENV on boot 2023-03-08 15:49:28 +01:00
Jonatan Kłosko 2db261898f Format 2023-03-08 13:44:44 +01:00
José Valim ac1dbf56ec
Move hub selector under title (#1759) 2023-03-08 13:35:54 +01:00
José Valim 11b3494a9d Tidy up hubs onboarding 2023-03-08 10:27:23 +01:00
Cristine Guadelupe 0f84c4d244
Data transform cell (#1758) 2023-03-08 15:38:34 +07:00
José Valim 508862dda6 Copy edit public apps text 2023-03-08 09:32:48 +01:00
Jonatan Kłosko 96c24d7002
List public apps on the auth screen (#1757) 2023-03-07 23:37:57 +01:00
Alexandre de Souza 1cdc5251dd
Make Hubs feature public and blocks the hub creation (#1756) 2023-03-07 18:43:52 -03:00
Jonatan Kłosko 7f149a9321 Make modal width a variant attribute 2023-03-07 22:19:16 +01:00
Alexandre de Souza 8754bc0d5a
Shows only the secrets from selected hub (#1747) 2023-03-07 15:24:07 -03:00
Jonatan Kłosko d4a805f806
Define light editor theme (#1755) 2023-03-07 14:57:25 +01:00
Jonatan Kłosko b9237dd7f0
Add new notebook action to the file select (#1754) 2023-03-06 21:24:48 +01:00
Jonatan Kłosko 429a89b1aa
Handle assertion errors in doctests (#1752) 2023-03-06 19:36:54 +01:00
Jonatan Kłosko 503f8df76a
Add star/unstar to the session page menu (#1753) 2023-03-06 19:36:45 +01:00
José Valim ba5825b64b Add spacing at the bottom of pages 2023-03-06 18:40:23 +01:00
Jonatan Kłosko eca1d7265e Use components 2023-03-06 18:28:45 +01:00
José Valim a6b9b1b330 More text 2023-03-06 18:25:33 +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
José Valim 2cd6e52b84 Move hub icon inside notebook margins 2023-03-05 19:28:47 +01:00
Alexandre de Souza e73af96b86
Allow users to select the notebook's hub (#1744) 2023-03-02 18:10:38 -03:00
Jonatan Kłosko dd5e1af23b
Persist app settings and support deployment from directory (#1741)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-02-28 21:37:43 +01:00
Jonatan Kłosko a90e9193f4 Update app tests 2023-02-28 17:28:10 +01:00
José Valim 3d788df4d7 Have Apps come before Learn 2023-02-28 16:40:11 +01:00
Jonatan Kłosko 9bba25c52a
Show more detailed message when no apps are running (#1737) 2023-02-28 16:32:48 +01:00
Jonatan Kłosko 1676d5469e
Add page listing apps (#1733) 2023-02-28 15:08:49 +01:00
Alexandre de Souza 5d48ffd051
Remove entire app secrets implementation (#1734) 2023-02-28 10:55:52 -03:00
Wojtek Mach 1f496c8605
Typing env and secret name automatically upcases (#1736) 2023-02-28 13:53:18 +01:00
Jonatan Kłosko fbf52a9bd8
Update app form to use checkboxes (#1732)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-02-27 17:54:26 +01:00
Alexandre de Souza bfcf82f06b
Implements Secrets features inside hub's Provider (#1712) 2023-02-27 13:45:14 -03:00
Dominic Rubas 4bda0a7c89
Remove duplicated alias for LayoutHelpers (#1731) 2023-02-27 17:06:38 +01:00
Jonatan Kłosko 860a1e4bd9
Add source option (#1728) 2023-02-27 17:05:36 +01:00
Jonatan Kłosko 984a4f1690 Move secrets list into a separate component 2023-02-24 21:24:00 +01:00
Jonatan Kłosko e78b3a930c
Move more styles to components (#1723) 2023-02-23 19:07:00 +01:00
Jonatan Kłosko 36e2d2b277
Don't validate changesets on mount (#1724) 2023-02-23 19:00:03 +01:00
Jonatan Kłosko be033b9074
Refactor secrets form (#1721) 2023-02-23 10:40:32 +01:00
Jonatan Kłosko 5b5593a54b
Update to Phoenix 1.7 (#1720) 2023-02-22 19:34:54 +01:00
Kevin 0d058152cd
Fix erlang module docs in Intellisense (#1719) 2023-02-21 15:51:15 +01:00
Jonatan Kłosko 7cac0557b9
Keep setup cell open on error (#1718) 2023-02-21 13:17:54 +01:00
Jonatan Kłosko 08391f511c Fix form :for deprecation 2023-02-20 20:51:17 +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
José Valim d282ea28c7 Log when reading from storage 2023-02-16 13:49:21 +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
Alexandre de Souza 5c1d6f082f
Update Local hub to Personal hub and makes it editable (#1708) 2023-02-13 17:18:06 -03:00
Alexandre de Souza d0e83dc288
Implements delete hub button (#1705) 2023-02-13 01:52:25 -03:00
José Valim b9e4de68c9
Move most flags to env vars (#1704)
Env vars provide a more unified experience across
Desktop, Docker, and CLI. We keep only a handful
of switches that mirror Elixir's own CLI.
2023-02-10 19:55:47 +01:00
Jonatan Kłosko 52bc694059
Make file dropzone ids unique (#1699) 2023-02-09 12:34:46 +01:00
José Valim 8f1f0e90b9 Remove padding from sidebar top icon buttons 2023-02-08 01:31:06 +01:00
José Valim 3fc2da3474
Mention how to set password on token page (#1695) 2023-02-07 18:01:40 +01:00
Alexandre de Souza e58213b000
More improvements for Secrets and Hubs (#1693) 2023-02-06 20:37:11 -03: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 c8dd1151f0
Fix assets fetching for client-specific outputs (#1692) 2023-02-06 15:50:48 +01:00
Jonatan Kłosko c8a10c6e44 Pass missing assigns in grid and tab outputs 2023-02-06 12:00:13 +01:00
Wojtek Mach c1b60c14e9
"Add secret" form improvements (#1687)
1. Add label for "name" and "value" inputs
2. Display validation error when secret already exists in a hub
3. Change hub select to a list of radio buttons
2023-02-04 17:50:50 +01:00
Jonatan Kłosko 597d9fff3f
Cancel scheduled evaluation on error (#1688) 2023-02-03 21:04:13 +01:00
Jonatan Kłosko c29b6fdda2
Add missing error clauses in WebSocket client (#1690) 2023-02-03 18:32:53 +01:00
Jonatan Kłosko e622ef4f96
Fix dialyzer warnings (#1691) 2023-02-03 18:30:41 +01:00
Jonatan Kłosko 5d651cf5c7
Reset autosave interval when changing file system (#1689) 2023-02-03 18:08:15 +01:00
Alexandre de Souza 5f6e7176fc
Allow hub secret toggling (#1675) 2023-02-03 13:15:46 -03:00
Jose Vargas 605498a369
Small clarification to running Livebook inside a Mix project (#1682) 2023-02-03 09:29:52 +01:00
Zach Allaun 8f92661918
Support setting node and distribution using environment vars (#1672) 2023-02-01 21:22:49 +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
Alexandre de Souza 887d423007
Improve hubs provider API (#1670) 2023-02-01 13:33:41 -03:00
Alexandre de Souza dd2b7fa0e6
Minor improvements (#1669) 2023-01-31 20:37:04 -03:00
Alexandre de Souza d70764517f
Implements :origin field to Secret struct (#1667) 2023-01-31 19:17:05 -03:00
José Valim eaa4856972 Support finding epmd wit ipv6 2023-01-31 09:33:40 +01:00
Jonatan Kłosko 86bf972c0d
Add support for sending frame updates to a specific client (#1662) 2023-01-28 00:34:31 +01:00
Jonatan Kłosko 238b20b925 Fix smart cell source pruning 2023-01-27 15:39:47 +01:00
Wojtek Mach 0df2fe4fd1
Hub fixes (#1657) 2023-01-25 20:40:14 +01:00
Linus 9f3ea5856a
Check attached node elixir version (#1654)
The attached node should have a minimum elixir version, to avoid
problems at runtime.

For example, Livebook version 0.8 introduced a dependency on
`Code.eval_quoted_with_env/4` which is new since elixir 1.14.2.
2023-01-23 22:14:40 +01:00
Wojtek Mach 26305a9687
Add "Copy URL", "View Logs" and "Settings" buttons (#1650) 2023-01-19 17:15:42 +01:00
Wojtek Mach 32d0f89312
Display "Livebook is shutting down" flash on desktop app shutdown (#1645) 2023-01-18 14:11:40 +01:00
Wojtek Mach 596df882fc
Rebuild Livebook Desktop (#1641) 2023-01-16 21:09:47 +01:00
Aayush Kumar Sahu 18735928c9
Fix import button disappear in small screens (#1643) 2023-01-15 12:43:12 +01:00
Alexandre de Souza ae3a5661a8
Implement emojis instead of colors (#1636) 2023-01-12 17:37:12 -03:00
Jonatan Kłosko 57e1df74f3
Allow specifying S3 region explicitly (#1638) 2023-01-12 13:32:08 +01:00
Alexandre de Souza 3b2ea3c8ce
Update Connection life-cycle and implement ChangesetError message (#1633) 2023-01-10 17:12:35 -03:00
José Valim ee1fea2993
Improve docs for runtimes (#1630) 2023-01-08 12:47:43 +01: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 b60428c94d
Improve tests (#1627) 2023-01-05 16:12:45 +01:00
Jonatan Kłosko 35b8bb73df Trigger input garbage collection after cell deletion 2023-01-05 12:34:32 +01:00
Jonatan Kłosko 17ab1ae472
Add support for file input (#1622) 2023-01-04 21:44:04 +01:00
Alexandre de Souza d4bda6042c
Load LB_ env vars as app secrets (#1615) 2023-01-04 11:10:33 -03:00
Jonatan Kłosko 9e328e83ca
Handle long termination when garbage collecting evaluation processes (#1618)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-01-04 12:37:42 +01: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 8b3d8847c1
Add support for audio input (#1610) 2022-12-29 15:09:09 +01:00
Alexandre de Souza 9ff84f204f
Implement event handling from WebSocket (#1608) 2022-12-26 21:16:47 -03:00
José Valim b4696710e7
Encapsulate server access (#1605) 2022-12-24 11:35:06 -03:00
Alexandre de Souza f9fb5194fa
Implement EnterpriseClient and improvements to WebSocket Connection (#1601) 2022-12-23 12:56:00 -03: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 82d748a1ff
Don't track :rand and :random keys in process dictionary (#1599) 2022-12-22 11:38:43 +01:00
Alexandre de Souza 3e11023925
Migrate WebSocket GenServer (Server) to Connection (#1585) 2022-12-21 11:28:27 -03:00
Jonatan Kłosko 59cbba63b7
Trigger garbage collection before evaluation (#1593) 2022-12-17 11:17:37 +01:00
José Valim 10da0a2311
Change message when there are no app secrets (#1587) 2022-12-14 21:06:04 +01:00
Jonatan Kłosko ae7fbca0ba
Cleanup modules when evaluator terminates (#1582) 2022-12-13 20:19:29 +01:00
Jonatan Kłosko 600666fd46
Default to Torchx for the Neural Network task when on Windows (#1583) 2022-12-13 17:12:22 +01:00
José Valim 190a4cffd3
Do not crash when giving token to password and vice-versa (#1574) 2022-12-12 11:52:45 +01:00
José Valim 27f62eeb6d Rewrite .eex into .heex 2022-12-12 11:31:52 +01:00
Jeremy Brayton c6fcad2099
Widen the inputs for the authentication screen (#1572) 2022-12-12 11:25:46 +01:00
Frank Hunleth 3131610ad8
Fix error when specifying custom learn notebooks (#1570)
This fixes the following error:

```
07:18:26.178 [error] #PID<0.2236.0> running LivebookWeb.Endpoint (connection #PID<0.2226.0>, stream id 6) terminated
Server: localhost:8080 (http)
Request: GET /
** (exit) an exception was raised:
    ** (ArgumentError) expected a path starting with a single / but got "data:image/svg+xml;base64,PD94bWwgdmVyc2lv..."
        (phoenix 1.6.15) lib/phoenix/endpoint/supervisor.ex:311: Phoenix.Endpoint.Supervisor.raise_invalid_path/1
        (phoenix 1.6.15) lib/phoenix/config.ex:65: Phoenix.Config.cache/3
        (livebook 0.8.0) lib/phoenix/endpoint.ex:597: LivebookWeb.Endpoint.static_path/1
        (livebook 0.8.0) lib/livebook_web/live/learn_helpers.ex:15: anonymous fn/2 in LivebookWeb.LearnHelpers.notebook_card/1
        (livebook 0.8.0) /Users/fhunleth/git/livebook-dev/livebook/lib/livebook_web/live/home_live.ex:119: LivebookWeb.HomeLive.render/1
        (elixir 1.14.2) lib/enum.ex:1780: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
```
2022-12-10 12:46:56 +01:00
Jonatan Kłosko 361455cd4e Release v0.8.0 2022-12-08 21:05:48 +01:00
Matt Furden e9d88ad7d7
Support monospace font in textarea input (#1565) 2022-12-06 19:36:22 +01:00
Jonatan Kłosko 52d6835388
Support config updates when adding smart cell deps to Mix.install/2 (#1560) 2022-12-03 16:23:43 +01:00
Jonatan Kłosko 460eb14420
Support custom image format with implicit pixel data (#1558) 2022-12-02 12:42:31 +01:00
José Valim 53717bc410 Mention Hex.pm on smart cells chapter 2022-11-30 20:56:47 +01:00
José Valim 14d5017ede Update Phoenix and Phoenix.View deps 2022-11-30 14:58:24 +01:00
Jonatan Kłosko a9d455d377 Fix the default base url path 2022-11-30 00:00:21 +01:00
Jonatan Kłosko 321810eeca Format 2022-11-29 23:35:35 +01:00
Jacques Lorentz f4e836a5da
Base url path configuration variable (#1549) 2022-11-29 23:34:38 +01:00
José Valim 1c8a0c72b5 Link to Installation FAQ 2022-11-29 19:20:53 +01:00
Alexandre de Souza 60bc7194ed
Improve Enterprise integration with real data (#1548) 2022-11-28 20:47:25 -03:00
Jonatan Kłosko 97506535c5
Make textarea input autosized (#1552) 2022-11-28 20:47:48 +01:00
José Valim dd68f7ff1c Convert cannot compile file into cannot compile cell 2022-11-28 15:01:43 +01:00
José Valim b335e1c9cb
More doctests (#1544) 2022-11-23 15:06:08 +01:00
Alexandre de Souza 2eb601d32a
Improve authentication form feedback for the user (#1543) 2022-11-22 14:56:42 -03:00
José Valim b8997d6ce2
Use with: :clear_session on bad CSRF tokens 2022-11-22 16:38:49 +01:00
Jonatan Kłosko 15754c9c99
Add support for image input (#1538) 2022-11-19 15:08:00 +01:00
Jonatan Kłosko c0fa414593 Fix default chunks info 2022-11-17 20:46:17 +01:00
Jonatan Kłosko 16d473685a
Fix input value lookup for nested inputs (#1537) 2022-11-17 15:15:54 +01:00
Jonatan Kłosko ce93015a0d
Add support for multi-chunk smart cell source (#1536) 2022-11-17 12:36:06 +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 42d2386a2d
Fix reading inputs rendered in the same evaluation (#1531) 2022-11-15 15:13:05 +01:00
Jonatan Kłosko 9c9c54de65
Delete defined modules if evaluation fails (#1528) 2022-11-12 19:39:59 +01:00
Jonatan Kłosko 3504bac3f6 Don't define doctests case if there are no modules 2022-11-11 21:58:53 +01:00
Jonatan Kłosko 81fccfd436
Automatically run doctests when a module is defined (#1525) 2022-11-11 21:49:51 +01:00
Alexandre de Souza 4bf292ec43
Force body background color to white (#1523) 2022-11-11 11:48:21 -03:00
Frank Hunleth 52e5273401
Support passing an MFA for customizing shutdown (#1519)
This commit lets you customize Livebook shutdown to gracefully power
off. One use case is for Nerves-based devices that need to do more than
call `System.stop/0` to power off.

This doesn't change the `LIVEBOOK_SHUTDOWN_ENABLED` environment
variable. It still works the same.

The `:shutdown_enabled` configuration is now `:shutdown_callback`. Valid
values are `nil` or an MFA. An unset or `nil` callback hides the
shutdown button in the UI.
2022-11-10 18:09:01 +01:00
Jonatan Kłosko 31c119a633
Persist modules bytecode to disk (#1521) 2022-11-10 16:37:57 +01:00
José Valim 27e7535a42 Make configs consistent 2022-11-10 16:04:53 +01:00
Alexandre de Souza 1cd92366d8
Allow Livebook to run inside iframes (#1520) 2022-11-10 16:02:59 +01:00
Jonatan Kłosko 936146e52c
Improve reproducability of module definitions (#1518) 2022-11-09 18:22:27 +01:00
Jonatan Kłosko 484e47142a
Track evaluation dependencies and cache results (#1517) 2022-11-09 14:40:44 +01:00
Alexandre de Souza 7b1addb7eb
Use WebSocket and Protobuf instead of GraphQL with Livebook Enterprise (#1504) 2022-11-03 13:49:07 -03:00
Kevin 2dd9e9f8d3
Make notebook_card clickable (#1501) 2022-10-25 15:33:15 +02:00
José Valim d392e8d4ab Clarify that env vars are specific to this machine 2022-10-20 19:55:38 +02:00
Jonatan Kłosko 23e071386b
Fix units in byte formatting (#1494) 2022-10-20 11:56:10 +02:00
Hugo Baraúna 567b7af459
Update links to map libre and kino vega lite libs (#1492)
* Update links to map libre libs

* Updates link to KinoVegaLite
2022-10-18 15:52:08 +02:00
Jonatan Kłosko 2063cf9485
Move file system actions into a menu (#1484) 2022-10-13 15:31:06 +02: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 e4cf6b939b Add spacing to secrets bottom 2022-10-11 20:54:16 +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
José Valim 36ced79515 Tiny adjustments to style and responsiveness based on feedback 2022-10-11 19:06:21 +02:00
Alexandre de Souza 19773a0e36
Add Enterprise Hub (#1449) 2022-10-11 11:27:27 -03: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 711368bf0c Update Env Var copy 2022-10-10 10:14:06 +02:00
Jonatan Kłosko 1639435024
Update references to kino packages (#1467) 2022-10-07 12:19:20 +02:00
Jonatan Kłosko 734ea7dc0c Improve wrapping in error outputs 2022-10-07 12:01:00 +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 195bc502fd Update changelog 2022-10-06 20:13:36 +02:00
José Valim cf7ad7f17a
Provide shared facade in Storage module (#1463) 2022-10-06 19:53:37 +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 6d8ca1fe8d Align livebook logos 2022-10-04 08:22:58 +02:00
José Valim 85268bd083 Move sidebar close inside sidebar (similar to ExDoc) 2022-10-04 00:04:59 +02:00
José Valim e92d9910fa Say Connect for runtime if there is no connection 2022-10-04 00:04:59 +02:00
Jonatan Kłosko 964f4b04d1
Keep stacktrace if all of it is pruned (#1455) 2022-10-03 13:49:19 +02:00
Jonatan Kłosko 2de629d605
Ignore orphan logs in the attached runtime (#1451) 2022-09-30 21:05:46 +02:00
ByeongUk Choi 3aa34393c5
Change Hexdocs link caption (#1444) 2022-09-28 14:48:25 +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
Jonatan Kłosko 1a824d4091 Show sidebar on desktop 2022-09-26 11:07:09 +02:00
Paulo Valim 3626dca875
Improve sidebar behaviour on mobile (#1434)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-09-26 10:00:00 +02:00
Jonatan Kłosko 76d2127170
Update introduction to Kino (#1435) 2022-09-23 16:03:51 +02:00
Jonatan Kłosko 12f77daa68
Fix Markdown formatting of narrow table columns (#1430) 2022-09-22 21:10:51 +02:00
Jonatan Kłosko b20ac022a8
Attempt to load a flat remote URL as a relative path fallback (#1428) 2022-09-22 15:11:29 +02:00
Paulo Valim 285bc923b7
Rename the Explore section to Learn (#1424)
Co-authored-by: José Valim <jose.valim@gmail.com>
2022-09-21 12:06:22 +02:00