Open andywatts opened 7 years ago
That looks really cool. If anyone has tried that I haven't heard about it. Ping me if I can be helpful, that Menuly demo looks like a step in the right direction. That could do some really amazing stuff with nested commands that are difficult to intuitively format in text.
I was thinking build a UI component for generating json logics, maybe React component?
I found this http://altayaydemir.com/react-json-logic/
I would suggest [https://github.com/mistic100/jQuery-QueryBuilder](jQuery QueryBuilder) as a starting point. jQuery QueryBuilder has it's own JSON rules format which may even be suitable for most users of JSON Logic. Shame there isn't a react port.
@christrotter89 excellent suggestion, thanks!
@christrotter89 @jasonslyvia I just started added jsonlogic support to querybuilder this last week https://github.com/jeremywall/jQuery-QueryBuilder https://github.com/jeremywall/json-logic-js
Thank you Jeremy for sharing the plugin, works great! Any particular reason you keep the console.log in the sources?
I'm not done, it's still under development still, sorry about that @happyiphone
Oh, no worries at all. What you have in there worked for me, am using it to compare multiple web form values (replacing var: f with the actual value field) also implemented the startsWith, endsWith from your work.)
@jeremywall how goes this project? We are making extensive use of JSONLogic in our project and need to get a query builder out there too so I'd be interested in collaborating.
Any news?
@jeremywall Are you still planning to add this feature?
@jeremywall Could you please let me know if this feature has been added?
I just found a blockly based editor for json logic: https://katirasole.github.io/JSONLogic-Editor/ https://github.com/katirasole/JSONLogic-Editor
Shoutout to @katirasole, thanks a ton!
I wonder if it is possible to reuse the export/import here to/from jsonlogic for the plain jquery querybuilder. We would like to add jsonlogic compatible version of query builder to other platform not react. @jeremywall Are you still gonna release this feature ? Because the repository seems to be removed https://github.com/jeremywall/jQuery-QueryBuilder
https://developers.google.com/blockly/
Would love to see a blockly visual UI for constructing the logic.
Has anyone done any work on this?
This blockly does JSON creation and could be a start... http://ens-lg4.github.io/MenulyJSON/