-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revamp Explorer section for Kino #879
Conversation
cookie_input = Kino.Input.text("Cookie") | ||
``` | ||
node_input = Kino.Input.text("Node", default: node()) | ||
cookie_input = Kino.Input.text("Cookie", default: Node.get_cookie()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic idea with the default!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Courtesy of kino powered inputs! 💯
in our inbox: | ||
|
||
```elixir | ||
Process.info(self(), :messages) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, the pong notebook uses IEx.Helpers.flush()
, but this is much better.
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful!!
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
💚 💙 💜 💛 ❤️ |
inputs to pass different values to our code. To render inputs, we need to | ||
install the [Kino](https://github.com/livebook-dev/kino) library: | ||
the different tuples: | ||
|
||
```elixir | ||
Mix.install( | ||
[ | ||
{:kino, github: "livebook-dev/kino"} | ||
], | ||
consolidate_protocols: false | ||
) | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This portal livebook now doesn't mention how to install kino anymore, which cause errors when it is used during the "Notebook connections" section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, this has already been fixed in main with #953
The following changes are included:
I haven't reviewed the other two new Kino guides (pong + custom widgets). I plan to do that next, potentially in a separate PR as this one gets merged.