Commit graph

27 commits

Author SHA1 Message Date
Jonatan Kłosko e82279d9af
Reinitialize JS views on reconnection (#1270) 2022-07-11 21:19:32 +02:00
Jonatan Kłosko fb13c9cf22
Allow target _blank links inside iframe (#1203) 2022-05-27 17:32:45 +02:00
Andy Tran f945b3272d
Add support for configuring a custom iframe URL (#1200)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-05-26 02:39:55 +02:00
Tw 641ac96ae7
Fix relative link URL in Markdown output (#1189) 2022-05-17 03:03:18 +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 96cb11e787
Improve zen mode transition when no cell is focused (#1157) 2022-05-02 13:34:17 +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 25e5d874be
Reinitialize cell editor on reconnection (#1146) 2022-04-28 13:02:20 +02:00
Jonatan Kłosko 99b5dba6dd Fix Enter to enter insert mode 2022-04-14 21:37:58 +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 39a294abbe
Add an option for wrapping words in Markdown editor by default (#1107) 2022-04-13 23:54:05 +02:00
Jonatan Kłosko 5fa9bbe01c
Fix JS view connection timeout under heavy load (#1106) 2022-04-13 21:59:43 +02:00
Jonatan Kłosko aafdc12015
Mount Markdown cell editor lazily (#1102) 2022-04-13 12:45:29 +02:00
Jonatan Kłosko 8b17365bf9
Don't show output init timeout message on serialization error (#1096) 2022-04-09 15:48:44 +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
Jonatan Kłosko a3018dc522 Fix element type check on shortcut actions 2022-04-04 17:07:16 +02:00
Jonatan Kłosko 17a0893809
Clear URL hash when the user clicks outside the element (#1089) 2022-04-04 16:34:01 +02:00
Jonatan Kłosko 902c993098
Adjustments (#1087)
* Fix horizontal scrollbar on smaller screens

* Apply navigation shortcuts without an additional roundtrip

* Shorten the data element selector

* Fix URL in changelog

* Return reference from handle_intellisense
2022-04-04 12:19:11 +02:00
Jonatan Kłosko 75eb031719
Automate searching and adding new dependencies (#1081)
* Automate searching and adding new dependencies

* Restructure runtime management

* Leave search restrictions up to the runtime

* Support predefined dependencies in Embedded runtime dependency search

* Use the embedded runtime for dependency search test

* Fix typo

* Use module for loading embedded runtime dependencies

* Improve naming
2022-04-01 20:13:37 +02:00
Jonatan Kłosko df765f2dd3
List predefined smart cells and automatically add their dependencies (#1078)
* List predefined smart cells and automatically add their dependencies

* Generalize dependency insertion to multiple entries

* Add runtime setup modal

* Don't evaluate setup when restarting the runtime fails

* Automatically add vega_lite for chart builder

* Improve confirmation modal actions when the action is not destructive
2022-03-30 21:55:50 +02:00
Jonatan Kłosko 5476fd001d
Introduce a setup cell (#1075)
* Introduce a setup cell

* Don't collapse setup cell when dirty

* Collapse fresh setup cell when empty

* Reword collapsed setup cell text
2022-03-28 21:36:57 +02:00
Jonatan Kłosko ac5a71bf85
Show a message when JS view data is not available (#1067)
* Multiplex initialization of JS views

* Show timeout message when JS view data fails to load

* Refactor JS view channel

* Update tests
2022-03-22 18:25:42 +01:00
Jonatan Kłosko 0145d68593
Limit standard output to last 1000 lines (#1063) 2022-03-19 12:22:36 +01:00
Jonatan Kłosko 7d30aab07b
Enable SQL highlighting in the editor (#1056) 2022-03-17 13:27:28 +01:00
Jonatan Kłosko b3b79afed4
Refactor JS hooks (#1055)
* Restructure hook files

* Simplify app.js

* Refactor hooks

* Implement password toggle with JS commands
2022-03-16 11:33:53 +01:00