# Unread indicators

**URL:** https://meta.discourse.org/t/unread-indicators/45150
**Category:** Support
**Created:** [June 2, 2016, 5:09pm UTC](https://meta.discourse.org/t/unread-indicators/45150 "2016-06-02T17:09:11Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [June 2, 2016, 5:09pm UTC](https://meta.discourse.org/t/unread-indicators/45150/1 "2016-06-02T17:09:11Z")

</div>

Couple of things about unread indicators:

1. Is there a number saying how many unread posts there are?  
“Unread (n)” is not this, which follows a set of rules for what is considered unread. New (n) isn’t this either, I think, even when set to when “I haven’t viewed them yet” in user Preferences, because it refers to topics entered, not all posts. I’m looking for an old fashioned “unread posts” count. Am I missing it?
2. How can I make topics which have any new activity bold (not just grey-\>black)

Thanks

---

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [June 2, 2016, 7:28pm UTC](https://meta.discourse.org/t/unread-indicators/45150/2 "2016-06-02T19:28:04Z")

</div>

For (2), this is working for me:

```css
.topic-list a:not(.badge-notification).title {
    font-weight: bold;
}
.topic-list a:not(.badge-notification).title.visited {
    font-weight: normal;
}

```

---

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [June 2, 2016, 8:07pm UTC](https://meta.discourse.org/t/unread-indicators/45150/3 "2016-06-02T20:07:09Z")

</div>

Related: Can anyone think of a single word for “watching and/or tracking”?

To replace the “Unread” count, which [feedback alert] is entirely unintuitive if one hasn’t read the manual (what manual 😜), or the messages when clicking Unread when the count is zero, or if you’re a routine tooltip reader.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 2, 2016, 8:19pm UTC](https://meta.discourse.org/t/unread-indicators/45150/4 "2016-06-02T20:19:35Z")

</div>

If you click or tap on unread, it explains what it is, like so:

> Your unread topics appear here.
> 
> By default, topics are considered unread and will show unread counts if you:
> 
> - Created the topic
> - Replied to the topic
> - Read the topic for more than 4 minutes
> - Or if you have explicitly set the topic to Tracked or Watched via the notification control at the bottom of each topic.
> 
> Visit your [preferences](https://meta.discourse.org/users/codinghorror/preferences) to change this.

---

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [June 2, 2016, 8:30pm UTC](https://meta.discourse.org/t/unread-indicators/45150/5 "2016-06-02T20:30:51Z")

</div>

Yes, the

> [@precessor](#):
>
> messages when clicking Unread when the count is zero

I’m looking for a

> <https://english.stackexchange.com/questions/329471/single-word-for-watching-and-or-tracking>

which could be a better description for this feature.

---

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [June 2, 2016, 9:47pm UTC](https://meta.discourse.org/t/unread-indicators/45150/6 "2016-06-02T21:47:56Z")

</div>

Regarding (1), I am going with Following  
Which seems sort of obvious now that I think about it :facepalm: 😀

I changed

```plaintext
js.filters.unread.title
js.filters.unread.title_with_count.one
js.filters.unread.title_with_count.other

```

It also seemed appropriate to change “New” to “Recent” (or perhaps “Recent Topics” since “Latest” means _posts_)  
via

```plaintext
js.filters.new.title
js.filters.new.title_with_count.one
js.filters.new.title_with_count.other

```

 ![](https://global.discourse-cdn.com/meta/original/3X/b/d/bd76633e635de586c770dcc0365982515260af52.png)

The option to add an unread _posts_ count to “Latest” would be ideal, because Latest refers to posts. How can I do that?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 2, 2016, 10:29pm UTC](https://meta.discourse.org/t/unread-indicators/45150/7 "2016-06-02T22:29:53Z")

</div>

> [@precessor](#):
>
> because Latest refers to posts

I can understand how you might think that.

But I have always thought of it as  
“Latest _topics_ that have received posts”

Because the way Discourse has endless scroll, I think the largest “sum” of posts would be limited to what has been loaded in.

---

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [June 2, 2016, 10:49pm UTC](https://meta.discourse.org/t/unread-indicators/45150/8 "2016-06-02T22:49:19Z")

</div>

Ah I see what you’re saying. E.g. 10 new posts in one topic, and the Latest count (if a count was shown) would only be 1?

The use case that I’m trying to address is when a user loads the forum with a single question in mind: “how many unread posts are there?” Some users wait until there is a certain amount of new stuff before catching up. They report frustration that this number is not available.

New posts - which indicate reading time - may be more relevant than a changed-topic count. Any ideas on how to address this gratefully received. 😌

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 2, 2016, 11:21pm UTC](https://meta.discourse.org/t/unread-indicators/45150/9 "2016-06-02T23:21:55Z")

</div>

Except for “not really new bumps” such as a late last post in the topic edit, the highest post id would be the that of the last post in the topmost Latest topic.

A problem being the posts in messages and other not-visible topics also get post ids.

So the easy solution of setting a cookie with that number to use in subtracting from the next visits highest post id wouldn’t really be accurate enough.

Similar for topic ids.

Thus any of the “easier” approaches that I can think of would be flawed over-estimates at best.

I do think it would be possible to have a plugin use custom fields tied in with login so that a type of “there have been _n_ new posts” could be possible.

But I have to wonder, do that many members really have an interest in _all_ new posts in _every_ topic they have read permission for?

I guess it could be a “Hey! We’re an active forum!” thing but it really doesn’t seem that useful to me. Not as long as I can already get Notifications, New and Unread for what I am interested in anyway.

---

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [June 3, 2016, 8:00am UTC](https://meta.discourse.org/t/unread-indicators/45150/10 "2016-06-03T08:00:07Z")

</div>

> [@Mittineague](#):
>
> do that many members really have an interest in all new posts in every topic

It depends on the forum, or course. This is the case in the private forum I manage, where the topics are very niche, and the level of activity is not high (so reading everything is not too much). Users also need legal agreements with my company before approval; they are invested in participation.

I suppose one way would be for Discourse to report number of new posts as if a user was tracking everything, in spite of what they are really tracking.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 3, 2016, 8:23am UTC](https://meta.discourse.org/t/unread-indicators/45150/11 "2016-06-03T08:23:32Z")

</div>

Maybe a JavaScript Cookie approach would suffice then.

Looking into it more, not as straight forward as I thought

The view-source doesn’t expose the post id.

The latest RSS does

```plaintext
<guid isPermaLink="false">meta.discourse.org-post-199819</guid>

```

as does a topics JSON

```plaintext
"stream":[197269,197272,197286,197289,197290,197291,197292,197297,197298,197299,
197300,197302,197306,197307,197308,197314,197317,197334,197337,197346,
197373,197377,197387,197391,197395,197423,197459,197461,197463,197465,
197467,197469,197509,197510,197511,197512,197513,197514,197515,197516,
197524,197528,197548,197549,197552,197554,197555,197556,197558,197559,
197603,197605,197607,197610,197611,197612,197613,197621,197626,197638,
197776,197799,197808,197814,197815,197835,197845,197851,197886,197888,
197890,197894,197901,197906,197907,197908,197921,197925,197928,197929,
197930,197935,197936,197937,197939,197953,197960,198020,198123,198135,
198146,198149,198150,198151,198194,198212,198230,198231,198238,198244,
198249,198256,198288,198300,198304,198349,198397,198402,198422,198423,
198531,198839,199670,199673,199820]},

```

I don’t see any “pin” in either the RSS or JSON (unless I missed something)  
So if you get the post id from the RSS you would need to take Pinned topics into consideration.  
Same it you wanted to get a topics JSON.

I think I’d go with the RSS get enough to make sure all Pinned were got past, and use the highest number eg.

4234, 4303, 5347, 5329 - use 5347

---

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [June 3, 2016, 9:48am UTC](https://meta.discourse.org/t/unread-indicators/45150/12 "2016-06-03T09:48:35Z")

</div>

Feels like plugin territory then, to get this result next to “Latest” (and an option in Preferences to turn that on, which would also be sensible).  
I can also see via [Data Explorer](https://meta.discourse.org/t/32566?silent=true) that post\_read\_count is in user\_stats, which can simply be subtracted from all posts (not sure where that is though).  
I think I shall pass! 😏  
Thanks for the ideas.

---

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [October 3, 2017, 9:01am UTC](https://meta.discourse.org/t/unread-indicators/45150/13 "2017-10-03T09:01:33Z")

</div>

I just upgraded to v1.9.0.beta11+59 (from beta 8? - not sure how I can tell after the upgrade) and my [css customisation above](https://meta.discourse.org/t/unread-indicators/45150/2) which makes unread topic titles bold no longer worked properly.

All topic titles were bold whether visited or not.

Instead I now use this:

```css
/* Bold topic titles when unread posts */
.topic-list-item a.title:not(.badge-notification) {
    font-weight: bold;
}
.topic-list-item.visited a.title:not(.badge-notification) {
    font-weight: normal;
}

```

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:44pm UTC](https://meta.discourse.org/t/unread-indicators/45150/14 "2024-06-08T12:44:06Z")

</div>

This topic was automatically closed after 2927 days. New replies are no longer allowed.
