dbp / positionsites

BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

make field forms truly embedable #5

Open dbp opened 10 years ago

dbp commented 10 years ago

In particular, the hard cases are for related data and images. related data just needs to be namespaced and created properly, most of which DF will handle. Images are not too hard - probably there needs to be a post-validation set of actions, which in the images case will copy, resize, etc. In particular, we don't want to be doing all that if another field is going to fail to validate.

dbp commented 10 years ago

There is an (important - not truly, just important to it working right now) invariant that allows the image forms to work: we don't allow you to edit the whole item at once. This is important because if we did, we would need to make no image being there okay (right now you have to put something there).

dbp commented 10 years ago

note: this should also allow special casing in api to go away, because every set field will be the same.