# "Pinning" the Topic Summary window

**URL:** https://meta.discourse.org/t/pinning-the-topic-summary-window/339685
**Category:** UX
**Tags:** ai, fixed
**Created:** [December 1, 2024, 9:05pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685 "2024-12-01T21:05:23Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [December 1, 2024, 9:05pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/1 "2024-12-01T21:05:23Z")

</div>

When the Topic Summary contains links to specific posts, it’s helpful to click on the links for more detail. On [https://meta.discourse.org](https://meta.discourse.org), when you click, the summary window remains open, which is great. But on my site and [https://discuss.ai.google.dev](https://discuss.ai.google.dev), clicking on a link dismisses the summary window, which is cumbersome. What’s the secret to make it stay open?

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [December 1, 2024, 10:34pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/2 "2024-12-01T22:34:06Z")

</div>

Can you explain what you mean by the topic summary window? I assumed you mean the modal that pops up when you click the summarise button, but on your site that is moving as expected.

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/2/0/b20410701fbd6355f145ae621555ea5e5989769a.png)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 1, 2024, 10:35pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/3 "2024-12-01T22:35:15Z")

</div>

We had a bug where it would close on click if the post was on another “page”, but I believe we fixed that. Did you try updating your site ?

---

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [December 1, 2024, 11:12pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/4 "2024-12-01T23:12:22Z")

</div>

> [@HAWK](#):
>
> Can you explain what you mean by the topic summary window? I assumed you mean the modal that pops up when you click the summarise button, but on your site that is moving as expected.

I’ll use your screenshot as an example.

On meta, if I click on Monalika’s comment, it would navigate to that comment, and the “Topic summary” modal would stay open, so I could then click on Shubham’s comment, then afirstenberg’s, etc., so I could easily browse the most important posts.

On my site, and at [https://discuss.ai.google.dev/](https://discuss.ai.google.dev/), if I click on Monalika’s comment, it would navigate to that comment, and the “Topic summary” modal would close.

If you can’t reproduce that, it may be related to a lot of errors in my console- 429 too many requests, related to rsvp.js and getting user badges. They happen when I click the links. Here are just the first few:

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/d/5/bd5f62d37390be0b306c8b6560a9d10f57683fc7.png)

> [@Falco](#):
>
> Did you try updating your site ?

Yes, I did that today.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [December 2, 2024, 12:57am UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/5 "2024-12-02T00:57:23Z")

</div>

Ah right – I thought you were referring to the Google site, not another one. What version are you running?

---

<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: [December 2, 2024, 1:28am UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/6 "2024-12-02T01:28:20Z")

</div>

Oh I see what this is, this happens on long topics.

If the “section” of the topic is not currently loaded then we shut the summary down on click.

Repro is:

1. Have a topic with 30 posts
2. Go to post 30 direct from home page
3. Show summary
4. Click on a link that goes to post #1
5. Summary closes

Not 100% sure how to sort this out… maybe @keegan has some ideas.

---

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [December 2, 2024, 12:17pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/7 "2024-12-02T12:17:15Z")

</div>

Does that also explain the 429 errors getting the user badges, or is that a separate issue?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 2, 2024, 3:15pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/8 "2024-12-02T15:15:12Z")

</div>

> [@markschmucker](#):
>
> If you can’t reproduce that, it may be related to a lot of errors in my console- 429 too many requests, related to rsvp.js and getting user badges. They happen when I click the links. Here are just the first few:

That means you are using the _cursed_ theme component “Post Badges”.

> [@Topic history not loading correctly after migration](https://meta.discourse.org/t/topic-history-not-loading-correctly-after-migration/254003/19):
>
> It’s so much easier with the URL! Your problem is that you are using the theme-component [Post Badges](https://meta.discourse.org/t/post-badges/114722). It’s awful for performance, so please remove it ASAP. Don’t forget to re-enable all you disabled during this journey and thanks for persisting.

@david recently changed it to make it perform well, but you need to update Discourse to latest to get it.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 2, 2024, 3:18pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/9 "2024-12-02T15:18:35Z")

</div>

> [@sam](#):
>
> If the “section” of the topic is not currently loaded then we shut the summary down on click.

Yeah, this is a regression of the new design. We reported it internally back in August, but looks like no one was assigned. Will prioritize it.

---

<div class="post-metadata">

### Author: ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)
#### Post date: [December 3, 2024, 11:19pm UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/10 "2024-12-03T23:19:13Z")

</div>

This has now been resolved by @awesomerobot 🎉

[https://github.com/discourse/discourse-ai/pull/992](https://github.com/discourse/discourse-ai/pull/992)

Testing on [this topic](https://meta.discourse.org/t/printer-friendly-css/30899/23) shows that it works

---

<div class="post-metadata">

### Author: ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)
#### Post date: [December 7, 2024, 12:19am UTC](https://meta.discourse.org/t/pinning-the-topic-summary-window/339685/11 "2024-12-07T00:19:52Z")

</div>

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