Backend support for activity posts with multiple media attachments
<!--- Please read this! The Definition of Ready (DoR) can be found at https://developers.minds.com/docs/handbook/how-we-work/#definition-of-ready-dor Before opening a new issue, make sure to search for keywords in the issues filtered by the "Type::Feature" label and verify the feature you're about to submit isn't a duplicate. ---> ## Goal Support activity posts with multiple images to enable content creators to create content they expect to create on social media. ## What needs to be done Set up backend to support a new activity post type that contains multiple images. Some assumptions we can make: - A post can have multiple images (1-4). - All upvotes / engagements on images within the post are attributed to the post -- in other words, the activity post has one set of engagements; we do not store engagements separately for each image within the post. Activity: ``` ->custom_type = 'batch'; ->custom_data = [ [ // image one 'thumbnail_src' => < source to thumbnail 1> ], [ // image two 'thumbnail_src' => < source to thumbnail 2> ] ] ``` Album: ``` // TODO: ``` ## QA <!--- Consideration is given to how the issue will be demoed and tested prior to being deployed ---> ## UX/Design Front end design of the multi-image posts is still in progress. Michael and/or Ryan can walk through in-progress designs if necessary. ## Personas - Core Minds creators ## Experiments No experiment ## Acceptance Criteria <!-- Everyone should be able to understand what is expected to be delivered ---> - [x] The backend supports a new activity post with multiple images - [x] Agreement on data structure - [x] Proof of concept of working ## Definition of Ready Checklist - [ ] Definition Of Done (DoD) - [ ] Acceptance criteria - [ ] Weighted - [ ] QA - [ ] UX/Design - [ ] Personas - [ ] Experiments
issue