Coder Social home page Coder Social logo

RFE: collapsable pages about td-ubergui HOT 3 OPEN

enviraldesign avatar enviraldesign commented on June 10, 2024
RFE: collapsable pages

from td-ubergui.

Comments (3)

EnviralDesign avatar EnviralDesign commented on June 10, 2024

Heyyo! Yes this is a big one and many have asked. very much the next task I will hit up when I have the bandwidth again (soonish I think)

I have some ideas recently for managing collapse/expand that I think would mesh into the existing framework decently.

Basically, any change or RFE that requires changing of the html structure generated causes big problems and requires complicated refactoring in other areas that I am trying to avoid if at all possible.

The complicated way (but possibly the "correct" way) to do this is to maybe integrate a wrapper div for each page group, and then through JS hide/show those divs and their content.

The slightly easier way is to flag certain page names, store them in extension list or table dat for visibility, and simply re generate the UI, omitting parameters that are children of pages flagged as collapsed. This is probably the way I'll go since it will not require any structural changes.

from td-ubergui.

ruigato avatar ruigato commented on June 10, 2024

glad to know its a common request! thank you for your insight, the first option seems more performant, mainly because of the redraw glitch that the regen of the second option will probably cause.

from td-ubergui.

drmbt avatar drmbt commented on June 10, 2024

I've built a version of this with page and par filtering, and collapses that is kind of clever. let me know if you've got some time coming up to rap about it, its a solid prototype but a bit hacky as i tried to integrate with the way you're doing things here... you'd likely have insight on a better way to implement

from td-ubergui.

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.