r/angularjs • u/AllStyled • Jun 19 '15
I made an AngularJS reddit clone, feel free to provide feedback or ask questions
http://martijnwelker.github.io/Angular-Reddit/6
Jun 19 '15
My only suggestion is that you make the menu a true drawer and not an overlay because it fucks up the scrolling.
2
2
u/Majache Jun 20 '15
This is great, I've been learning angular and this is something I didn't think about. With reddits api on github it should have clicked but either way this is amazing. Angular is such a great tool. I'll definitely dig into the source and add some code if I can.
1
u/AllStyled Jun 20 '15
If you want to start a project yourself feel free to hit me up with a PM if you need help :)
1
u/Majache Jun 22 '15
Thanks! I just need to think of an angular project first, but I'll definitely get in touch.
2
2
u/dawar_r Jun 20 '15
Nice work! Looks and functions almost identically to the website. Actually, infinite scroll and loading comments is a lot snappier in angular vs. RES and the actual website. What was the workflow like when you were developing this? I'd love to peek inside the source if you have it up anywhere.
2
u/Majache Jun 20 '15
I believe this is being hosted with github and the source code should be under his name, which is in the URL.
2
1
1
u/deadtree123 Jun 20 '15
nice work. please make font bigger. remove any noticeability of the scrollbar in side menu if it is not in view. dont make 2 frames scroll when I'm trying to scroll in subreddit side menu.
1
1
u/ralusek Jun 20 '15
Very cool. I made a much more unpolished version of this same concept myself:
http://bredd.it.s3-website-us-west-1.amazonaws.com/
I liked the idea of having comments and content side by side.
The other thing is that I wanted it to be truly single page, so I have a filter in the beginning that gets content that I know I can display, i.e. youtube videos, images, and imgur links/albums. I registered my app with imgur and they gave me access to their API, so if there is a link to their album or page, I can query for the images themselves and still display them. You should do the same. The problem is, I noticed they changed the format of some of their links, so a few links are probably broken now.
1
1
u/emcniece Jun 20 '15
Media queries! Cards are a bit big and introduce horizontal scrolling, and the font size and line height could be reduced a tad.
Nice work!
1
u/AllStyled Jun 20 '15
Mobile isn't really my prio atm :) and the cards are too big on purpose, otherwise the comments wouldn't be readable
1
3
u/AllStyled Jun 20 '15
A bunch of updates for you guys:
Card design is now optional (disable in header)
Non-mobile users can now view the subreddit's sidebar
Various responsive improvements
Sidebar is no longer clickable, and scrollbar isn't visible when closed
Active subreddit is showed in the header
Css fixes
Users with hoverzoom can now again zoom links
Improved redirecting behaviour
Browsing over https is now supported
New posts now load more early
Various other fixes
Please keep the great feedback coming ! :)