Commit graph

849 commits

Author SHA1 Message Date
Roberto Estrada cdb17e8573
Adds font-awesome when is required (mermaid). (#913)
* Adds font-awesome when is required (mermaid).

* applied suggestions

* format with prettier vscode plugin
2022-01-22 19:36:00 +01:00
josevalim b42d28f7a8 Update assets 2022-01-22 17:32:21 +00:00
José Valim c58ab447e5 Compute memory information on every session list render 2022-01-22 18:30:37 +01:00
Jonatan Kłosko e9ea88e180
Fix race conditions in message scheduling (#916)
* Fix race conditions in message scheduling

* Flush already fired timer message

* Move unscheduling to a separate function
2022-01-22 18:23:16 +01:00
josevalim d51abc3706 Update assets 2022-01-22 16:18:58 +00:00
José Valim 70a9a95d4e
Improvements to memory tracking (#917)
* Address race condition on cancel timer
* Include memory measurement as part of evaluation metadata
* Move periodic resource computation to a single process
* Have a explicit call out for total memory
2022-01-22 17:17:20 +01:00
cristineguadelupe 69ccad2fbd Update assets 2022-01-21 22:26:42 +00:00
Cristine Guadelupe 6180bb1ff2
Track memory usage - visualization (#898)
* Utils to fetch and format system and node memory usage

* Order by memory

* Track memory on session

* Show memory usage on runtime sidebar

* Shows memory usage percentage on home

* Layout adjustments

* Sidebar design adjustments to match Figma

* Home design adjustments to show the memory information

* Move memory calculations to utils

* Shows disconnected notebooks as consuming 0mb on home

* Simplifies the data structure of memory usage

* Node memory tracker on runtime

* Clean up

* Renames node memory to runtime memory

* Standardizes the data structure of memory usage

* Sends evaluation_finished to the runtime to update the memory usage after an evaluation

* Fix: The evalutor does not notify when there is no notify_to option

* Adds a test with the notify_to option to the evaluator

* Documents the notify_to option

* Minor fixes on runtime and runtime_server

* Minor fixes on sessions

* Minor adjustments

* Updates docs and specs on Utils

* Minor adjustments on session_live

* Fix total memory used by sessions on home

* Put duplicated functions on helpers

* Better filter by memory

* Fix the tooltip text for memory information on sidebar

* Minor alignment adjustment on home
2022-01-21 19:24:47 -03:00
Kevin 0405690177
Fix macOS build (#911) 2022-01-21 10:48:21 +01:00
José Valim bd3363acde
Allow LIVEBOOK_PORT to be set to 0 for a random port (#906) 2022-01-21 09:18:02 +01:00
Wojtek Mach 526499dfa5 Update Mac error alert style 2022-01-20 21:33:07 +01:00
Wojtek Mach f4397d36b9
Add Swift launcher (#905) 2022-01-20 21:27:37 +01:00
José Valim 716af1bae2 Add a default release 2022-01-20 15:36:27 +01:00
Jonatan Kłosko 72e1c001e2 Fix heading in changelog 2022-01-20 12:03:15 +01:00
Jonatan Kłosko 2ee3efcbd4
Release 0.5.1 (#904) 2022-01-20 11:44:58 +01:00
Jonatan Kłosko 5411035937
Remove unnecessary scrollbar in Mix runtime modal (#903) 2022-01-20 11:35:54 +01:00
jonatanklosko a525fdb1d5 Update assets 2022-01-20 10:31:33 +00:00
Jonatan Kłosko a9f9c68cfa
Compute iframe base URL based on page origin (#902)
* Compute iframe base URL based on page origin

* Format
2022-01-20 11:29:45 +01:00
José Valim 8bbabcbdb4 Clarify some env vars in the README 2022-01-20 10:43:02 +01:00
Krishnamohan Chivukula 14eb8beaad
Update README.md (#897)
Added description for mermaid support added in 0.5.
2022-01-20 10:07:27 +01:00
Wojtek Mach 909b00bfbc
Clean up building Info.plist (#900) 2022-01-20 09:58:26 +01:00
Kevin cd757f8811
Add version to Mac app (#899) 2022-01-20 09:01:08 +01:00
Wojtek Mach 048446a16b Remove duplicate entry for app_builder 2022-01-20 08:49:19 +01:00
José Valim 112b47908d
Small fixes (#896)
* Hide app builder unless target matches
* Fix compile-time warnings on Elixir v1.14+
2022-01-19 22:20:05 +01:00
Kevin 8fb937340a
Set root path to $HOME (#887) 2022-01-19 21:38:15 +01:00
Jonatan Kłosko 0039dcd0b7 Fix link in changelog 2022-01-19 21:00:35 +01:00
Jonatan Kłosko c380e1663f Make local app_builder a :dev dependency 2022-01-19 20:03:06 +01:00
Jonatan Kłosko 81c9871802
Release 0.5.0 (#895)
* Update Kino version

* Bump version
2022-01-19 19:58:54 +01:00
Jonatan Kłosko 5c1c61d0f2
Update broadcast_event in Kino.JS.Live guide (#894) 2022-01-19 19:39:57 +01:00
José Valim b9b901648c
Further improvements to pong and custom kino notebooks (#886) 2022-01-19 19:01:27 +01:00
jonatanklosko 000ac88b06 Update assets 2022-01-19 17:35:11 +00:00
Jonatan Kłosko 54a2e3f55b
Update changelog (#891) 2022-01-19 18:33:38 +01:00
Jonatan Kłosko 0b58ba9331
Adjust JS iframe default styles (#893) 2022-01-19 18:32:58 +01:00
Jonatan Kłosko 6aaf1d5b58
Fix output ambiguity in livemd import/export (#892)
* Fix output ambiguity in livemd import/export

* Update test/livebook/live_markdown/import_test.exs

Co-authored-by: José Valim <jose.valim@dashbit.co>

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-01-19 18:27:56 +01:00
jonatanklosko 82f70e3c96 Update assets 2022-01-19 13:45:13 +00:00
Jonatan Kłosko ae0f083c5c
Fixes (#889)
* Fix title test

* Fix editable element check

* Fix duplicate output ids
2022-01-19 14:43:35 +01:00
Wojtek Mach 3c48fff159
Fix launcher script (#888)
The idea was to leave trailing `\` for bash but it needs to be escaped!
The script worked fine fwiw.
2022-01-19 13:40:59 +01:00
jonatanklosko a326161e6b Update assets 2022-01-19 12:07:03 +00:00
Jonatan Kłosko 3a0d77d879
Disable keyboard control when an editable element is focused (#885) 2022-01-19 13:05:21 +01:00
Kevin f7fcb8f884
Fix path for bootstrap script (#884) 2022-01-19 12:37:40 +01:00
jonatanklosko 5ae368762e Update assets 2022-01-19 10:36:24 +00:00
Jonatan Kłosko 0b1f308b13
Fix cell insertion while editing Markdown cell (#883) 2022-01-19 11:34:38 +01:00
jonatanklosko 4ba81cc114 Update assets 2022-01-18 14:15:37 +00:00
Jonatan Kłosko 89ca95be10
Reuse DOM elements when replacing frame outputs (#881)
* Reuse DOM elements when replacing frame outputs

* Keep less persistent indices
2022-01-18 15:13:50 +01:00
Jonatan Kłosko 6e570ed05b
Improve branch selection menu (#882) 2022-01-18 15:12:09 +01:00
Jonatan Kłosko 7ae46eaa4e Specify release name in Docker build 2022-01-17 17:58:54 +01:00
Wojtek Mach e8c80bf6a7
Add Mac app release (#865) 2022-01-17 17:34:38 +01:00
José Valim 4d79706c01
Revamp Explorer section for Kino (#879)
Pong and custom Kinos chapters are still pending.
2022-01-17 17:14:25 +01:00
Jonatan Kłosko fe0bf660a2
Remove outputs from the page on erase outputs (#878) 2022-01-17 17:13:29 +01:00
José Valim 0c61f4dec0 Normalize explorer fonts 2022-01-17 17:11:06 +01:00