Commit graph

2265 commits

Author SHA1 Message Date
Benjamin Philip 0423b5c7b7
Update Welcome Notebook screenshot (#259) 2021-05-07 06:19:40 +02:00
jonatanklosko e15a1d3dc6 Update assets 2021-05-04 13:49:46 +00:00
Jonatan Kłosko dc605aa209 Specify editor fallback font 2021-05-04 15:48:26 +02:00
jonatanklosko 89ab9de677 Update assets 2021-05-03 18:04:37 +00:00
Jonatan Kłosko 5c8e117800
Setup user profiles (#253)
* Add initial user config modal

* Assign user ids

* Update session data to hold user ids

* Get users list for specific ids

* Render user avatar

* User update

* Refactor user changes

* Subscribe to individual user updates

* Show users in side panel

* Add sidebar to homepage

* Don't generate the same color twice in a row

* Add documentation notes

* Fix tests

* Add tests

* Keep users in session data

* Rename color to hex_color
2021-05-03 20:03:19 +02:00
jonatanklosko ade9fe5e0e Update assets 2021-04-28 17:12:42 +00:00
Jonatan Kłosko d3a2bfb60b
Ignore patches to content editable elements while focused (#247) 2021-04-28 19:11:19 +02:00
jonatanklosko adb83eddc1 Update assets 2021-04-28 12:29:37 +00:00
Jonatan Kłosko 3694576244
Require cookie for connecting to an attached node (#245)
* Require cookie for connecting to an attached node

* Fix modals sizing
2021-04-28 14:28:28 +02:00
José Valim 5fede30764 Format 2021-04-28 14:10:52 +02:00
José Valim 2792280e3d
Show how to run tests in notebooks (#153)
This requires Elixir v1.12-rc.1.
2021-04-28 14:05:25 +02:00
Jonatan Kłosko ac8e1e30f4
Setup Docker image with releases (#244)
* Setup Docker image with releases

* Support ip env variable and use it for Docker deployment

* Autofocus auth forms

* Rename ip env var

* Update option lists

* Make distribution cookie configurable

* Update README.md

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

* Include git in the final image

* Remove unnecessary build dependency

* Improve file permissions handling and add more comments

* Use namespaced home directory

* Update README with all running options

* Update base image

* Reference official Docker image in the README

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-04-27 16:34:02 +02:00
Jonatan Kłosko cc2820f17e
Add anchor links to sections (#243) 2021-04-26 15:24:43 +02:00
jonatanklosko 4aba26c6c6 Update assets 2021-04-26 12:24:01 +00:00
Javier Goday 790b9e764b
Feature cell link (#239)
* #99: Add anchor links to sections and cells

* Restores some css classes removed by error

* Focus cell based on anchor link

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-04-26 14:22:33 +02:00
Akash Hiremath a2eb269cec
Fix undefined function warning (#241) 2021-04-26 08:59:46 +02:00
Wojtek Mach c3a0b7c01d
Add autofocus to import inputs (#240) 2021-04-24 11:15:37 +02:00
jonatanklosko 6f60e075a0 Update assets 2021-04-23 15:41:44 +00:00
Jonatan Kłosko aaba58a933
Set up importing notebook from URL or clipboard (#237)
* Set up importing notebook from URL or clipboard

* Extract loading functions into separate module

* Replace import icon with text

* Add TLS peer verification

* Remove unnecessary tests setup step
2021-04-23 17:40:13 +02:00
Wojtek Mach 7262ff540d
Update README.md (#235) 2021-04-22 11:41:22 +02:00
jonatanklosko 777626d56f Update assets 2021-04-21 21:03:26 +00:00
Jonatan Kłosko e755ff8122
Restructure settings (#233)
* Force menu items into a single line

* Add shortcut for saving the notebook

* Make the disk icon always show file dialog

* Split runtime and file settings into separate modals

* Add ctrl+s to the shortcuts list

* Add togglable menu to the session page

* Make sure newly saved file appears in the file selector

* Fix path seletor force reloading

* Remove notebook generated in tests

* Add test for file list refresh after save
2021-04-21 23:02:09 +02:00
jonatanklosko dd904699bc Update assets 2021-04-21 15:44:06 +00:00
Jonatan Kłosko 91af8a46ed Make the sidebar floating on small screens 2021-04-21 17:42:03 +02:00
jonatanklosko 514d85fc09 Update assets 2021-04-21 15:40:24 +00:00
Jonatan Kłosko c498cfb211
Explicitly dispose Monaco editor instance when cell is deleted (#232) 2021-04-21 17:38:48 +02:00
josevalim faeedcefc5 Update assets 2021-04-21 11:52:09 +00:00
José Valim 02f46fd912 Improve responsive features 2021-04-21 13:50:55 +02:00
jonatanklosko c7e2c45a57 Update assets 2021-04-21 10:45:26 +00:00
Jonatan Kłosko dd7453c706 Improve homepage responsiveness 2021-04-21 12:43:43 +02:00
Jonatan Kłosko 9a1fe55759 Update Phoenix LV 2021-04-21 12:43:43 +02:00
José Valim 982759844f Do not tab over file container (it does so on Firefox) 2021-04-21 12:34:49 +02:00
jonatanklosko 972e98af3c Update assets 2021-04-21 10:21:43 +00:00
Jonatan Kłosko 4f80e5f601 Update tailwindcss 2021-04-21 12:19:16 +02:00
josevalim 136522a4d0 Update assets 2021-04-21 10:18:50 +00:00
José Valim 48b611faeb Run formatter 2021-04-21 12:17:35 +02:00
Benjamin Philip d41f3a73fe Beautify match file selector results
- Makes the file selector results to have a "box"/"container" of its own

- Seperates the filtred files from rest of the files with a border

- Optimize path selector to only traverse the filesystem if the directory
  changes
2021-04-21 12:16:28 +02:00
Jonatan Kłosko 193050cae5 Don't print token in URL when disabled 2021-04-21 00:04:17 +02:00
José Valim 52fc451a45
Remove newline from tests, closes #204 (#231) 2021-04-20 20:17:24 +02:00
Jonatan Kłosko 5dd3b82e1f
Don't register named supervisors on remote node (#230) 2021-04-20 20:03:13 +02:00
Jonatan Kłosko d51e0ad2a9 Update package-lock.json 2021-04-20 19:38:08 +02:00
jonatanklosko 1b6cca658e Update assets 2021-04-20 17:35:32 +00:00
Jonatan Kłosko 700987dc02
Add editor completion to Elixir cells (#208)
* Implement editor completion for Elixir cells

* Add completion tests

* Refactor completion

* Only extract Markdown docs for now

* Fix Elixir version-dependent test

* Fix docs matching

* Use upcoming Code.cursor_context/2

* Start temporary completion processes under a supervisor

* Show Erlang docs in completion items

* Update to latest Code.cursor_context

* Refactor completion

* Fix module completion when alias expands to Erlang module

* Remove tests-generated notebook

* Show variables and map fields differently

* Adjust signatures formatting
2021-04-20 19:34:17 +02:00
jonatanklosko 7ed23b0f30 Update assets 2021-04-20 17:32:37 +00:00
Jonatan Kłosko 04edc75181
Scroll to section when moved (#226) 2021-04-20 19:31:23 +02:00
Jonatan Kłosko 44eda43d02
Fix markdown line breaks rendering (#227) 2021-04-20 19:31:02 +02:00
Jonatan Kłosko 6b5de9eda5 Run formatter 2021-04-20 19:29:12 +02:00
josevalim b6d878efe4 Update assets 2021-04-20 17:07:30 +00:00
José Valim 9a9ad14c8b Use a color from the theme on topbar 2021-04-20 19:06:06 +02:00
josevalim 0a085447be Update assets 2021-04-20 16:50:11 +00:00