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

Show spinner until preview is present #12

Open
3 tasks
kirahowe opened this issue Aug 6, 2016 · 0 comments
Open
3 tasks

Show spinner until preview is present #12

kirahowe opened this issue Aug 6, 2016 · 0 comments

Comments

@kirahowe
Copy link
Collaborator

kirahowe commented Aug 6, 2016

When a new resource is created the preview doesn't always come fast enough and sometimes the user sees only the link on the homepage. Add a spinner to these links and poll to see if the resource.preview is present (and expected to come, i.e. a job was queued for it), if it is, re-render the resource card to show all the data. If it's not, keep showing the spinner.

  • add tracking for job creation (have to know if a job was created for this preview fetch)
  • if it was, show a spinner on the index until the preview is present
  • if it wasn't, show a friendly message like "We couldn't seem to fetch any data about this resource. Can you add a descriptive title and short description?"
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

1 participant