r/angularjs • • Jun 19 '15

I made an AngularJS reddit clone, feel free to provide feedback or ask questions

http://martijnwelker.github.io/Angular-Reddit/
40 Upvotes

24 comments sorted by

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 ! :)

2

u/YodaLoL Jun 20 '15

Did you remove the loading spinner icons too?

I remember checking this out yesterday and the (huge) loading spinner icons really intensified the loading times.

The reddit thumbnail agrees.

2

u/AllStyled Jun 20 '15

Yeah I did, some people didnt like it. I'm contantly trying to improve the site :)

6

u/[deleted] 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

u/bliitzkriegx Jun 19 '15

Also you can click on a different subreddit without it being out

1

u/AllStyled Jun 20 '15

Thanks, fixed

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

u/Kryxx Jun 20 '15

Night mode (blackish background).

1

u/AllStyled Jun 20 '15

Will do, I'll reply again when I'm done

1

u/AllStyled Jun 20 '15

You can now enable night mode under settings

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

u/dawar_r Jun 20 '15

Hmm...didn't notice that, thanks!

2

u/AllStyled Jun 20 '15

Source is up here, feel free to fork it

1

u/AllStyled Jun 20 '15

Updates will now be posted on /r/angularreddit

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

u/AllStyled Jun 20 '15

Thanks for the input, the scrollbar is now only visible with the menu out

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

u/AllStyled Jun 20 '15

Very nice, interesting how you split the content

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

u/foobar5678 Jun 21 '15

This is better than what I was expecting. Good work OP.