Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Average karma in user profiles #15

Merged
merged 2 commits into from
Sep 7, 2012
Merged

Average karma in user profiles #15

merged 2 commits into from
Sep 7, 2012

Conversation

rjsamson
Copy link
Contributor

@rjsamson rjsamson commented Sep 7, 2012

One thing that I liked about the profiles on HN was the average karma - it can be a good way to gauge an individual's quality of contribution in some circumstances. I've added a field for average karma in user profiles like so:

Imgur

@jcs
Copy link
Contributor

jcs commented Sep 7, 2012

How about putting it in parenthesis next to the total karma like " (average 1.50)"

User#stories_submitted_count and #comments_posted_count should probably have some caching since they would have to be pulled twice to generate that page.

@rjsamson
Copy link
Contributor Author

rjsamson commented Sep 7, 2012

I like the parenthesis idea - seems cleaner - I just added it. As far as caching goes, rails should be caching those quereis - the caching is working properly on my local machine anyway.

jcs added a commit that referenced this pull request Sep 7, 2012
show average karma in user profile
@jcs jcs merged commit ec7389d into lobsters:master Sep 7, 2012
chobeat referenced this pull request in gambe-ro/lobsters Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants