Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email Recipes to Users with Ability to Import #57

Open
ethanmykytiuk opened this issue Mar 24, 2013 · 2 comments
Open

Email Recipes to Users with Ability to Import #57

ethanmykytiuk opened this issue Mar 24, 2013 · 2 comments

Comments

@ethanmykytiuk
Copy link
Contributor

References Issue #3

Story(optional): As a user, I want to email other users recipes that they can immediately import into their recipe program.

Description: User can email recipes to other users, who can them import them onto their app

Actor: User, Receiver

Precondition: User chooses a recipe to email

Trigger: User selects to email recipes

Basic Flow:

1. User selects recipe
2. User chooses email
3. Receiver gets email
4. Receiver imports recipe 

Tests:

  1. Email goes through
  2. Everything imports for the receiver
@f2prateek
Copy link
Member

Just writing this down so I don't forget. The flow is something like this.

  1. User selects share in the Recipe Activity. We put all the recipe information as text, but also attach a json object of the recipe as an extra.
  2. User emails.
  3. Receiving user views email. They'll see the recipe text, but also an attachment.
  4. When they click the attachment, our Broadcast receiver accepts the json file, parses it into a recipe, and start the activity with the recipe as an extra. We should probably save the recipe to the database automatically.

@f2prateek
Copy link
Member

Part 1 was done (email the recipe). Part 2 needs to be done - that is import. Should be a simple matter of writing the Broadcast Receiver that supplies a Recipe to RecipeActivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants