openbeta-graphql icon indicating copy to clipboard operation
openbeta-graphql copied to clipboard

Add Post Model

Open siman4457 opened this issue 2 years ago • 1 comments

This issue is tied to a couple open issues on OpenTacos:

In order to address the above tasks, we need to combine the actions of a new upload and an item on the "recent tag" page. The product is something called a "post".

post diagram

UI flow:

  1. User selects one or more photos to upload
  2. User adds an optional description for the overall post
  3. User is prompted to add at least one tag on each uploaded photo
  4. User submits a new post

Changes to the current model:

  • [x] Rename the current media collection to "tags"
  • [ ] Create a migration script to move data from media collection to the new tag collection. Consider using something like migrate-mongo
  • [ ] Rename Schema, Model, Types, etc for media collection to tags in openbeta-graphql

siman4457 avatar Dec 09 '22 03:12 siman4457

Rename the current media collection to "tags"

If it's easier to maintain existing tagging functionality while this new feature is under development, can we call the new media collection MediaX or something like that?

vnugent avatar Dec 10 '22 10:12 vnugent