Coder Social home page Coder Social logo

micotton / dejavue Goto Github PK

View Code? Open in Web Editor NEW
785.0 27.0 42.0 2.73 MB

Visualization and debugging tool built for Vue.js

Home Page: http://www.dejavue.co

License: MIT License

JavaScript 89.60% Vue 0.85% HTML 6.39% CSS 3.17%
vuejs vue javascript chrome-devtools visualization

dejavue's People

Contributors

ethanswe avatar kimhjona avatar madebymtr avatar nihgwu avatar sschwartz0 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dejavue's Issues

String prop values shown without quotation marks

Reproduction:

Create component property with string value, open list of props in DejaVue inspector.

Result

Property is shown without quotations so boolean false is indistinguishable from string "false"

Expected result:

All string values shown with proper quotation marks.

What are the prerequisites for creating new travel step?

DejaVue keeps creating new travel steps in weird moments like in middle of transition (so I have like 3 steps with just next animation frames) , in middle of nowhere (or I just dont see the changes) or even in middle of selecting a text block (You can even see the selection box on half of the text).

Is this prone to some improvements or it was intended to work this way?
And can we know what is the meaning of green/gray globules on graph?

Chrome dev tools dark theme

I use the Dark theme on Chrome dev tools by default.

When the plugin loads up, text is in black, and on the dark grey background, it's hard to read, would you be able to detect a dark theme, and change text colour to white/light grey instead?
dejavuedarktheme

Component Graph doesn't expand to full width of devtools window

I apologize if this is some sort of limitation I'm unaware of, however the component graph doesn't expand the full width of the window.

screen shot 2017-02-09 at 8 30 53 pm

Chrome 55.0.2883.95 (64-bit)
macOS 10.12.3

Let me know if more info is needed. Otherwise, great tool keep up the good work.

Help request - Nearly-empty screen after installation

I just wanted to try as the screenshots looked nice, but I was unable to even see localy how DejaVue works
I end up with a screen containing two titles and a slider bar with a button "Resume App" appearing some times
image

Error in response to storage.get

I can't get it to work (using Chrome Canary/Stable under macos). Got it working sometimes after some page refreshes, but seems random.

Popping development console it shows this:

Error in response to storage.get: TypeError: Cannot read property 'reduce' of null at drawTree (chrome-extension://jpigngmphmclcmikmcbcfplgnhlnefbp/app/assets/js/devtools.js:371:31) at Object.callback (chrome-extension://jpigngmphmclcmikmcbcfplgnhlnefbp/app/assets/js/devtools.js:287:33) at chrome-extension://jpigngmphmclcmikmcbcfplgnhlnefbp/app/assets/js/devtools.js:286:50

imagen

For array of objects as prop each array element is displayed separately

Reproduction:

Create component property with array of objects, open list of props in DejaVue inspector.

Result

Property is shown with too much details for each array element.
In my case:

demos: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Expected result:

Type should be displayed just as Array or as a collapsible block.

HTML tags are not escaped inside of inspector

Reproduction:

Create a property with string content of <p>test1</p><pre style="background:red">test2</pre>. Open components props in DejaVue component inspector.

Result

test2 is styled differently because its parsed with the HTML/style tags.

Expected result:

All HTML tags should be escapped.

Notes:

Same applies for Vars and Changes

String values not closed properly in `Changes` (and propably wrong elements shown?)

Reproduction:

change string property of component, open list of props in DejaVue inspector, go to Changes section.

Result

  1. Changes of string values are beggining with a " character, but there is no matching closing character.
  2. Shouldn't the first value be name of my prop?
    In my case:
Close modal33 changed from "Close modal2 to "Close modal

Expected result:

`title` changed from "Close modal2" to "Close modal"

Object props displayed as `[object Object]`

Reproduction:

Create component property with object content, open list of props in DejaVue inspector.

Result

Type of property is shown as [object Object]

Expected result:

Type should displayed as simply Object (in the same matter Function in shown)

Need a refresh button

I have several Vue instances on the page (being created and destroyed), and only the first one is ever displayed even when it is destroyed.

Where do I find "shells/chrome"?

Hi Guys

I am trying to add this plugin to Chrome by following the 6 steps in the README. 1 to 5 worked as expected but step 6 doesn't.

  1. Click "load unpacked extension", and choose shells/chrome.

When I click "load unpacked extension" I see no shells/chrome folder. Is it supposed to have been built in step 3?

Thanks

Paul

Error: MAX_WRITE_OPERATIONS_PER_HOUR

Unchecked runtime.lastError while running storage.set: This request exceeds the MAX_WRITE_OPERATIONS_PER_HOUR quota.
    at firstNodeCounter (chrome-extension://jpigngmphmclcmikmcbcfplgnhlnefbp/app/assets/js/content-script.js:61:25)
    at chrome-extension://jpigngmphmclcmikmcbcfplgnhlnefbp/app/assets/js/content-script.js:68:17

screen shot 2017-02-23 at 6 14 25 pm

Overlay box showing component position is cached too aggressively

Reproduction:

Open DejaVue, then (in my case) open tab above this component. Now hover the component in DejaVue graph.

Result:

Blue overlay box is shown in the place where the component was before opening the tab.

Expected result:

Overlay should update to real component position.

Uncaught ReferenceError: $ is not defined

Hey, i using electron and electron-devtools-installer for installing chrome extension for electron

Error on this line

$('a').on('click', function (e) {

Thanks for pretty cool extension ๐Ÿ‘

Please remove console.log output

or add an option to view the console.log data.

e.g.

// run each component through the DVconstructor
                                        console.log('components', components)
                                let methodKeys = Object.keys(node).filter((el) => {
                                    if(el[0] === '_' || el[0] === '$') return false
                                    else if(typeof node[el] === 'function') return true;
                                    else return false;
                                })

                                console.log(methodKeys)

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.