#17275 closed enhancement (fixed)
UI: Missing comments count in admin screen
Reported by: | ramiy | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | Comments | Keywords: | has-patch has-screenshots |
Focuses: | ui | Cc: |
Description
See Attached image.
Attachments (7)
Change History (39)
#1
@
14 years ago
- Component changed from UI to Comments
- Keywords needs-patch added; ui-feedback removed
- Milestone changed from Awaiting Review to Future Release
- Severity changed from major to normal
#4
follow-up:
↓ 8
@
14 years ago
- Owner ramiy deleted
- Status changed from accepted to assigned
@ramiy: The owner field is meant either for the person that supplies the patch or that oversees the ticket (i.e. a commiter).
#5
@
14 years ago
If you want to signal that the patch works for you, just leave a comment saying so.
#7
@
14 years ago
- Milestone changed from Future Release to 3.2
- Severity changed from normal to minor
Can't see a problem with the small patch.
Because we are showing the same line on the Dashboard now too (see [17797]) we should implant it in 3.2 to be consistent.
#8
in reply to:
↑ 4
@
14 years ago
- Owner set to solarissmoke
Replying to scribu:
@ramiy: The owner field is meant either for the person that supplies the patch or that oversees the ticket (i.e. a commiter).
Ok, Thanks for the feedback. I have reassignd the ticket to @solarissmoke (the patch supplier).
#9
@
14 years ago
- Milestone changed from 3.2 to Future Release
Didn't make it in by freeze, revisit for 3.3.
#10
@
13 years ago
Also, we need to hide the "tabs" when the count is 0 (zero).
In posts and pages, for example, we don't see "Draft (0)" or "Trash (0)".
Same principle should be in comments, the Pending/Spam/Trash should be hidden when count in zero.
#16
follow-up:
↓ 18
@
13 years ago
- Keywords needs-patch added; has-patch removed
The patch doesn't work because it's showing the total number of comments, but the "All" view only displays approved and pending comments and not spammed ones.
For example with 2 approved comments, 2 pending comments and 1 spam comment I see "All (5)" but actually only 4 items are listed.
#17
@
13 years ago
Any patch also has to deal with the JavaScript count updating too, i.e. decrementing the "All" and "Approved" counts when a comment is trashed/spammed.
#18
in reply to:
↑ 16
;
follow-up:
↓ 19
@
13 years ago
Replying to duck_:
The patch doesn't work because it's showing the total number of comments, but the "All" view only displays approved and pending comments and not spammed ones.
I tested the patch few months ago, it worked for me (See the screenshot). Where there any changes that could effect the comments count?
#19
in reply to:
↑ 18
;
follow-up:
↓ 20
@
13 years ago
Replying to ramiy:
I tested the patch few months ago, it worked for me (See the screenshot).
If you look at the actual number of items being displayed and the count on the right (under the search box) you should only see the two approved comments and "2 items". I think it's confusing having "All (18)" as the view 'title' when 18 comments aren't being shown.
#20
in reply to:
↑ 19
;
follow-ups:
↓ 21
↓ 22
@
13 years ago
Replying to duck_:
If you look at the actual number of items being displayed and the count on the right (under the search box) you should only see the two approved comments and "2 items". I think it's confusing having "All (18)" as the view 'title' when 18 comments aren't being shown.
It's not confusing, just like in posts/pages screen the "All" tab includes the trashed posts, in comments it includes the trash+spam comments.
I usually look at "Published" post count (don't care about drafts/trash). Same for comments, i am more intrested in "Approved" comments (don't care about spam/trash)
#21
in reply to:
↑ 20
@
13 years ago
Replying to ramiy:
It's not confusing, just like in posts/pages screen the "All" tab includes the trashed posts, in comments it includes the trash+spam comments.
On Posts/Pages screens, the "All" tab only includes published, draft and pending posts.
Likewise, on Comments screen, the "All" tab only includes approved and pending comments.
#22
in reply to:
↑ 20
@
13 years ago
Replying to ramiy:
It's not confusing, just like in posts/pages screen the "All" tab includes the trashed posts, in comments it includes the trash+spam comments.
Trashed posts don't count towards the "All" count on the posts screen. And with the patch applied trashed comments don't either only spammed ones.
Edit: apologies for the double posting with Sergey.
#23
@
13 years ago
So what do you suggest to do?
You want to remove the "Spam" and "Trash" from the total count ("All" tab) ?
#24
@
12 years ago
- Keywords has-patch ui-feedback added; needs-patch removed
- Severity changed from minor to normal
#27
@
9 years ago
Approved comment count shown via [33655]
Very special thanks to @wonderboymusic for fixing all this stuff :) To have an idea of the amount of work done see #11200 and #32362. If I'm not mistaken, now that there's a correct count for "All" (approved and pending comments) it should be possible to show and dynamically update the count for "All".
I'm pretty sure it's just a technical limitation, due to the fancy river of comments we have.