animanathome / moveme

1 stars 0 forks source link

Add shot gallery page #17

Closed animanathome closed 9 years ago

animanathome commented 9 years ago

This should be accessible from the main menu. On the page you should be able to view all publicly published shots. All shot versions should be laid out in a grid layout. We should have the ability to sort by popularity (number of thumbs up), comments, user and date.

animanathome commented 9 years ago

For this we're going to display an x number of shots. For this to properly work we'll have to make the following changes:

Shot Change

Add the following information to each shot entry:

  1. latest version id
  2. latest version thumbnail
  3. latest version youtube id
  4. project id

The id will allow us to jump to the parent version while the thumbnail will give us the image to display in the gallery. The youtube id will give us the link to show the specific video. Finally, adding the project id will allow us to jump to the parent project. This will give us the ability for each entry to move in both directions (since version already has a project id).

Note that this means that we'll have to update the shot instance every time we create a new version of it.

Temporary data

To be able to properly prototype this we will have to add the additional data to our fixtures file.

animanathome commented 9 years ago

Add isPublic property. We can use this property to determine whether or not we can display the given shot entry to everyone.

animanathome commented 9 years ago

Have a rough init version. Still need to add the new "latestVersion" logic to the different publish steps. Also need to add filtering methods (user, private, all).

animanathome commented 9 years ago

A couple version has been committed now. Does require a bit more testing!

animanathome commented 9 years ago

Still need the option to set a shot public or private!

animanathome commented 9 years ago

Added the ability the change the state of the shared option under the edit shot page. Hereby I declare the first crude implementation finished.