firemountain / basic-meteor-app

0 stars 0 forks source link

Other Collections #14

Open firemountain opened 7 years ago

firemountain commented 7 years ago

Other Collections

Other collection data

for the other collections that are setup in the cofig the schema will mimic the "ig-social-posts" collection.

how are collections created?

remember the collections the app initializes with are set in the config.

how are collections used?

They are used to organize sections of content shown in the app. So the Instagram posts go in one collection the "ig-social-posts" but we have other collections which are defined in the config, and which will show in the UI as tabs like this.
https://gyazo.com/eeb6c874d3e42c73e0e7098ce763c1b9

how are objects created in the collections that are not pulling new objects from instagram?

For all the other collections, objects are manually created by the user using a form.

The Create Object modal displays a form in a modal view, and is initialized via a button that shows beneath the navbar on each collection. Only the logged in user can see the button example: https://gyazo.com/97a4e59b5abf216646cb88494d384062

Clicking the button will will give the user a form to create a collection object

fields in the Form will be:

for the caption form field, which will display in the gallery-body, we will want to add a wysiwyg editor that is stripped down to just