Commit graph

451 commits

Author SHA1 Message Date
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
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
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
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
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
José Valim
a4ba8e926c
File system upload (#1422)
Co-authored-by: gitstart <bot@gitstart.com>
2022-09-19 22:20:39 +02:00
Paulo Valim
854fc203e0
Adjust mobile layout on the settings page (#1421)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-09-19 20:24:05 +02:00
Cristine Guadelupe
52f7d7419b
Changes secrets wording form label to name (#1419) 2022-09-18 18:40:09 -03:00
Alexandre de Souza
2766cf3256
Final adjustments to env vars (#1418) 2022-09-16 20:37:01 -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
Alexandre de Souza
12f1cc0c3f
Load persisted environment variables from settings into session's runtime (#1409) 2022-09-16 14:22:27 -03:00
Alexandre de Souza
e539661189
Unify styling environment variables forms (#1403) 2022-09-14 13:24:32 -03:00
Alexandre de Souza
0b9f53a122
Implement global Environment Variables from Settings page (#1387) 2022-09-12 11:34:39 -03:00
José Valim
c0fa5c9807 See app -> Manage app 2022-09-07 10:48:16 +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
José Valim
357ba7320a Fix title stylings 2022-09-05 23:26:30 +02:00
Paulo Valim
a0901ada01
Redesign page titles (#1382) 2022-09-02 22:06:22 +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
Alexandre de Souza
ac71d08771
Add and Fetch secrets from Fly applications (#1361) 2022-09-02 12:54:28 -03:00
Paulo Valim
e9e0bda94f
Add cursor pointer class to the button new notebook (#1383) 2022-09-02 15:54:41 +02: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
640e9b2124
Move toasts to the top (#1367)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-09-01 18:41:28 +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
Alexandre de Souza
2cbd81eaf5
Migrate HubLive to Phoenix format (#1373) 2022-08-30 11:32:48 -03:00
Jonatan Kłosko
8bb6b05625
Add support for boxed grid (#1375) 2022-08-30 13:15:55 +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
José Valim
895373e08b
Log the reason a runtime node goes down (#1368)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-29 11:12:25 +02:00
José Valim
aca9c18086 mix format 2022-08-28 19:25:42 +02:00
José Valim
ed9c0e5a1e Revamp explore section 2022-08-28 19:08:43 +02:00