Commit graph

50 commits

Author SHA1 Message Date
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
Alexandre de Souza
6e36725304
Provide go to definition of modules and functions defined in the notebook (#2730)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2024-08-07 15:09:51 -03:00
Hugo Baraúna
de79bc69af
Change the scroll behavior from when clicking a notebook sections (#2705) 2024-07-12 10:21:30 +02:00
Jonatan Kłosko
ec0a53f765
Fix file drag-and-drop on Safari (#2582) 2024-04-25 16:11:59 +02:00
Jonatan Kłosko
df8c074714 Allow selecting text within editor tooltips 2024-02-07 00:41:31 +08:00
Jonatan Kłosko
193f2193ad Use default prettier config for trailing commas 2024-02-03 00:58:44 +08:00
Jonatan Kłosko
0cd2f69ce8
Migrate the code editor to CodeMirror (#2444) 2024-01-24 16:01:47 +01:00
Jonatan Kłosko
3bbf43c708
Refactor hook props parsing (#2369) 2023-11-23 16:18:06 +01:00
Kenichi Nakamura
c04f43d936
Fix editor escape in Vim visual mode (#2178)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-08-23 20:34:02 +02:00
Kenichi Nakamura
9f96bd2f1a
vim/emacs modes with settings (#2173) 2023-08-22 09:08:54 +02:00
Zach Allaun
005a9e86f7
Usability improvements for custom keyboard controls (#2145)
Co-authored-by: José Valim <jose.valim@gmail.com>
2023-08-08 15:58:34 +02:00
Jonatan Kłosko
46a9452298
Add notebook custom view (#2101)
Co-authored-by: gitstart <bot@gitstart.com>
Co-authored-by: Hameed Abdulrahaman <hameedabdulrahamann@gmail.com>
Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
2023-07-24 14:20:42 +02:00
Jonatan Kłosko
489b609154
Allow dropping external files into the notebook (#2097) 2023-07-22 11:13:06 +02:00
Jonatan Kłosko
146f89f5f5
Add drag and drop actions for notebook files (#2096)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-21 20:11:11 +02:00
Jonatan Kłosko
ede80fc074
Implement file management (#2022)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-05 20:01:12 +02:00
Jonatan Kłosko
a73cea19cc Clarify why we keep insert mode on insert button click 2023-06-26 19:31:28 +02:00
Jonatan Kłosko
67de9dc657 Fix doctest result selection 2023-05-31 13:09:32 +02:00
Jonatan Kłosko
df51b9d6d6
Ignore double-click on Markdown cells (#1937) 2023-05-30 13:07:18 +02:00
José Valim
265a1dec6e
Overlay doctest results (#1936) 2023-05-30 11:30:57 +02:00
Franklin Rakotomalala
0eb0f417f5
Add notebook presentation view (#1852)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-04-28 20:16:18 +02:00
Jonatan Kłosko
5e64d3de87
Expand collapsed section when focusing a cell inside (#1797) 2023-03-17 00:22:35 +01:00
Jonatan Kłosko
a4bbe4ef5b
Improve iframe repositioning when moving sections and cells (#1796) 2023-03-16 12:17:50 +01:00
Jannik Becher
ce3719f830
Ignore keyboard navigation when ctrl/alt is pressed (#1788) 2023-03-15 11:46:44 +01:00
Jannik Becher
336ae74fb6
Add keyboard shortcut for collapse/expand section (#1779)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-03-13 22:37:11 +01:00
Jonatan Kłosko
40c5044a60
Add initial support for apps (#1709) 2023-02-16 13:47:46 +01:00
Jonatan Kłosko
597d9fff3f
Cancel scheduled evaluation on error (#1688) 2023-02-03 21:04:13 +01:00
Jonatan Kłosko
9f14beaf7b Exit insert mode when opening package search 2023-01-03 18:52:22 +01:00
Jonatan Kłosko
2e230c9deb
Add an option to run setup with no cache (#1616) 2023-01-03 12:24:22 +01:00
Jonatan Kłosko
a4cc14ce26 Ignore universal shortcuts inside inputs in cell output 2022-12-07 19:51:14 +01:00
Cristine Guadelupe
52f7d7419b
Changes secrets wording form label to name (#1419) 2022-09-18 18:40:09 -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
Cristine Guadelupe
afcb2ff834
Livebook secrets (#1348)
* Add secrets to the sidebar

* Get and put secrets (naive)

* Secrets list - shortcut

* Validates secret name

* Livebook secrets as environment variables

* Restores secrets when necessary

* Minor adjustments

* Implements add_system_envs for NoopRuntime

* Moves secrets to session data

* Granular operations for secrets

* Minor adjustments

* Applying suggestions

* Test for add secrets

* Type for secret

* Applying suggestions

* Prevents duplicates

* Refactor to live_render

* Update lib/livebook/session/data.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

* Sort secrets

* Applying suggestions

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-25 17:24:24 -03:00
Jonatan Kłosko
218bce5a63
Use binary ids for session clients (#1333) 2022-08-05 14:43:41 +02:00
Kuria
3cf175c81a
Add shortcut for evaluating a cell and advancing to the next one (#1294) 2022-07-23 12:22:17 +02:00
Jonatan Kłosko
e82279d9af
Reinitialize JS views on reconnection (#1270) 2022-07-11 21:19:32 +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
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
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
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
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