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

Add "Get PDF" Button to Door43 Pages #13

Closed
jag3773 opened this issue Jul 21, 2016 · 1 comment
Closed

Add "Get PDF" Button to Door43 Pages #13

jag3773 opened this issue Jul 21, 2016 · 1 comment

Comments

@jag3773
Copy link
Contributor

jag3773 commented Jul 21, 2016

Story

As a user I want to get a PDF from my Door43 user/repo page so that I can download, use, edit and/or share the resource offline.

Notes

For all of the rendered content on the door43.org/u/ pages, we want to add a "Get PDF" button that will use #11 to generate the PDF.

This button should do the following:

  • Check to see if a PDF exists for the latest commit (by checking /u/[user]/[repo]/[short_commit_hash]/pdf/[repo_name_timestamp].pdf).
  • If above fails,
    • Hit the API endpoint to ask for a PDF
    • Let the user know that it will take a few seconds
    • Start the download when the generation is finished

Optionally, we may want to allow the user to be emailed the PDF link if they do not want to wait.

@jag3773
Copy link
Contributor Author

jag3773 commented Aug 25, 2016

Issue moved to unfoldingWord-dev/hubot #53 via ZenHub

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

No branches or pull requests

1 participant