Commit graph

145 commits

Author SHA1 Message Date
José Valim 07ec9840b5
Use pre-wrap for doctest results (#2349) 2023-11-15 17:33:32 +01:00
Jonatan Kłosko 33c09b1f67
Update modal enter and leave (#2323) 2023-11-06 18:13:16 +01:00
Jonatan Kłosko 4468ef6d58
Update deps (#2253) 2023-10-05 18:34:01 +02:00
Jonatan Kłosko d1eb522464
Split files into references/attachments and support renaming (#2167) 2023-08-17 22:13:39 +02:00
Cristine Guadelupe e8360d4428
Consistent select style (#2138) 2023-08-04 01:10:07 +07:00
Jonatan Kłosko e98a315e11
Add spinners for long file actions (#2113) 2023-07-25 21:23:06 +02:00
Jonatan Kłosko 304e1c1e17 Simplify selectors 2023-07-24 17:06:02 +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
Zach Allaun e1ac442c8c
Mobile quality-of-life (part 1) (#2013) 2023-06-28 18:29:44 +02:00
Jonatan Kłosko 04efa5932f
Restore code markers and doctest indicators on refresh (#1949) 2023-05-31 15:52:08 +02:00
Jonatan Kłosko 3c56b87154
Doctest updates (#1944) 2023-05-30 22:03:20 +02:00
José Valim 265a1dec6e
Overlay doctest results (#1936) 2023-05-30 11:30:57 +02:00
Jose Vargas e614dcbac1
Add doctest decorations to monaco editor per result (#1911) 2023-05-24 14:56:13 +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
José Valim 22ace2ca4f Remove pitfalls from deployment notebook 2023-04-16 17:27:30 +02:00
Jonatan Kłosko 9fd7306c01
Link outside iframe when Livebook has no access to cookies (#1863) 2023-04-13 21:32:00 +02:00
Jonatan Kłosko 435a56fc38 Update icons in notebook 2023-03-17 14:12:15 +01:00
José Valim 4320fb1f6b Deploy app notebook 2023-03-17 10:38: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
Jannik Becher cea3246766
Add section collapse functionality (#1772)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: José Valim <jose.valim@gmail.com>
2023-03-13 14:52:26 +01:00
Jonatan Kłosko d4a805f806
Define light editor theme (#1755) 2023-03-07 14:57:25 +01:00
ByeongUk Choi 4db39078bd
Add open page and track starred/recent notebooks (#1639)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-03-06 18:14:33 +01:00
Jonatan Kłosko e78b3a930c
Move more styles to components (#1723) 2023-02-23 19:07:00 +01:00
Jonatan Kłosko 7cac0557b9
Keep setup cell open on error (#1718) 2023-02-21 13:17:54 +01:00
Jonatan Kłosko 40c5044a60
Add initial support for apps (#1709) 2023-02-16 13:47:46 +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 2048ec9f63
Update dependencies (#1613) 2022-12-29 13:10:28 +01:00
Jonatan Kłosko e79b6eb1a8 Disable font ligatures in Markdown inline code 2022-12-16 23:15:44 +01:00
Nick Sergeant 84361fb207
Add help text for how to access secrets in the secrets sidebar (#1535)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-11-17 01:11:06 +01:00
Cristine Guadelupe 06e9cc6828
Delete and view secrets from the sidebar (#1473)
* Delete secrets from sidebar

* Collapsible secret detail

* Secret details layout

* Secret details layout adjustments

* Hover and text color for secret details

* Changes switch_button colors to have more contrast

* small adjustment

* Uses remove and add class everywhere

* Uses JS.toggle
2022-10-11 14:55:36 -03:00
José Valim 950982304d
Final touchups to secrets (#1464)
* Use font-mono on secret names
* Unify error handling with changesets
* Unify put_env/delete_env as set_env/unset_env
* Review text and descriptions
2022-10-06 21:44:04 +02:00
José Valim a4ba8e926c
File system upload (#1422)
Co-authored-by: gitstart <bot@gitstart.com>
2022-09-19 22:20:39 +02:00
José Valim be862173a3
Unify several forms in the application (#1392)
* Define .input_wrapper and .hex_color_input components

* Define Tailwind variants from Phoenix v1.6 to help styling

* Make sure single-action modals redirect on save

* Add pill to session secrets in the "Secrets" session sidebar

* Fix alignments of "Users" in the session sidebar
2022-09-05 23:59:13 +02:00
Jonatan Kłosko 8bb6b05625
Add support for boxed grid (#1375) 2022-08-30 13:15:55 +02: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
Alexandre de Souza 5c050e640f
Add Livebook Hub with Fly.IO integration (#1319) 2022-08-18 10:34:27 -03:00
Jonatan Kłosko d0338be513 Improve assertion of the session creation timestamp 2022-08-11 13:42:33 +02:00
Jonatan Kłosko 0b35c2559b
Don't ignore pointer events when LV disconnect (#1168) 2022-05-04 12:50:36 +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 df87b2c7fc
Rename toggle output in zen mode to show/hide (#1161) 2022-05-02 15:29:42 +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 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 05687716d4
Improve smart cell menu visibility while in insert mode (#1091) 2022-04-04 22:28:02 +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 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 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 471167f288
Disable font ligatures in Markdown code blocks (#1072) 2022-03-24 18:05:53 +01:00