gauravtiwari / relay-rails-blog

A graphql, relay and standard rails application powered demo weblog. We are using Graphql server and relay for our react component data needs.
https://relay-rails-blog.herokuapp.com/
139 stars 18 forks source link

The demo doesn't work for me #6

Closed jocubeit closed 8 years ago

jocubeit commented 8 years ago

https://relay-rails-blog.herokuapp.com just shows a spinner endlessly. I was able to create an user but the posts page (root) never renders. At first I though maybe your heroku instance was asleep, but I'm not sure that's the problem.

BTW excellent series of posts on this subject, very much appreciated.

gauravtiwari commented 8 years ago

Hey @JurgenJocubeit Thanks for reporting the issue 👍 Are you seeing this on desktop browser?

gauravtiwari commented 8 years ago

I can reproduce the issue in mobile browsers, investigating...

jocubeit commented 8 years ago

I was using latest Safari on Mac OS X. Is working now in both Safari and Chrome.

jocubeit commented 8 years ago

This is really excellent work, that demo rocks! Well done and thanks for sharing!

jocubeit commented 8 years ago

I just noticed the dates on each post in the posts listing is coming up as "Invalid date".

gauravtiwari commented 8 years ago

Hey @JurgenJocubeit, Turns out a gem (local_time) used for date parsing was causing issue in Safari and Firefox, although strangely, Chrome didn't throw any error. The demo and master branch is now fixed so, feel free to test it out again.

There was also a login issue, due to turbolinks, and that's also fixed. Please clear out browser cookies, just in case or try in incognito mode to refresh session.

Thanks :)

gauravtiwari commented 8 years ago

So looks like all working now! Free free to open another issue if you find anything.