-
Notifications
You must be signed in to change notification settings - Fork 20
Conversation
Still a work in progress. Just making this work visible for anyone who has input. |
@avanderhoorn if we are going with the new site design, where do you think this will fit? I will do backend work first (i.e. just knowing who contributes and amount), before doing any front end stuff. |
Good start mate. Given the changes to the home page/design don't worry too much about the home page - that said if you have a look at the latest update, you will see what I am thinking. I think its a great idea to focus on the backend services first - since the design is changing and if they are done right we can compose them together in different ways. As mentioned in #25 the data we should be able to eventually extract from the service is: Reviewers, Committers and Contributors (the rest to come later on). The primary use of the API, will be to build the page mentioned in #25 which has an individual section listing people as mentioned. For the purposes of the home page, it would be great if one could query the top N contributors (where it would join Reviewers, Committers and Contributors and then take the top N number). All of this doesn't need to be real time and can be cached like the other services, so perf shouldn't be an issue. Does all this make sense? |
Perfect On Tuesday, December 3, 2013, Anthony van der Hoorn wrote:
|
Back-end process mainly done. |
Just back from holidays and getting back up to speed. To make sure I understand things correctly, this PR setup all the backend APIs we need to be able to write the front end views against? |
Welcome back! Hope you had a good rest :) Back end api still needs a bit of tweaking, but you can make use of it @ianoxley is helping us with this too (good to have you on board!). If On Monday, January 20, 2014, Anthony van der Hoorn [email protected]
|
I've just noticed that the gravatar images returned by Rendering these smaller images at 150x150 unsuprisingly doesn't look great, but rendering them at 80x80 means that there isn't really enough room to display each contributors name, etc. when the image is flipped over. A quick hack would be to append '&size=150' onto these gravatar URLs, but that is a quick hack and doesn't feel like the ideal solution. Has anyone got any better ideas? |
That's the right way to do it in my opinion though. Where this logic should sit is perhaps the key question though. For me, I see it as a View concern, so whoever is displaying the image should add the size query parameter onto the gravatar URL. (http://en.gravatar.com/site/implement/images/). So, I am happy with that approach and don't see it as a hack. |
Keep up the great work guys! Looking good. |
I'm with @bholdt on that. |
Ok, no problem. I'll go with that approach :) |
WIP: