# Previous/next topic

**URL:** https://meta.discourse.org/t/previous-next-topic/24884
**Category:** Feature
**Tags:** completed, keyboard-shortcuts
**Created:** [February 5, 2015, 9:21pm UTC](https://meta.discourse.org/t/previous-next-topic/24884 "2015-02-05T21:21:52Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![JSey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsey/32/3540_2.png) [@JSey](https://meta.discourse.org/u/JSey)
#### Post date: [February 5, 2015, 9:21pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/1 "2015-02-05T21:21:52Z")

</div>

I have a bit of an odd request: one of my team members would like to see a previous/next topic (sic!) buttons somewhere (and possibly, keyboard shortcuts, too). This partially comes from my attempts to create gallery-like topics (where it really makes sense, if you want to browse through the pictures), and from the fact that other forum software also has it (that’s the weaker argument, I know…).

I know that chances are small to include this in the main code, but if anyone could give me a little hint which data object I could access to create links from the HTML customize page, I’d be grateful!

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 5, 2015, 10:15pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/2 "2015-02-05T22:15:37Z")

</div>

I have had this request in my community too. People are looking for gmail next/previous functionality to go to the next message in the list.

---

<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: [February 5, 2015, 10:22pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/3 "2015-02-05T22:22:27Z")

</div>

Knowing that on a forum, the next message can change? I find it odd to want this behavior. As the next/prev message is not guaranteed to be in the same position when you were originally on the topic list… So you may be taken to a new topic, you may go to a different topic, click next and be back at the topic you started in…

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 5, 2015, 10:25pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/4 "2015-02-05T22:25:09Z")

</div>

Yeah, agreed. But the habitual workflow people have that I am trying to fit discourse into is about logging into discourse, reading and handling every single post one by one, then logging out and on to some other task. That’s what they want to be able to do.

Even if there is no “previous” button, to have a “read next new post” is something they look for and ask me about all the time.

---

<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: [February 5, 2015, 10:26pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/5 "2015-02-05T22:26:48Z")

</div>

I wonder how difficult this would be from a plugin perspective.

Read the topic-list.json, read the ID of the current topic the user is on, find that ID in the topic-list.json result, grab next item in the list to use for the Next button. Grab previous one for the Previous button…

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [February 5, 2015, 10:29pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/6 "2015-02-05T22:29:33Z")

</div>

I think this would make more sense to use this feature for posts that are currently considered ‘unread’ in the system. I would use that, greatly. Especially with a shortcut. It would make my reading flow easier so I don’t have to keep clicking back to the topic list to get another unread topic. Nor would I need to use NiftySplit to put all unread topics as new tabs in a new Chrome window.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [February 6, 2015, 12:18am UTC](https://meta.discourse.org/t/previous-next-topic/24884/7 "2015-02-06T00:18:28Z")

</div>

> [@purldator](#):
>
> I think this would make more sense to use this feature for posts that are currently considered ‘unread’ in the system. I would use that, greatly

1. Scroll down to Suggested Topics
2. Click the one on the top

---

<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: [February 6, 2015, 12:31am UTC](https://meta.discourse.org/t/previous-next-topic/24884/8 "2015-02-06T00:31:55Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/0/e/0e16be05777ddf9ccb52de07c28f4a292e1fca5e.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: [February 6, 2015, 12:57am UTC](https://meta.discourse.org/t/previous-next-topic/24884/9 "2015-02-06T00:57:02Z")

</div>

Also J ENTER → next topic.

My issue with this concept is that what does even next mean?

Visit latest topics → topic  
vs.  
Visit category → topic

Next becomes contextual which is a nightmare on a few levels.

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [February 6, 2015, 12:59am UTC](https://meta.discourse.org/t/previous-next-topic/24884/10 "2015-02-06T00:59:22Z")

</div>

If that suggested topic bug is fixed, then I’ll divert my eyes to that spot and see if it correlates with my current unread list.

---

<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: [February 6, 2015, 1:07am UTC](https://meta.discourse.org/t/previous-next-topic/24884/11 "2015-02-06T01:07:13Z")

</div>

> [@purldator](#):
>
> if it correlates with my current unread list.

How to you think an “unread list” should be ordered?  
Isn’t it more like an \_un\_ordered list?

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [February 6, 2015, 1:39am UTC](https://meta.discourse.org/t/previous-next-topic/24884/12 "2015-02-06T01:39:32Z")

</div>

Don’t know what you’re saying or implying. I have been opening my new/unread tabs in new windows and checking them against the suggested reading list below to make sure the suggested topic bug was fixed. When that bug was in effect, I kind of stopped using the suggested topics list and ignored it.

I do not understand the relationship you are expressing between an unordered topic list and a topic list which contains topics I have not entered into and considered unread by the system.

---

<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: [February 6, 2015, 4:45am UTC](https://meta.discourse.org/t/previous-next-topic/24884/13 "2015-02-06T04:45:50Z")

</div>

Ah, so you’re talking about what shows in Suggested Topics

AFAIK if you go to your Preferences and Mute every Category, and then only Watch the Topics you are interested in, only those will get the “unread” marker and none will ever be marked as “new”

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [February 6, 2015, 4:56am UTC](https://meta.discourse.org/t/previous-next-topic/24884/14 "2015-02-06T04:56:08Z")

</div>

I like that! I am going to try it and see how it goes to lower the level of ‘automated prompting’ I’m getting with new posts. Much appreciated.

(I made it a point to not use the word ‘noise’ in terms of describing new posts in this case (for me). None of it is ‘spam’, but too much feedback going on at once easily flusters me, which isn’t a problem with the software, it’s just me and I admit that setback for the sake of utmost clarity.)

EDIT: Too powerful and mutes too much. It erases any mentions of those muted categories (ergo their topics) in the ‘latest’ topic listing for everything I _track_, which I hope it wasn’t going to do. I just didn’t want to get ‘new’ notifications and be able to have a more fine-tuned list for ‘suggested topics’. It also only accounts for ‘watching’ and not ‘tracking’ which according to the user preferences cannot be auto-applied to a topic that I may enter or read for an extended period. Oh well.

---

<div class="post-metadata">

### Author: ![JSey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsey/32/3540_2.png) [@JSey](https://meta.discourse.org/u/JSey)
#### Post date: [February 6, 2015, 11:36am UTC](https://meta.discourse.org/t/previous-next-topic/24884/15 "2015-02-06T11:36:12Z")

</div>

Well - my main use case would involve prev/next in category:

 ![](https://global.discourse-cdn.com/meta/original/3X/3/0/3086782855a6922b5681f5323ab2f8db318c0997.jpg)

…but an additional “next unread” would be nice, too…

The suggested topics aren’t really helpful here - what I would need would be a way to (programmatically) determine the next topic in the current category. Would that be feasible (from a user script)?

---

<div class="post-metadata">

### Author: ![adopilot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adopilot/32/105040_2.png) [@adopilot](https://meta.discourse.org/u/adopilot)
#### Post date: [February 6, 2015, 4:13pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/16 "2015-02-06T16:13:08Z")

</div>

Good Old Bug tracker.  
We hope that DEV team will try to get more closer to this mature but great product

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

---

<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: [February 6, 2015, 7:50pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/17 "2015-02-06T19:50:34Z")

</div>

Something like this?

[Previous][1]

[Next][2]

`[1]: https://meta.discourse.org/t/previous/24883`  
`[2]: https://meta.discourse.org/t/next/24885`

---

<div class="post-metadata">

### Author: ![Kuro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuro/32/38491_2.png) [@Kuro](https://meta.discourse.org/u/Kuro)
#### Post date: [February 6, 2015, 8:44pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/18 "2015-02-06T20:44:19Z")

</div>

A PM I sent to a user breaks your Next-Link.  
I would hope nobody besides me and the reciepient can actually see it.

Filed Under: [Just letting you know before you are confused](#tag)

---

<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: [February 6, 2015, 8:56pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/19 "2015-02-06T20:56:07Z")

</div>

Go to “unread”, go to your first topic, press next … it does not go to next unread

BUG BUG BUG

---

<div class="post-metadata">

### Author: ![JSey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsey/32/3540_2.png) [@JSey](https://meta.discourse.org/u/JSey)
#### Post date: [February 6, 2015, 9:25pm UTC](https://meta.discourse.org/t/previous-next-topic/24884/20 "2015-02-06T21:25:22Z")

</div>

Uhm - the “next” link shows the error page, and “previous” jumps to another category. I was looking for an intra-category navigation - or through all unread posts that have accumulated while I was away…

[Next page](https://meta.discourse.org/t/previous-next-topic/24884.md?page=2)
