Commit graph

1002 commits

Author SHA1 Message Date
Jonatan Kłosko
c14bdb7830
Support specifying erl flags for standalone runtime node (#2843) 2024-10-28 17:56:32 +01:00
Jonatan Kłosko
4b324bb79e Improve collapse icon direction on apps dashboard 2024-10-29 00:22:40 +08:00
Michael Ruoss
ce1b56ee37
Get initial namespace from k8s context in the k8s runtime settings (#2838) 2024-10-25 07:32:50 +02:00
Jonatan Kłosko
b513a56a5d
Fix ZTA key label (#2834) 2024-10-18 17:29:14 +02:00
Jonatan Kłosko
fad65f1acb Format 2024-10-11 00:14:47 +08:00
Fabian N.C. van ´t Hooft
50ac90a79d Add erlang-module support
Single modules are now allowed to be defined in an Erlang-cell.

In this case the entire code-block is interpreted as an
erlang-module and if there are no errors the module is compiled
and loaded.

If the cell containing the module is deleted subsequent code
invocations will fail.

Stale indicator is not working yet due to missing notion of
functions, this will be fixed in a next version.

Error handling - basics are working
 - Still not happy with it, but it is usable

The code is now pre-analyzed using the epp-module. This also
has the added advantage that erlang modules can become a bit
more expressive with defines and includes.

TODO: Examples need to be added to the example livebook.
2024-10-10 17:40:49 +02:00
Jonatan Kłosko
3989bd330a
Show a confirmation when hub secret will override session secret (#2813) 2024-10-03 08:13:52 +02:00
Jonatan Kłosko
3ee045f428
Wrap module names in the outline (#2810) 2024-10-02 19:24:54 +02:00
DeedleFake
ca8c4157f2
Add setting to disable autoclosing brackets in the editor (#2805) 2024-10-01 16:09:17 +02:00
Jonatan Kłosko
b51a6edb4b
Improve token auth form instructions in the desktop app (#2804)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-09-30 16:00:28 +02:00
Alexandre de Souza
aed88325c2
Implements the go back and forward keyboard shortcuts (#2789) 2024-09-25 13:38:47 -03:00
Jonatan Kłosko
a7caa429b0 Fix custom views icon spacing 2024-09-24 16:15:23 +07:00
Jonatan Kłosko
ed3e53a337 Fix padding in custom view modal 2024-09-24 15:58:48 +07:00
Jonatan Kłosko
e7bde13e93 Fix kubectl warning to show only when applicable 2024-09-20 18:45:28 +07:00
Jonatan Kłosko
a2ecd117b2
Tell users to install kubectl if missing (#2791)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-09-20 12:19:10 +02:00
Jonatan Kłosko
ea6331f324
Encapsulate Kubernetes API calls (#2790) 2024-09-20 10:30:50 +02:00
Jonatan Kłosko
7f5917b447 Scroll runtime connection error into view 2024-09-19 17:02:27 +07:00
Jonatan Kłosko
b0ab056499
Share code between Fly and K8s runtimes (#2788) 2024-09-18 18:20:41 +02:00
José Valim
2e45f8aca0
Deal with clock drifts and use DateTime UTC for server data (#2787) 2024-09-18 16:10:35 +02:00
Michael Ruoss
282ffeba54
Add K8s runtime (#2756)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2024-09-18 13:56:17 +02:00
Jonatan Kłosko
acf494a024
Show progress in file input upload (#2785) 2024-09-16 20:19:43 +02:00
Jonatan Kłosko
8144afdc26
Fix validation when opening notebook from file:// URL (#2783) 2024-09-16 11:57:58 +02:00
Jonatan Kłosko
7734761383
Add usage note to secrets form (#2779)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-09-14 19:46:05 +02:00
Jonatan Kłosko
6c79a6dbb5 Remove unnecessary outline 2024-09-11 20:40:17 +07:00
Jonatan Kłosko
2eb5963efe
Allow disconnecting Fly runtime during initialization (#2776) 2024-09-09 16:27:12 +02:00
Hugo Baraúna
85ae48ee3c
Fixes keyboard shortcuts inside help modal (#2775) 2024-09-06 20:20:35 +02:00
Jonatan Kłosko
e79ae84e9c Remove outline from focused modal root element 2024-09-07 00:05:25 +07:00
José Valim
42908ccca6
Show connected nodes counter (#2774) 2024-09-06 17:46:27 +02:00
Hugo Baraúna
dfa7fc3c2f
Design improvements in the outline (#2771)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2024-09-05 21:28:01 +02:00
Jonatan Kłosko
2468fa3397 Improve icon alignment when section name spans multiple lines in the outline 2024-09-05 21:30:31 +07:00
José Valim
fd628f2fb3 Remove URL field from shared deployment group settings 2024-09-05 09:02:55 +02:00
Jonatan Kłosko
cce592a990 Fix long module definition name overflowing 2024-08-26 20:20:33 +09:00
Jonatan Kłosko
59a01cbc70 Change secrets panel shortcut to ss 2024-08-25 22:32:43 +09:00
Jonatan Kłosko
66d3ac6d27 Rename sections list references to outline 2024-08-25 22:27:50 +09:00
Jonatan Kłosko
0142d4720b
Support toggling smart cell editor visibility (#2761) 2024-08-25 15:23:37 +02:00
José Valim
8ff63bea01 Change icon and move expand/collapse to bottom 2024-08-25 02:36:07 +02:00
Alexandre de Souza
ad0db1832b
List module definitions in the sections side panel (#2760) 2024-08-23 18:28:33 -03:00
Jonatan Kłosko
d7cb831b1c
Add link to live dashboard for runtime node (#2754) 2024-08-19 15:44:59 +02:00
Jonatan Kłosko
05c9c17b8c
Respect default elements outline on tab-navigation (#2749) 2024-08-17 05:17:26 +02:00
Jonatan Kłosko
9ee4f08524
Make the go-to-definition link a client concern (#2746) 2024-08-16 13:31:05 +02:00
Alexandre de Souza
87a49b1bdb
Implements the Go to Definition keyboard shortcut (#2741)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-08-16 10:08:51 +02:00
Jonatan Kłosko
c1fd9bc61e
Use a bigger chunk size when transferring files across nodes (#2738) 2024-08-09 14:50:37 +02:00
Jonatan Kłosko
b9306ce5da
Close runtime modal once connecting succeeds (#2736) 2024-08-08 15:32:19 +02:00
Jonatan Kłosko
1a3c5b75c5 Make checkboxes focusable with keyboard 2024-08-07 17:58:26 +09:00
José Valim
edefa6649a Avoid compile-connected dependencies
Before this commit, LivebookWeb had runtime dependencies into
the project, causing large compilation cycles.

Using the following command in Elixir v1.17.3+

    $ mix xref graph --format stats --label compile-connected

Would reveal:

    Top 10 files with most incoming dependencies:
      * lib/livebook_web.ex (97)
      * lib/livebook/config.ex (3)
      * proto/lib/livebook_proto/deployment_group.pb.ex (2)

After this patch:

    Top 10 files with most incoming dependencies:
      * lib/livebook/config.ex (3)
      * proto/lib/livebook_proto/deployment_group.pb.ex (2)
      * lib/livebook_web/plugs/memory_provider.ex (2)
2024-08-07 01:16:30 +02:00
Ed Lepedus
eefeb7aa6c
Add support for specifying column ratios in grid output (#2718)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2024-08-05 13:36:53 +02:00
Barna Kovacs
02e89c19cf
Fix various typos and improve language (#2728) 2024-07-26 20:29:17 +02:00
Jonatan Kłosko
0df5415020 Improve error message in the Fly runtime config when the app name is taken 2024-07-27 01:06:43 +07:00
Jonatan Kłosko
f054f34603 Fix page crash when creating a Fly volume fails 2024-07-27 00:49:39 +07:00
Jonatan Kłosko
28ae207dc9
Suggest setup without cache on dependencies error (#2716) 2024-07-19 19:50:24 +02:00