Giter Site home page Giter Site logo

Comments (1)

nullterminated avatar nullterminated commented on August 23, 2024

I'm pretty sure the in place rule editor never actually worked. I believe I've got it fixed up enough to actually use now without butchering your rule files. Changes include fixing this bug (thanks for reporting), making rules save on a single line for easy git diffing, writing rules to a d2wmodel.txt file as well as rule model file, support for key comparison qualifiers on the LHS, custom selectors with the "key selector: value" format, sorting saved rules by priority, and fixing the priority sorting in the UI.

It still lacks support for rule model groups, there's no checkbox for disabling rules (disabled rules display a RuleIsDisabled = 'YES' in the LHS qualifier), there's still no file association for d2wmodel files, and there's not a nice combo box on the editor like there is on the cocoa version.

But it seems like it should now be usable at least. There's some minor formatting differences on LHS qualifiers, where something like

smartRelationship.isToMany = '1'

becomes

smartRelationship.isToMany = 1

but these look harmless. Since the thing never really worked in the first place, I went ahead and pushed my changes. Hopefully this makes it a little nicer for everyone.

from wolips.

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.