mruoss
Hi guys
I’m developing a Kino with a bunch of Smart Cells and I’d like to offer them inside a parent group in the “+ Smart” dropdown similar to the “Database connection” item in the screenshot below. Does anybody know if/how I can achieve this?
I can register the Smart Cells but they just appear in the top level of the dropdown.
Thanks, Michael
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app?
Looking for hints regarding:
Addi...
New
Kia ora,
We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
Hi all, I wanted to ask how the community is dealing with post-release steps.
Today we have Ecto migrations, which make sure that the db...
New
Hello,
I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #ai
- #genstage
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex












Showing Posts 1 to 5- Show Best Posts
- Show All Posts (oldest first)
- Show All Posts (newest first)
jonatanklosko
Hey, there is currently no API for this. Also note that the idea behind sub-group is to show multiple variants of the same cell, just to pick the right optional dependencies (“Database connection” is always the same cell, with database type select). Could you elaborate on your use case? Are these separate smart cells and how are they related?
mruoss
Hey @jonatanklosko
Thanks for taking the time to reply. This is still work in progress. I’m working on kino_k8s, a Kino that should help people learn how to use the k8s library. The Smart Cells are mostly meant to be used for code generation. But they can also be used to interact with a Kubernetes cluster.
The concept is similar to
kino_db. You first need to configure a connection (to the Kubernetes Cluster) before you can use the other cells (Get Resource, List Resources, Apply Resource).Yes I noticed that once
kino_dbis installed, the cells are no longer inside the sub-group and it’s actually just 2 smart cells.In my case, there are currently 4 smart cells. Technically they could be done in 2 but I don’t see the benefit in that. So i’d find it nice if these cells were inside a group labeled “Kubernetes” or “Kino K8s” or so. Because names like “Get Resource” has give the user much meaning among all the other cells. Now since there is no such API I might prefix the cell names or rename them to something like “Get K8s Resource”.
If you have a k8s cluster at hand and want to see the Kino in action (as I said, it’s still WIP. Mostly lacks error handling and assistance):
https://github.com/mruoss/kino_k8s
Thanks, Michael
josevalim
I would say the reason to have 2 instead of 4 is exactly so they can all be grouped, similar to kino_db and kino_bumblebee.
mruoss
Yes, obviously that’s the benefit of having only two - hence my post in the first place. But it also makes the code more complex and difficult to maintain.
Besides that, in my kino, one cell configures the editor in
init/2. As far as I understand, this cannot be activated/deactivated anymore afterinit/2. So I need at least 3 cells (connection, cells with editor, cells without). And I’m still not sure I wanna go merging the logic of the cells.josevalim
The editor is a good point. Maybe we should allow grouping of cells then.