Show HN: Angular 2 HN – A responsive Hacker News client built with Angular 2
angular2-hn.firebaseapp.com
angular2-hn.firebaseapp.com
That being said, the hn interface is poor on mobile.
But as someone already mentioned here, there definitely is some work that needs to be done to speed up the requests in general. There's quite a large transfer that happens on every page because of the way I load each item individually. I'll have to find a way to speed that up.
Thanks for the suggestion. I'll consider delaying the loading behaviour so it doesn't show all the time when the app is performing normally.
Appreciate all the feedback folks. I'll be updating the post pages in the next few days to do the same to make this app substantially faster.
Not to mention that requests now get cached :)
I wanted to build one with a responsive UI that would provide a `native` feel regardless of which device you use. Decided to use Angular CLI, RxJS and Webpack to do the job.
There are definitely areas of improvement and I would love some feedback :)
Wish I worked for Google, but I just like GCP (currently migrating my company's infrastructure to it).
Disclosure: I work on Cloud at Google.
[1] https://sras.me/reform/#/setconfig;reddit=programming,scienc...
Was done like that initially. But when user collapses the inline display, it felt that the user is left at a random location, and had to scan the items to find where they left off. So I removed the link at the bottom to collapse the inline display, forcing them to use the top link. When the user collapses using the top link, the scroll position is not 'jumped', and hence the experience felt better.
One other thing I noticed is that stories don't seem to load on my iPhone, but works fine on browser. Not sure why though.
I am not sure (I don't have an iPhone around to test this), but it might be because there are no story sources configured in your Phone. The link I provided,
https://sras.me/reform/#/setconfig;reddit=programming,scienc...
was a config url, that included a bunch of story sources to use (subreddit and HN pages).
This config is stored in the local storage. So you don't have to use the config url next time you use the app.
You can also add subreddit and hackernews pages using the settings page. Can you please try it and let me if this is the case?
If it is not, can you please check if the log is showing any network activity (there is a log at the bottom where it shows active requests)
On Safari I don't see any requests and clicking add story or Reddit does nothing :(
Anyway, it is alright. Thanks for all your feedback.
I found a small issue with your app. Please take a look at [1]. When the thread is too deep, the container becomes so narrow that the text becomes almost vertical.
And thanks so much for spotting that, will fix that up.
However, I will probably stick to Materialistic (HN native Android App) for feature reasons.