Jonatan Kłosko
f3da231ac5
Migrate to esbuild ( #1934 )
2023-05-27 09:04:52 +02:00
Jonatan Kłosko
d0b4f16b19
Improve cookie access check ( #1889 )
2023-04-28 16:38:17 +02:00
Jonatan Kłosko
8eb93f3e24
Improve cookie access when running in iframe ( #1888 )
2023-04-28 14:50:40 +02:00
Jonatan Kłosko
081d30d37b
Fix showing mermaid errors
2023-04-18 14:24:41 +02:00
Jonatan Kłosko
000d131f24
Update mermaid
2023-04-04 11:37:41 +02:00
José Valim
f52ff1e9ec
Purge cookies once they exceed 24kB, closes #1832 ( #1833 )
2023-03-28 17:11:44 +02:00
Jonatan Kłosko
028cdba556
Revert unnecessary mermaid workaround
2023-03-18 23:13:18 +01:00
Jannik Becher
ce3719f830
Ignore keyboard navigation when ctrl/alt is pressed ( #1788 )
2023-03-15 11:46:44 +01:00
Jonatan Kłosko
d4731c39be
Only rewrite local settings when present
2023-03-07 15:18:07 +01:00
Jonatan Kłosko
d4a805f806
Define light editor theme ( #1755 )
2023-03-07 14:57:25 +01:00
Jonatan Kłosko
9aa72eb1d1
Update mermaid
2023-02-20 12:44:28 +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
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
3eb21f8757
Load JS view iframe only once in viewport ( #1607 )
2022-12-25 14:31:40 +01:00
Jonatan Kłosko
460eb14420
Support custom image format with implicit pixel data ( #1558 )
2022-12-02 12:42:31 +01:00
Jonatan Kłosko
ba193be13b
Expand relative URLs in HTML elements in Markdown ( #1491 )
2022-10-17 13:00:25 +02:00
Jonatan Kłosko
61ee3c79dc
Rewrite Markdown live links to either push or patch ( #1429 )
2022-09-22 15:51:18 +02:00
Jonatan Kłosko
803cf37f68
Don't add scroll to Mermaid graphs
2022-09-19 23:01:40 +02:00
Jonatan Kłosko
9e43af7b4a
Fix unnecessary vertical whitespace in Mermaid graphs ( #1415 )
2022-09-16 15:52:04 +02:00
Jonatan Kłosko
510f657542
Fix absolute URL detection when traversing markdown links ( #1255 )
2022-06-30 14:57:52 +02:00
Jonatan Kłosko
8ab4d195d9
Properly copy content with math ( #1225 )
2022-06-13 14:20:07 +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
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
0145d68593
Limit standard output to last 1000 lines ( #1063 )
2022-03-19 12:22:36 +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
Jonatan Kłosko
e7835c73f2
Use the first cell in viewport as the default for j/k navigation ( #1054 )
2022-03-15 11:52:29 +01:00
Jonatan Kłosko
6db36ea7e6
Add support for smart cell editor ( #1050 )
...
* Add support for smart cell editor
* Log an error when smart cell fails to start
2022-03-14 22:19:56 +01:00
Jonatan Kłosko
e27ff5a960
Rename Elixir cell to Code cell ( #1035 )
2022-03-02 12:48:02 +01:00
Jonatan Kłosko
d191b7eb9d
Set up confirmation modals ( #1033 )
...
* Set up confirmation modals
* Add temporary fix for the global hook remount
2022-03-02 00:26:40 +01:00
Jonatan Kłosko
9d7fe44253
Introduce smart cells ( #1029 )
...
* Introduce smart cells
* Apply review comments
2022-02-28 13:53:33 +01:00
Jonatan Kłosko
f699575b45
Cache mermaid graph rendering ( #1023 )
...
* Cache mermaid graph rendering
* Bump mermaid
* Update naming
2022-02-22 12:02:53 +01:00
Jonatan Kłosko
178df3dac9
Load output iframe from a different origin ( #968 )
...
* Load output iframe from a different origin
* Update iframe source
2022-02-02 00:10:17 +01:00
Jonatan Kłosko
2acefde9f7
Fix line break support in Mermaid graph definition ( #932 )
2022-01-25 16:19:33 +01: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
Jonatan Kłosko
357985eef4
Apply editor theme to markdown snippets ( #873 )
...
* Apply editor theme to markdown snippets
* More tailwind
2022-01-16 13:50:44 +01:00
Cristine Guadelupe
67fa155f3d
High-contrast option for the code editor ( #868 )
...
* High-contrast option for the code editor
* Small refactor
* Creates a high-contrast theme from the custom theme
* Refactor to store the theme as a string
* Fix prettier
2022-01-15 18:46:25 -03:00
Cristine Guadelupe
36aab4357c
Adds an option to increase the font size of the editor ( #860 )
...
* Adds an option to increase the font size of the editor
* Update lib/livebook_web/live/settings_live.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
* Editor font size options as constants
Co-authored-by: José Valim <jose.valim@gmail.com>
2022-01-13 15:06:50 -03:00
Jonatan Kłosko
844242ba80
Add support for JS output widgets ( #818 )
...
* Add support for JS output widgets
* Don't block session when fetching assets and batch calls
* Improve path component sanitisation
* Move fetching check to session caller
* Attach origin to connect and event messages
2021-12-24 14:18:34 +01:00
Jonatan Kłosko
e2490c0f7f
Implement signature intellisense ( #640 )
...
* Remove Code.Fragment backport
* Fix tests compatibility with Elixir 1.13
* Implement signature intellisense
* Don't show signatures on module attributes
* Add tests for calls with do-end block
* Unify spec formatting
* Insert parentheses when completing a function call
* Send all text until cursor in signature request
* Add configuration for completion/signature popups (#693 )
* Add editor settings form
* Add configuration for intellisense defaults
* Read fresh settings when editor mounts
* Scope attribute names
* Fix disabled button styling
* Simplify signature box and enable by default
* Split settings into system and user sections
* Update lib/livebook_web/live/settings_live.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Update lib/livebook_web/live/settings_live.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Fix spacing in documentation tests
Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-12-03 21:57:21 +01:00
Jonatan Kłosko
264d6c3ff2
Add support for controls output type ( #710 )
...
* Add support for controls output type
* Split controls into individual widgets
* Adjust ids
* Improve widget and controls garbage collection
* Allow arbitrary functions as object release hook
* Add type to button and input events
* Add keyboard status event
* Change release hooks into monitor messages
* Rename pointer to reference and return an error on bad monitor
2021-12-02 16:45:00 +01:00
Jean Carlos
238635a6be
Changed favicon with base on notebook status ( #594 )
...
* Change favicon based on notebook status
* Format correction
* "operation" is unused
* Improvements for better functioning of icons
* Renamed icons files
* Update favicons
* Update changelog
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-10-16 12:24:19 +02:00
Jonatan Kłosko
3216727858
Keep original source when highlighting ( #480 )
2021-07-28 19:35:36 +02:00
Jonatan Kłosko
557df4a5bf
Add UI for file deletion and renaming ( #426 )
2021-07-02 23:06:05 +02:00
Jonatan Kłosko
8e5b387f04
Update VegaLite layout when the data changes ( #405 )
2021-06-26 18:05:52 +02:00
Jonatan Kłosko
b0bd7540c0
Compute cell source digest on the client ( #341 )
2021-06-10 14:54:55 +02:00
Jonatan Kłosko
a8073ceac1
Add attributions to Delta-related packages ( #324 )
2021-06-06 15:27:09 +02:00
Jonatan Kłosko
cd80bd7804
Implement user cursor and selection tracking ( #260 )
...
* Implement user cursor and selection tracking
* Separate jump-to-user and follow
2021-05-07 16:41:37 +02:00