Closed Bug 872198 Opened 11 years ago Closed 11 years ago

Add view count to questions listing page

Categories

(support.mozilla.org :: Questions, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED
2013Q2

People

(Reporter: rrosario, Assigned: rrosario)

Details

(Whiteboard: u=contributor c=questions p=1 s=2013.11)

We need to add the view counts to the question listing page. I would love to remove the "has this problem" count and just leave views and "has this problem this week". The total "has this problem" count is one of the things that is hurting our performance on this page.

From Bug 857534:
I wasn't exactly sure where to add it and I want to spend some time making sure it doesnt kill our performance more on that page. Also, need to figure out what to do in the case of new questions that don't have a view count until the cron jobs overnight.
Bug 857534 already states what to do with read counts: They would only be displayed on the thread itself, but not on the thread listing page. Since we already have it on the individual thread we can just go ahead and remove it from the thread listing page. There was no concern the last time I proposed it in the platform meeting.


Essentially, let's swap "me toos" for views on the thread listing page.

For the case where we don't have any views yet we can say so: "NA." Unless there is a better way to handle it.
Priority: -- → P2
Whiteboard: u=contributor c=questions p= s=2013.backlog → u=contributor c=questions p= s=2013.11
(In reply to Kadir Topal [:atopal] from comment #1)

OK, so we won't show votes on the listing page anymore? Is this good: http://cl.ly/image/3v2x1F2R3I43 ?
Flags: needinfo?(a.topal)
To clarify we are swapping the votes for views. But we should keep the "views this week" feature. Otherwise sorting by views will become completely meaningless within weeks.
Flags: needinfo?(a.topal)
(In reply to Kadir Topal [:atopal] from comment #3)
> To clarify we are swapping the votes for views. But we should keep the
> "views this week" feature. Otherwise sorting by views will become completely
> meaningless within weeks.

views, votes, so confusing! This is what I think you meant:

To clarify we are swapping the total votes for views. But we should keep the
"votes this week" feature. Otherwise sorting by votes will become completely
meaningless within weeks.
Heh, it's confusing indeed, but I really meant "views this week". The total view count is great for motivation, but if you want to do anything meaningful with it, you have to use the bounded version, eg. weekly data.
(In reply to Kadir Topal [:atopal] from comment #5)
> Heh, it's confusing indeed, but I really meant "views this week". The total
> view count is great for motivation, but if you want to do anything
> meaningful with it, you have to use the bounded version, eg. weekly data.

well, we didn't implement views per week. Only total views. Why wasn't that spec'd in Bug 857534 ?

Comment 4 stands.
It was spec'd in bug 857534:

> * We should get uniques for last 24 hours and add to our current value.
> * We should get uniques for the last week to show on the thread listing page.
Aside, I'm not sure what we'll accomplish with showing only total views. It's okay for motivation, but sorting by them would be quite meaningless.
(In reply to Kadir Topal [:atopal] from comment #7)
> > * We should get uniques for last 24 hours and add to our current value.
> > * We should get uniques for the last week to show on the thread listing page.

Gah. Buried in the comments. I didn't pay attention because that first one is an invalid suggestion of an implementation detail. The only screenshot provided (http://note.io/10pDZKv) didn't suggest having views on the question listing page.

Anyway, if weekly views are really important lets open a bug.

I think it would be better to add filtering by date to the questions list and then we wouldnt need that at all.
(In reply to Kadir Topal [:atopal] from comment #8)
> Aside, I'm not sure what we'll accomplish with showing only total views.
> It's okay for motivation, but sorting by them would be quite meaningless.

Yeah but sorting wasnt ever requested :(. The user story doesn't suggest sorting is important:

User Story: As a contributor I'd like to see how often threads get read. Knowing that a thread has been read 3000 times this month means I'm more motivated to get to a solution than when it's only being read by one person.
Making this 1pt to change all time votes for all time views on the question listing page.
Whiteboard: u=contributor c=questions p= s=2013.11 → u=contributor c=questions p=1 s=2013.11
Assignee: nobody → rrosario
Landed on master:
https://github.com/mozilla/kitsune/commit/aedd2c318c58047d053340ef589b2628ee3b871e

And deployed to prod.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.