You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New place models which include rich text image content currently require two round-trips to the server to save: one trip to create the place model and attachment models in the first place, and a second to update any embedded images with the S3 bucket urls returned from the first save. It would be better if we didn't need this double round trip.
To accomplish this, let's build out our Attachment model to support a type property. The type property will signal to the client the intended use of the attachment. Currently there are two use cases:
cover image (images that appear at the very top of place detail views, right below the title)
rich text embedded images (images that are embedded inside a rich text field)
The client will make use of attachments based on the value of the type field, correctly placing cover images at the top and embedded images at the appropriate point in a rich text field.
The text was updated successfully, but these errors were encountered:
@goldpbear -- Sorry, I didn't get a chance to start on it yet :( I was planning to get to it this weekend, but feel free to work on it now and we can sync up this weekend.
New place models which include rich text image content currently require two round-trips to the server to save: one trip to create the place model and attachment models in the first place, and a second to update any embedded images with the S3 bucket urls returned from the first save. It would be better if we didn't need this double round trip.
To accomplish this, let's build out our
Attachment
model to support atype
property. Thetype
property will signal to the client the intended use of the attachment. Currently there are two use cases:The client will make use of attachments based on the value of the
type
field, correctly placing cover images at the top and embedded images at the appropriate point in a rich text field.The text was updated successfully, but these errors were encountered: