mikelax / spacebot

spacebot - A Slack Bot for exploring NASA images
https://slashspacebot.netlify.app
Apache License 2.0
6 stars 2 forks source link

Add slack interactive buttons under photos #3

Closed mikelax closed 8 years ago

mikelax commented 8 years ago

As a user, I want to be able to "vote", or indicate that a photo is interesting or not by voting with a message button.

Under each image, two buttons should be displayed: Save to Favorites, Interesting. Saving to Favorites will store the selected image and associated attribute information. The user would then be able to list and retrieve their favorites in separate commands. The Interesting button would cast a "vote" for the given image that it is interesting, special, or otherwise stands out among all other images. This would be used later on by an algorithm to select interesting and top images that could be surfaced.

The vote results should be recorded in a dynamodb table. Attributes to store: Team, user, timestamp photo ID, Sol, earth_date, Camera, Rover, img_src text and command (from slash command payload)

mikelax commented 8 years ago

Interesting will be saved as a separate v2 feature. A separate ticket will address adding Favorites to rovers photos, this will deal specifically with the initial infrastructure and apod photos.