Closed animanathome closed 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:
Add the following information to each shot entry:
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.
To be able to properly prototype this we will have to add the additional data to our fixtures file.
Add isPublic property. We can use this property to determine whether or not we can display the given shot entry to everyone.
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).
A couple version has been committed now. Does require a bit more testing!
Still need the option to set a shot public or private!
Added the ability the change the state of the shared option under the edit shot page. Hereby I declare the first crude implementation finished.
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.