Comments (7)
I would wait until there is a use case.
I use Kino.Tree a lot (it is awesome) and I want to see how the latest changes work in practice. If we feel they need more tweaking, we can revisit. :)
from kino.
Sounds good! Should we apply the same logic to lists and maps? This would be nice for exploring API responses. Maybe we need something like "expand everything up to M elements up to Nth level deep"?
When building Kino.Tree I was considering adding some sort of UI elements for configuring this. What do you think about that?
from kino.
I'd start with tuples right now. I would even always expand them by default.
The reason I am worried about also adding lists and maps is because you can have maps/lists inside maps/lists, so if we expand them by default, even if small, we can have a really large output, because we small maps inside small maps inside small lists.
Tuples are usually not nested within each other. :)
from kino.
I hope to be able to take a stab at this issue this week.
from kino.
Sorry for the delay, hopefully I'll get to this soon.
from kino.
Wanted to follow-up on this. What do you think about making this customizable like on the mockup below? The settings could be stored in the browser's local storage.
The idea here is that the settings represent an "or" condition, e.g. auto-expand if it's a tuple of size <=6 or we're at level <= 1. I think it would be nice to set a limit to the depth to which auto-expansion applies. Not sure how to represent that in the UI. I thought about a double slider for "depth", but it may be a bit confusing.
Do you think this would be useful?
from kino.
Makes sense. My use case for Kino.Tree was for exploring API responses. Maybe if the REST smart cell get's more traction there will be a stronger need for adding settings.
from kino.
Related Issues (20)
- Kino.Layout.grid hangs forever when you pass another Kino to it HOT 1
- Kino input field not appearing (bug?) HOT 1
- Add a process tracing JS.Live widget
- Add Kino.LiveFrame HOT 1
- Add clients monitoring
- Custom Message in `Kino.Process.seq_trace` HOT 2
- Sortable columns for Kino.DataTable
- Add Kino.Hub.on_join HOT 13
- Trouble Switching Tabs HOT 1
- We really miss this feature. Maybe we'll reopen an issue HOT 2
- Issue with Kino.JS.Live.Server.init/1 not shutting down properly HOT 10
- Add ETS table rendering to Kino.Process.{sup_tree,app_tree} HOT 13
- Trying to append a Tree to a Frame from a Plug - Output data no longer available, please reevaluate this cell HOT 2
- Support custom data formatter for Kino.DataTable HOT 4
- Suggestion: Example livebook HOT 5
- Livebook app showing list of Kino widgets HOT 2
- Integrated with VTable HOT 1
- `Kino.Input.read` ignores updates HOT 2
- Feature idea: make the "node" attr of the Remote Execution smart cell accept a variable name HOT 8
- Add `play` function to `Kino.Audio` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kino.