# Dismiss (new topics) button missing on categories (when new filter selected)

**URL:** https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939
**Category:** UX
**Created:** [May 9, 2016, 3:10pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939 "2016-05-09T15:10:24Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![MSealey](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@MSealey](https://meta.discourse.org/u/MSealey)
#### Post date: [May 9, 2016, 3:10pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/1 "2016-05-09T15:10:24Z")

</div>

Using Discourse at these two sites:

> **[OmniFocus](https://discourse.omnigroup.com/c/omnifocus/14)**
>
> Talk with other customers about how to accomplish more every day with OmniFocus. (For tech support, email omnifocus@omnigroup.com.)

> **[RapidWeaver Classic](https://forums.realmacsoftware.com/c/rapidweaver/6)**
>
> RapidWeaver Classic is the original easy to use website builder for Mac.

Until a recent upgrade, there used to be a small, rectangular mid-grey button at bottom right of the page displaying New topics (from the ‘New’ tab at top) with the label ‘Dismiss’ or ‘Dismiss All’.

It seems to have gone in this version.

It was particularly useful when not every thread was relevant or needed to be attended to.

Now it’s necessary to click into each thread - actually twice - for them each no longer to show up in one’s ‘New’ list.

Good luck with fixing this - and thanks!

---

<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: [May 9, 2016, 7:56pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/2 "2016-05-09T19:56:08Z")

</div>

We used to suppress this until you had at least {x} things visible. How many things were visible in the list in the above two examples?

I believe we recently changed it so that the Dismiss button is always visible, even if there are zero or one items visible in the list.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [May 9, 2016, 8:39pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/3 "2016-05-09T20:39:51Z")

</div>

To be clear, he’s referring to the fact that there’s no Dismiss button when you drill down into the category-level.

Top-level, dismiss button is available:

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

Category-level, no dismiss button:  
**Edit:** Whoops, I accidentally screenshotted Latest instead of New here, but take my word for it, there’s no Dismiss button.

 ![](https://global.discourse-cdn.com/meta/original/3X/3/1/3141861080cc03c09a218e61c074c1eb058bab10.png)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [May 9, 2016, 8:45pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/4 "2016-05-09T20:45:15Z")

</div>

I believe that is intentional though, as New, unlike Unread, is a setting on the user, not on a category. So resetting it with a category filter will filter topics/posts you are not viewing, because they are in a different category and your category view is hiding them from you.

Unread on the other hand is on a topic level and can exist on the category filter page without any repurcussions.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [May 9, 2016, 8:51pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/5 "2016-05-09T20:51:08Z")

</div>

Huh? I’m not following your logic here. I can dismiss my New topics spanning **all** categories, so why shouldn’t I be able to do the same for just one specific category?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [May 9, 2016, 8:54pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/6 "2016-05-09T20:54:08Z")

</div>

> [@erlend\_sh](#):
>
> I can dismiss my New topics spanning all categories, so why shouldn’t I be able to do the same for just one specific category?

Becuase the indicator is on the user level.

If I’m viewing All Categories, then setting “unread date” to “right now” on the user table for my Username makes sense, as I’m seeing what I’m dismissing.

But if I’m on the Bugs category and I’m seeing 2 out of 36 New Topics, setting that indicator will wipe out all 36 topics even though I’m currenting looking at 2 of them. As it will update a timestamp on my entry in the Users table, which applies outside of all categories and topics.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [May 9, 2016, 8:56pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/7 "2016-05-09T20:56:19Z")

</div>

Also, suggest reading this (as I looked into this in the past and couldn’t implement it due to what I’m trying to describe here)  
[https://meta.discourse.org/t/dismiss-buttons-missing-on-category-new-unread/19985/9?u=cpradio](https://meta.discourse.org/t/dismiss-buttons-missing-on-category-new-unread/19985/9)

---

<div class="post-metadata">

### Author: ![MSealey](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@MSealey](https://meta.discourse.org/u/MSealey)
#### Post date: [May 9, 2016, 9:06pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/8 "2016-05-09T21:06:56Z")

</div>

Thanks for your replies!

It makes no difference whether there is/are 1 or 10 unread threads.

It makes no difference whether I am in ‘All’ or a subcategory.

Behaviour has also changed in that - in the absence of Dismiss - I now have to go into the thread/topic and click at least twice on the (often single) post before it stops contributing the the New count.

🙂

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [May 9, 2016, 9:13pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/9 "2016-05-09T21:13:31Z")

</div>

It works for me

Not shown on category filter

 ![](https://global.discourse-cdn.com/meta/original/3X/c/c/ccaaf51455903dad7203c924514d7a6de359f692.png)

Shown on All Categories

 ![](https://global.discourse-cdn.com/meta/original/3X/6/0/6005e5d67733216358e5ac4f78f0ca3bc55f19b5.png)

---

<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: [May 9, 2016, 9:51pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/10 "2016-05-09T21:51:41Z")

</div>

Oh wait I misspoke. Apologies. I was referring to the Dismiss button on the **user notifications**.

Dismissing new topics:

- may not be available at the category level
- is only shown when there are more than (x) topics to dismiss

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [May 9, 2016, 10:09pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/11 "2016-05-09T22:09:58Z")

</div>

> [@codinghorror](#):
>
> is only shown when there are more than (x) topics to dismiss

Only for the top button (which requires 30), bottom button simply requires at least 1 new topic for it to be shown.

> <https://github.com/discourse/discourse/blob/400c06104601dce684e1ffb3218bcbdfe9a68e6b/app/assets/javascripts/discourse/controllers/discovery/topics.js.es6#L90-L98>

---

<div class="post-metadata">

### Author: ![MSealey](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@MSealey](https://meta.discourse.org/u/MSealey)
#### Post date: [May 10, 2016, 12:51am UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/12 "2016-05-10T00:51:52Z")

</div>

Thanks - I get nothing of any kind, ever ☹

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [May 10, 2016, 10:17am UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/13 "2016-05-10T10:17:05Z")

</div>

Are there any CSS customizations or third party plugins on the site? Have you tried disabling those?

---

<div class="post-metadata">

### Author: ![MSealey](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@MSealey](https://meta.discourse.org/u/MSealey)
#### Post date: [May 10, 2016, 2:19pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/14 "2016-05-10T14:19:16Z")

</div>

Not so far as I know.

I am not the administrator. I get this on two browsers - one at work, one at home.

Your help appreciated!

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [May 10, 2016, 8:14pm UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/15 "2016-05-10T20:14:37Z")

</div>

No repro

 ![](https://global.discourse-cdn.com/meta/original/3X/3/1/3174d11856777f5c5067f0759cea5ff789b4dbed.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 16, 2019, 1:22am UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/16 "2019-09-16T01:22:34Z")

</div>

> [@codinghorror](#):
>
> may not be available at the category level

This did pop up here as well:

[https://forums.gearboxsoftware.com/t/new-forum-layout/3122504/8?u=sam.saffron](https://forums.gearboxsoftware.com/t/new-forum-layout/3122504/8?u=sam.saffron)

At the moment we don’t have any way of “dismissing” new when you are drilled in to a category. I think this can be important if you are working through a bunch of categories and simply want to “opt out” of a few of them.

Technically the only thing we can do is set `1` as last\_post\_seen on topic\_user for all the new topics in the category. It means these topics will not be tracked and you will simply have “opted out”.

User at gearbox was also asking for a 1 click dismiss of both new and unread.

---

<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: [September 16, 2019, 1:39am UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/17 "2019-09-16T01:39:17Z")

</div>

> [@sam](#):
>
> Technically the only thing we can do is set `1` as last\_post\_seen on topic\_user for all the new topics in the category.

It does not inappropriately give the user credit for actually _visiting_ these topics though?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 16, 2019, 1:51am UTC](https://meta.discourse.org/t/dismiss-new-topics-button-missing-on-categories-when-new-filter-selected/43939/18 "2019-09-16T01:51:06Z")

</div>

It is tricky business.

It would act similar to how dismiss unread works.

> <https://github.com/discourse/discourse/blob/7fa2ae912cd5a892a6b256984d23199ff530076e/lib/topics_bulk_action.rb#L71-L76>

This code “pretends” a user has `highest_seen_post_number` when in fact there is no record in the `post_timings` table.

When we ensure consistency here: [discourse/app/models/topic\_user.rb at 7fa2ae912cd5a892a6b256984d23199ff530076e · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/7fa2ae912cd5a892a6b256984d23199ff530076e/app/models/topic_user.rb#L454-L469) we only move the clock forward, never backwards.

The data in the `/u` route for directory does not draw from the `topic_users` table per: [discourse/app/models/directory\_item.rb at 7fa2ae912cd5a892a6b256984d23199ff530076e · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/7fa2ae912cd5a892a6b256984d23199ff530076e/app/models/directory_item.rb#L78-L117)

User stats also draws from `post_timings` [discourse/app/models/user\_stat.rb at 7fa2ae912cd5a892a6b256984d23199ff530076e · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/7fa2ae912cd5a892a6b256984d23199ff530076e/app/models/user_stat.rb#L112-L126)

There are many moving bits here, but from basic analysis this would be invisible in stats.
