# Convert to topic icon missing

**URL:** https://meta.discourse.org/t/convert-to-topic-icon-missing/334309
**Category:** UX
**Tags:** completed
**Created:** [November 3, 2024, 9:50pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309 "2024-11-03T21:50:38Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [November 3, 2024, 9:50pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309/1 "2024-11-03T21:50:39Z")

</div>

When you make a PM into a topic the 💬 icon seems to be missing as you can see in the image below.

![image](https://global.discourse-cdn.com/meta/original/4X/8/0/4/804b277161bbb14d219dd468f688a2baf535e838.png)  
This is in the topic 🔧 admin actions in a PM

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/8/1/a8158a13db5910f6aac0ad3b3f689e5571a5e296.png)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [November 3, 2024, 9:57pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309/2 "2024-11-03T21:57:09Z")

</div>

oh it’s there all right, it’s just not showing because of some shenanigans, possibly fontawesome 6 not being awseome… 🤔 lol

 ![Screenshot 2024-11-03 at 1.55.38 PM](https://global.discourse-cdn.com/meta/original/4X/c/4/d/c4de5ff9e1e93dbe3ff370acfb1966081c9f1e74.png)

Thanks for the heads up!

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [November 4, 2024, 2:46pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309/4 "2024-11-04T14:46:51Z")

</div>



---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [November 4, 2024, 2:47pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309/5 "2024-11-04T14:47:01Z")

</div>



---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [November 4, 2024, 2:48pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309/6 "2024-11-04T14:48:04Z")

</div>

I just converted this to a PM and back to a topic and it seems the icon appears correctly? 🤔

> [@Lilly](#):
>
> ![Screenshot 2024-11-03 at 1.55.38 PM](https://global.discourse-cdn.com/meta/original/4X/c/4/d/c4de5ff9e1e93dbe3ff370acfb1966081c9f1e74.png)

it looks like this is expecting a different icon for some reason…

edit: looking at the code for small actions, it appears it falls back to “exclamation” when a matching icon can’t be found… but the `public_topic` does have an icon defined… the plot thickens

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [November 4, 2024, 6:42pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309/7 "2024-11-04T18:42:39Z")

</div>

> [@awesomerobot](#):
>
> looking at the code for small actions, it appears it falls back to “exclamation” when a matching icon can’t be found…

I’m not sure that’s ever worked on our forum, we have many silly posts that were made into actions as a joke, and none of those have icons visible.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [December 29, 2024, 1:53pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309/8 "2024-12-29T13:53:03Z")

</div>

> [@awesomerobot](#):
>
> I just converted this to a PM and back to a topic and it seems the icon appears correctly? 🤔

That happens because Meta is a public site. The action code is different in that case.

> <https://github.com/discourse/discourse/blob/e9d4afec534349e9934cbd608f57ed010a61fd79/app/serializers/post_serializer.rb#L477-L480>

There is different text when `login required` is enabled.

> <https://github.com/discourse/discourse/blob/e9d4afec534349e9934cbd608f57ed010a61fd79/config/locales/client.en.yml#L171-L173>

I think the problem is that while there is an icon for “public\_topic”, there is no icon defined for “open\_topic”.

> <https://github.com/discourse/discourse/blob/e9d4afec534349e9934cbd608f57ed010a61fd79/app/assets/javascripts/discourse/app/widgets/post-small-action.js#L54-L77>

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 6, 2025, 6:33pm UTC](https://meta.discourse.org/t/convert-to-topic-icon-missing/334309/9 "2025-01-06T18:33:46Z")

</div>

Ah that explains it! thanks for figuring that out

This PR will add the icon:

[https://github.com/discourse/discourse/pull/30586](https://github.com/discourse/discourse/pull/30586)
