Skip to content
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

[Discussion] Editing / posting back #36

Open
mrjmd opened this issue Jul 13, 2017 · 0 comments
Open

[Discussion] Editing / posting back #36

mrjmd opened this issue Jul 13, 2017 · 0 comments

Comments

@mrjmd
Copy link
Member

mrjmd commented Jul 13, 2017

In the long term roadmap I'd really like to support some type of authentication / editing of recipes and other content from within our app.

Exploring decoupled editorial is really interesting to me, and there are a few possible approaches I could see.

One idea is that we generate forms automatically during a build step based on the JSON schema of each data model provided to us by OpenAPI. These can then be tweaked / customized to our needs. There are a couple of JSON schema --> form generation libraries out there already for Angular that may assist if we take this approach. One example of this kind of approach can be seen in the Ember library developed for Reservoir, detailed here.

I'm also interested in exploring different ways of exposing form fields to authenticated users. The two main approaches are either a sidebar/drawer approach like CardStack uses (which is an Ember project), or an inline editing approach. In either case the key requirement is live previewing of changes as you are making them.

Here's an inline editing example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant