Giter VIP home page Giter VIP logo

data-frisk-reagent's People

Contributors

azd325 avatar b4dger avatar flexsurfer avatar metasoarous avatar odinodin avatar timgilbert avatar timothypratley avatar yogthos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

data-frisk-reagent's Issues

Feature request: sort map keys

Once my data structures start to get fairly complex, it can be a little difficult to navigate down to the piece of it that I'm interested. It would be nice if data-frisk had an option to sort the keys in maps, rather than just presenting them in map sort order.

[Request] Add CSS Classes to nodes

Would it be possible to add unique CSS classes to the different nodes?

It would be nice to be able to override some of the styles and be able to customize the layout / colours. In my current project I would like to be able to override flex-direction on the KeyValNode so that some of the heavily nested data is easier to see.

Definitely not a critical issue and I can work around it, but I'm also happy to submit a PR if there's any desire for it.

Ability to modify state

Have you given any thought to allowing users to change the values?
(when viewing ratoms or mutable things)

Inline component

This would make the context of the data you're inspecting much clearer (visually so, even) when you want to inspect more than one piece of data in a UI. This could even (perhaps) for some apps be used for default error components :-)

Wrote path search + other features

Hi, I wrote some features which I personally find useful, if you like any of them I can clean up / fix the code and make a PR. Here is what I added:

  1. A text input for searching by path. The tree automatically expands to match whatever path is inputted. I put this in a modal panel so that it's always visible when the tree is large.

  2. Clicking on a node will display its path in the modal panel.

  3. Ctrl-clicking on a node will copy its path to clipboard.

Here's a demo (I added a large map for testing)
Here's the code

Better organization of multiple "frisks"

Right it seems (correct me if I'm wrong) that you can only really frisk one data object at a time. This makes it difficult to inspect data nested at some place within an app, where the component with the data in question is representated more than once in the UI. While #1 addresses this to some degree, it does so at the expense of potentially wrecking the UI (why I think the overlay functionality of data-frisk is so valuable).

What would be ideal is for you to call something like d/DataFriskShell that would queue some data for inspection, and ultimately produce a single component with all of the inspected chunks of data organized in some way. Perhaps you could even drop in anchors that let the chunks of data you inspect point to the components with the data you're inspecting.

A hacky/partial/non-optimal implementation would probably still be helpful, but there's probably a lot you could do to make things really slick here.

React-with-addons dependency

Is react-with-addons really necessary? Looks like it is not because it is not :required anywhere.

Currently most users will end up with multiple Reacts (in classpath) because Reagent etc. depend on normal version and readme here doesn't ask user to exclude those. At minimum the readme should state that user has to add exclude normal React.

Even better would be to use normal React, or not depend on React directly and just depend on Reagent.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.