Giter Site home page Giter Site logo

Comments (3)

illmillrig avatar illmillrig commented on August 23, 2024

we have a change for this if you're interested

from simplex.

tbttfox avatar tbttfox commented on August 23, 2024

Yeah, send it this way!

Just wondering how deep you went into this? I've got this Big Idea for a web of interconnected names, but honestly any step forward helps.


My Big Idea is that changing a slider name could change a combo, or any of its underlying shapes. Changing a combo could change its underlying shapes, and even back-propagate to the slider which could change other combos.
Changing a shape name could change its parent slider name which could change other shape names, and on down the line.

There are currently some unused functions in the UI code that start to deal with all that. And eventually, my plan was to have a UI optionally pop up on name change to be able to conditionally approve any downstream renames

from simplex.

illmillrig avatar illmillrig commented on August 23, 2024

It was a really minor change, you had a todo note in the setter for slider.name to also update the combo names

so i added

for combo in self.simplex.getDownstreamCombos(self):
    combo.updateName()

and

def updateName(self):
    values = [p.value for p in self.pairs]
    name = self.buildComboName(self.getSliders(), values)
    self.name = name

of course please feel free to offer any advice :)

from simplex.

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.