Code Monkey home page Code Monkey logo

Comments (8)

scottchiefbaker avatar scottchiefbaker commented on July 28, 2024

ExpandAll() functionality already exists in krumo by double clicking the footer of a krumo window. The part that says "called from...".

Implementing shift click might also be doable, I'll have to think about it. Do you want both functionalities, or is the double-click event enough?

from krumo.

scottchiefbaker avatar scottchiefbaker commented on July 28, 2024

Actually this is good code... I like your clique() function. I'll implement this after we figure out the object traces in #29

from krumo.

grippon avatar grippon commented on July 28, 2024

I see double-click doesn't make the same thing, it expands all krumo on all the page.

I only want to unfold a sub-branch.

For example if you start on your example page with your krumos closed, and you shift+click the first krumo ("line 15"), it will unfold the Object TestException, the trace array and its item 0, but will not touch the second krumo with the array ("line 16").

from krumo.

scottchiefbaker avatar scottchiefbaker commented on July 28, 2024

That was a bug... I fixed it here:

http://www.perturb.org/tmp/krumo-test.php

This rolls both the shift+click and the exception tracing in to one demo. If it does what do you want I'll commit it.

from krumo.

grippon avatar grippon commented on July 28, 2024

Thanks

No, they don't do the same thing.

Shift+click must be available for each element which has children, only open / close all of its children, it does not impact the other lines or parent object.

For example, if i shift click the line Exceptiontrace, i want it to open/close fully (item 0 and its args, file, function, line), not to close the full Array.

from krumo.

scottchiefbaker avatar scottchiefbaker commented on July 28, 2024

@grippon been a couple years and I just re-read this. It was quiet at work today so I took a look at this request again. Writing vanilla javascript selectors is a pain, but I think I got it.

http://www.perturb.org/tmp/krumo-test.php

Tell if that does what you want it to

from krumo.

scottchiefbaker avatar scottchiefbaker commented on July 28, 2024

Code is in my repo here, if you want to test your own installation.

https://github.com/scottchiefbaker/krumo/tree/fix_countable

from krumo.

scottchiefbaker avatar scottchiefbaker commented on July 28, 2024

Addressed in the just released v0.6.0.

Note: It's ctrl + click (not shift)

from krumo.

Related Issues (20)

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.