Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Metadata editor #59

Open
flack opened this Issue · 3 comments

2 participants

@flack

We need an editor popover for the properties of an entity that don't have an editable RDFa representation.

Use case:

I have a "category" field for blog posts, but it's value is not displaed in an HTML tag, but instead is just used in the style code to set a CSS class f.x. on the document body. If create.js is the only edit interface available on the server, it has to provide a method for displaying (arbitrary) edit widgets for nonvisible content.

@bergie
Owner

The metadata editor will be based on VIE type information. See http://viejs.org/widgets/forms/ for an example.

@bergie
Owner

The current plan is the following:

  • We will have a midgardMetadata widget in Create
  • The widget will listen to editable activation (like Workflows does), and provide a Metadata button in toolbar
  • It will also listen to enabled editables to figure out what properties of an object are already editable via RDFa
  • When you click the button, it will provide a Backbone Forms editor in a popover
  • The form schema is generated from VIE's type information with RDFa-editable fields filtered out

This also has to do with validation in #52 in that if there are required fields in the metadata editor, it might be nice to open the metadata editor when showing a validation error on those.

@bergie
Owner

We have the new metadata widget system in place, and @woodworker has built a geolocation editor for it:

Geolocation editor in Create.js

@dbu dbu referenced this issue in symfony-cmf/CreateBundle
Open

Handle translations #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.