GithubHelp home page GithubHelp logo

reduxjs / redux-devtools-chart-monitor Goto Github PK

View Code? Open in Web Editor NEW
292.0 292.0 25.0 253 KB

A chart monitor for Redux DevTools https://www.npmjs.com/package/redux-devtools-chart-monitor

License: MIT License

JavaScript 100.00%

redux-devtools-chart-monitor's People

Contributors

cchamberlain avatar dlukeomalley avatar gabrielmicko avatar gaearon avatar jhen0409 avatar methuselah96 avatar romseguy avatar zalmoxisus 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redux-devtools-chart-monitor's Issues

Too many options causes extreme lag

Is there a way to set an initial "expandedNodes" prop to false so that it won't try and render the entire state tree? We sometimes load large json structures that we don't care to look at yet the monitor will try and render, causing it to slow down to a crawl and making the tool unusable :(

Clickable Nodes w/ JSONTree Enhancement

I'm hooking into the TreeChart's onClickText prop and using JSONTree to render my object to the right....(using your ChartMonitor in a seperate window).

Might be interesting to incorporate something like this as it sort of becomes a standalone dev tool (I've been using this on it's own all day and not even rendering the normal LogMonitor). Though hooking into the LogMonitor would probably be even cooler : )

statetree

Anyhow, thanks for this!

Keep the position of the collapsed / expanded node

This is somewhat related to #5 and #10.
When a node contains too many children, clicking on it to expand or collapse causes a substantial shift of a tree. You have zoom out and search for the node you've just been looking at, which takes quite a lot of time. A solution could be in calculating x and y of a just-clicked node in two modes (when its children are hidden and visible) and then adjusting the global coordinate system accordingly.

ChartMonitor doesn't work because monitorState is undefined

2016-06-26 11 39 28

I used DockMonitor to make it dockable.

const DevTools = createDevTools(
  <DockMonitor toggleVisibilityKey='ctrl-h'
               changePositionKey='ctrl-q'
               changeMonitorKey='ctrl-m'
               defaultIsVisible={ false }>
    <LogMonitor />
    <SliderMonitor />
    <DiffMonitor />
    <ChartMonitor />
  </DockMonitor>
);

My DockMonitor version is 1.1.1, ChartMonitor version is 1.4.1.
So how to fix it?

Use a noop reducer

I see the reducer is handling TOGGLE_VISIBILITY, but it is not dispatched from anywhere. Is it an orphaned code that should be removed?

TypeError: Cannot read property 'object' of undefined

I just followed the instructions, pretty straight forward, but I'm getting these error:

TypeError: Cannot read property 'object' of undefined
./node_modules/redux-devtools-chart-monitor/lib/Chart.js

  62 | }(_react.Component);
  63 | 
  64 | Chart.propTypes = {
> 65 |   state: _react.PropTypes.object,
  66 |   rootKeyName: _react.PropTypes.string,
  67 |   pushMethod: _react.PropTypes.oneOf(['push', 'unshift']),
  68 |   tree: _react.PropTypes.shape({

I'm getting these error even before use the component in my Monitor component, I'm only importing it
import ChartMonitor from 'redux-devtools-chart-monitor'

I am using the version 1.6.1

D3-related issues when using with the latest deps (__oldData__)

Hi Romain,

I added redux-devtools-chart-monitor to a new project recently and noticed some rendering issues, which I did not see before. Here's the summary:

issue with latest deps

(VM6084:208 Uncaught TypeError: Cannot read property '__oldData__' of undefined appears on first render and each time I click on a node)

To make sure it's not something about my project, I replicated the issue in your redux-store-visualizer demo after updating all deps (see romseguy/redux-store-visualizer#4). It's still unclear to me how to fix it, so I'm submitting an issue instead of a PR. Missing edges between the nodes might give a clue.

not work when set props defaultIsVisible={ true } with <DockMonitor>

I'm using the , and this is my code.

  <DockMonitor toggleVisibilityKey='ctrl-h'
               changePositionKey='ctrl-q'
               changeMonitorKey='ctrl-m'
               defaultIsVisible={ false }>
    <LogMonitor />
    <SliderMonitor />
    <DiffMonitor />
    <ChartMonitor />
  </DockMonitor>

It will work when defaultIsVisible is true

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.