-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schema editor? #304
Comments
Not that I'm aware of, @davidlgj is the one with the grand plans but it's not something I've heard of. I'll let him answer. |
dynamic form generation is higher level of page creation. programming language like js/c#/java is the best configuration tool and IDE UI designer is ultimate editor. with this framework, instead of write code at the primitive level, it's now configuring with JSON, let's call it JSON programming, the JSON schema become Domain Specific Language. I think an editor will be very beneficial in term of easy form creation. |
I am planning on making this sometime later this year. |
For what it's worth, I'm in the process of designing a schema/form builder right now (my main project that uses schema-form is in desperate need of one) and I'll probably really get into the code in a couple weeks. I initially thought this was going to be a huge undertaking, but as I'm laying it out, it looks surprisingly (deceptively?) straightforward. I loosely planned to get it working for my needs, then release it (as I tend to do), but if there's a lot of demand, I'd be more than happy to develop in the open. |
@mike-marcacci I'd love to see it! We also are going to have to build something to generate form definitions and at least parts of schemas, but it's a bit down the line for us, but if you get something going we might be able to help! |
Awesome – I'll post a link here when I get something alpha-quality up (will probably be in a couple weeks). |
Cool :) ons 18 mars 2015 kl 08:48 skrev Mike Marcacci notifications@github.com:
|
I have also considered this and is also very interested in something like that. |
(so I've edited my response, I realize that is not going to show in your emails) |
Hey guys – I just started working on this, and added a repo to start collecting thoughts. I think this project is made much easier by heavily relying on schema-form for the registry of possible form types, and also for the configuration of form items based on their type. This would require a change to the form-type definition/mapping (what is the best word for these units, btw?) to allow each type to declare its configuration options. This would have the side-effect of fixing #113. (from here) // old style (should maintain backwards-compatibility)
schemaFormDecoratorsProvider.addMapping(
'bootstrapDecorator',
'datepicker',
'directives/decorators/bootstrap/datepicker/datepicker.html'
);
// new style defining title, description, schema, and form for configuration
schemaFormDecoratorsProvider.addMapping(
'bootstrapDecorator',
{
type: 'datepicker',
title: 'DatePicker',
description: 'Datepicker add-on for Angular Schema Form using pickadate!',
form: ['*'],
schema: {
type: 'object',
properties: {
minDate: {
type: ['string', 'null']
},
maxDate: {
type: ['string', 'null']
}
}
}
},
'directives/decorators/bootstrap/datepicker/datepicker.html'
); I'd love to hear your thoughts on these changes or the builder project in general. |
I started an issue(and made a pull request) at that repo: |
Hi all, built a simple builder for schema form using schema-form. Please have a look, I'd love to get your feedback. http://ralphowino.github.io/schema-form-builder |
Cool stuff! |
Well done indeed. I think this could be a great starting point, it is already quite usable. @rowino, I added you to a planning gitter chat for Angular Schema Form, it would be great if you wanted to join and you (and perhaps your project) to be involved? |
This feature is cool! |
I'm in need of a form builder as well and would love to chip in! what is the current status? is there an official repo / branch already? |
Hi @ThomasPe, Yes, there is, here is the repo: https://github.com/json-schema-form/json-schema-builder |
No roadmap yet. @rowino has basically only created the repo and put the code there just a short while ago. You are welcome to discuss at json-schema-form/angular-schema-form-projects gitter repo! |
Please re-open if you do not feel the question has been answered sufficiently. |
is it in the road map in the near future?
The text was updated successfully, but these errors were encountered: