# Development

**URL:** https://meta.discourse.org/c/dev/7.md?page=13

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 14

---

## [Trouble with renderInOutlet](https://meta.discourse.org/t/trouble-with-renderinoutlet/359690)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 6\
**Last updated:** [March 31, 2025, 7:07pm UTC](https://meta.discourse.org/t/trouble-with-renderinoutlet/359690 "2025-03-31T19:07:30Z")

</div>

I must be doing something very stupid, but I’m incapable of seeing it. I’m hoping that posting here will make me see it so I can delete this before anyone else knows how stupid I am. “HELLO WORLD” should be rendering on…

---

## ["There are no more topics" text, how to move it?](https://meta.discourse.org/t/there-are-no-more-topics-text-how-to-move-it/359430)

<div class="topic-metadata">

**Author:** [@Olle11](https://meta.discourse.org/u/Olle11)\
**Replies:** 1\
**Last updated:** [March 29, 2025, 12:45pm UTC](https://meta.discourse.org/t/there-are-no-more-topics-text-how-to-move-it/359430 "2025-03-29T12:45:33Z")

</div>

Hi everyone, hope you are all having a good day! On my site I need to move “There are no more topics.” text in the bottom of every page a little bit to the right. Anyone knows how to do this? Have a good weekend Olle

---

## [Discourse toolkit to render forms (FormKit) issues](https://meta.discourse.org/t/discourse-toolkit-to-render-forms-formkit-issues/327543)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 5\
**Last updated:** [March 29, 2025, 9:35am UTC](https://meta.discourse.org/t/discourse-toolkit-to-render-forms-formkit-issues/327543 "2025-03-29T09:35:25Z")

</div>

I’m not sure where this should go. It would make sense to reply to the guide that I"m responding to, but I think I’m not supposed to do that. If this is what I’m supposed to do then it would be cool if there were a reply…

---

## [Show total topics count in sidebar](https://meta.discourse.org/t/show-total-topics-count-in-sidebar/359364)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 0\
**Last updated:** [March 29, 2025, 12:24am UTC](https://meta.discourse.org/t/show-total-topics-count-in-sidebar/359364 "2025-03-29T00:24:21Z")

</div>

Is there a way to display the total number of topics in that category next to the categories listed in the sidebar? I noticed there aren’t any plugin outlets there, that’s why I’m asking. (And the fact that I don’t know…

---

## [Shareable linting config in CI, is something missing in checks?](https://meta.discourse.org/t/shareable-linting-config-in-ci-is-something-missing-in-checks/359088)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 1\
**Last updated:** [March 27, 2025, 7:45am UTC](https://meta.discourse.org/t/shareable-linting-config-in-ci-is-something-missing-in-checks/359088 "2025-03-27T07:45:59Z")

</div>

This is passing in a PR, I would expect it to fail a lint?: Are gjs templates in connector files being missed? Pretty (ahem) sure I’m using a current config:

---

## [Theme components are not overriding theme CSS any more?](https://meta.discourse.org/t/theme-components-are-not-overriding-theme-css-any-more/358989)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 5:23pm UTC](https://meta.discourse.org/t/theme-components-are-not-overriding-theme-css-any-more/358989 "2025-03-26T17:23:09Z")

</div>

Somehow the behavior has changed in how Discourse handles CSS in theme components. EDIT I did not understand what I was doing. I’m leaving this topic (in Development instead of Contribute \> Bug) for future reference. Ve…

---

## [How are avatar sizes supposed to render?](https://meta.discourse.org/t/how-are-avatar-sizes-supposed-to-render/358626)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 0\
**Last updated:** [March 24, 2025, 4:37pm UTC](https://meta.discourse.org/t/how-are-avatar-sizes-supposed-to-render/358626 "2025-03-24T16:37:28Z")

</div>

Trying to understand the defaults here.. on the admin backend, these are the default values: The Avatar component seems to accept six named sizes, but they currently render in a different scale: Name Size tin…

---

## [Having issues running tests on my WSL2 system](https://meta.discourse.org/t/having-issues-running-tests-on-my-wsl2-system/358275)

<div class="topic-metadata">

**Author:** [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Replies:** 5\
**Last updated:** [March 22, 2025, 3:37am UTC](https://meta.discourse.org/t/having-issues-running-tests-on-my-wsl2-system/358275 "2025-03-22T03:37:56Z")

</div>

Do you mean running something like this fails locally for you? ~/work/discourse \[main\] $ rspec spec/system/user\_activity\_bookmarks\_spec.rb Randomized with seed 38950 ... Finished in 7.71 seconds (files took 2.5 second…

---

## [How to run code after page has rendered](https://meta.discourse.org/t/how-to-run-code-after-page-has-rendered/358393)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [March 21, 2025, 10:46pm UTC](https://meta.discourse.org/t/how-to-run-code-after-page-has-rendered/358393 "2025-03-21T22:46:04Z")

</div>

I want to remove the parenthesis from span.category-topics--posts-count (rendered by GitHub - discourse/discourse-right-sidebar-blocks · GitHub). I’m trying this api.onPageChange() call, but it’s not getting any countSpa…

---

## [Getting all posts in a topic](https://meta.discourse.org/t/getting-all-posts-in-a-topic/358385)

<div class="topic-metadata">

**Author:** [@tyler.lamparter](https://meta.discourse.org/u/tyler.lamparter)\
**Replies:** 3\
**Last updated:** [March 21, 2025, 8:26pm UTC](https://meta.discourse.org/t/getting-all-posts-in-a-topic/358385 "2025-03-21T20:26:09Z")

</div>

In case anyone else is wondering, the get a single topic API supports pagination by using a page parameter. It starts at 1 and returns a 404 when there are no more pages. I needed this to get all posts for a given topic,…

---

## [Add Text In Header Beside Logo](https://meta.discourse.org/t/add-text-in-header-beside-logo/162670)

<div class="topic-metadata">

**Author:** [@dfuentes](https://meta.discourse.org/u/dfuentes)\
**Replies:** 9\
**Last updated:** [March 20, 2025, 9:04pm UTC](https://meta.discourse.org/t/add-text-in-header-beside-logo/162670 "2025-03-20T21:04:24Z")

</div>

I’m new to discourse, so I apologize if this is something that is easily done, however, I can’t seem to find where I can define the text that I want to appear beside our logo in the header of our discourse page. Within …

---

## [Is there any way to get the admin logs as an RSS feed?](https://meta.discourse.org/t/is-there-any-way-to-get-the-admin-logs-as-an-rss-feed/358042)

<div class="topic-metadata">

**Author:** [@one1](https://meta.discourse.org/u/one1)\
**Replies:** 7\
**Last updated:** [March 20, 2025, 12:00am UTC](https://meta.discourse.org/t/is-there-any-way-to-get-the-admin-logs-as-an-rss-feed/358042 "2025-03-20T00:00:05Z")

</div>

I realize that there would have to be security measures. I’d rather get the logs in my rss reader as they happen rather than having to check on the site. Or is there some other, better solution?

---

## [Another way to track nested data structures](https://meta.discourse.org/t/another-way-to-track-nested-data-structures/357978)

<div class="topic-metadata">

**Author:** [@bitmage](https://meta.discourse.org/u/bitmage)\
**Replies:** 2\
**Last updated:** [March 19, 2025, 3:33pm UTC](https://meta.discourse.org/t/another-way-to-track-nested-data-structures/357978 "2025-03-19T15:33:42Z")

</div>

@tracked state of an array or object within a glimmer component does not trigger updates when you change a member of the array/object. This topic talks about some options to get your view to properly update. I wanted t…

---

## [How can I edit sidebar links that are added with api.addCommunitySectionLink?](https://meta.discourse.org/t/how-can-i-edit-sidebar-links-that-are-added-with-api-addcommunitysectionlink/357629)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 4\
**Last updated:** [March 18, 2025, 4:43pm UTC](https://meta.discourse.org/t/how-can-i-edit-sidebar-links-that-are-added-with-api-addcommunitysectionlink/357629 "2025-03-18T16:43:47Z")

</div>

I’d like to add a new sidebar link with a component. I’m using this code: api.addCommunitySectionLink({ name: "custom-homepage", route: "discovery.custom", title: "Home", text: "Hom…

---

## ["Component was authored using gjs" - but it is not](https://meta.discourse.org/t/component-was-authored-using-gjs-but-it-is-not/357736)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**Replies:** 7\
**Last updated:** [March 18, 2025, 4:23pm UTC](https://meta.discourse.org/t/component-was-authored-using-gjs-but-it-is-not/357736 "2025-03-18T16:23:15Z")

</div>

On stable, 3.4.1. I have this in my plugin /assets/javascripts/discourse/controllers/user-feedback.js and then /assets/javascripts/discourse/templates/user-feedback.hbs contains {{feedback-stream stream=this.model}} …

---

## [Discourse-ip-alert: Need help with created plugin](https://meta.discourse.org/t/discourse-ip-alert-need-help-with-created-plugin/357738)

<div class="topic-metadata">

**Author:** [@OrkoGrayskull](https://meta.discourse.org/u/OrkoGrayskull)\
**Replies:** 0\
**Last updated:** [March 18, 2025, 12:31pm UTC](https://meta.discourse.org/t/discourse-ip-alert-need-help-with-created-plugin/357738 "2025-03-18T12:31:22Z")

</div>

This plugin is intended to send an email alert to all administrators whenever a user logs in from a suspicious IP address. It does so by extracting the IP from the latest authentication token (using the client\_ip field),…

---

## [Discourse Plugin API Changes: Using api.registerValueTransformer for addPostMenuButton and component:topic-list](https://meta.discourse.org/t/discourse-plugin-api-changes-using-api-registervaluetransformer-for-addpostmenubutton-and-component-topic-list/357240)

<div class="topic-metadata">

**Author:** [@omppatil](https://meta.discourse.org/u/omppatil)\
**Replies:** 3\
**Last updated:** [March 18, 2025, 6:16am UTC](https://meta.discourse.org/t/discourse-plugin-api-changes-using-api-registervaluetransformer-for-addpostmenubutton-and-component-topic-list/357240 "2025-03-18T06:16:02Z")

</div>

Hi, I’m using version 3.2.0.beta4-dev for local development and plugin API version 0.8.7 for plugin development. However, due to recent changes in Discourse, the addPostMenuButton and component:topic-list functions have …

---

## [Plugin No Longer Loading or Visible](https://meta.discourse.org/t/plugin-no-longer-loading-or-visible/357679)

<div class="topic-metadata">

**Author:** [@bitmage](https://meta.discourse.org/u/bitmage)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 1:35am UTC](https://meta.discourse.org/t/plugin-no-longer-loading-or-visible/357679 "2025-03-18T01:35:34Z")

</div>

My plugin, although in the plugins directory of my Discourse instance, is no longer loaded or displaying in the Admin interface. I’m using Docker in my Discourse development environment. I previously had problems with …

---

## [How to create a plugin with backend API calls to populate composer while drafting?](https://meta.discourse.org/t/how-to-create-a-plugin-with-backend-api-calls-to-populate-composer-while-drafting/356970)

<div class="topic-metadata">

**Author:** [@fabkosta](https://meta.discourse.org/u/fabkosta)\
**Replies:** 9\
**Last updated:** [March 14, 2025, 12:15pm UTC](https://meta.discourse.org/t/how-to-create-a-plugin-with-backend-api-calls-to-populate-composer-while-drafting/356970 "2025-03-14T12:15:09Z")

</div>

I am trying to create a plugin that achieves the following: Next to composer-fields there is a new button “search”. When clicking the button, then an overlay is popping up with a search form. The search form allows the…

---

## [Theme lint fails because -- Could not find "@discourse/lint-configs/stylelint"](https://meta.discourse.org/t/theme-lint-fails-because-could-not-find-discourse-lint-configs-stylelint/357195)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 4\
**Last updated:** [March 14, 2025, 1:03am UTC](https://meta.discourse.org/t/theme-lint-fails-because-could-not-find-discourse-lint-configs-stylelint/357195 "2025-03-14T01:03:11Z")

</div>

I’ve got a theme component that started from a skelton a few days ago. It seemed to pass the tests when I ran it locally, but at github it failed. So I ran mass-pr to update the theme stuff and now it’s failing and it lo…

---

## [WYSIWYG Editor Plugin](https://meta.discourse.org/t/wysiwyg-editor-plugin/68246)

<div class="topic-metadata">

**Author:** [@quangbuule](https://meta.discourse.org/u/quangbuule)\
**Replies:** 18\
**Last updated:** [March 12, 2025, 11:39pm UTC](https://meta.discourse.org/t/wysiwyg-editor-plugin/68246 "2025-03-12T23:39:52Z")

</div>

This is work in progress, please give me some thought. :smile: :muscle:

---

## [Undeclared attribute type for enum 'chat\_send\_shortcut' in UserOption](https://meta.discourse.org/t/undeclared-attribute-type-for-enum-chat-send-shortcut-in-useroption/352308)

<div class="topic-metadata">

**Author:** [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 6:49pm UTC](https://meta.discourse.org/t/undeclared-attribute-type-for-enum-chat-send-shortcut-in-useroption/352308 "2025-03-11T18:49:11Z")

</div>

I was trying to run rspec on plugins, and this is what I got: It seems to be introduced here: https://github.com/discourse/discourse/commit/2cff8c82e36e584346040200a2bcc3192bb3b9ad#diff-9b2a0802874dc8d1bbba919910474…

---

## [Does discourse have chat notification webhook?](https://meta.discourse.org/t/does-discourse-have-chat-notification-webhook/260293)

<div class="topic-metadata">

**Author:** [@teukuridho](https://meta.discourse.org/u/teukuridho)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 8:00am UTC](https://meta.discourse.org/t/does-discourse-have-chat-notification-webhook/260293 "2025-03-11T08:00:44Z")

</div>

Does discourse have the realtime chat notification webhook? Like when a user sends a message to another user or a channel. I have used the webhook in API but it doesn’t have a chat notification event option.

---

## [Ruby 2.6.1 will speed Discourse up!](https://meta.discourse.org/t/ruby-2-6-1-will-speed-discourse-up/108281)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 0\
**Last updated:** [February 4, 2019, 3:41am UTC](https://meta.discourse.org/t/ruby-2-6-1-will-speed-discourse-up/108281 "2019-02-04T03:41:40Z")

</div>

I have been investigating general performance today and was very pleasantly surprised to see the new version of ruby (2.6.1) both reduces memory usage AND speeds up Discourse. In particular, looking at Discourse bench: …

---

## [Introducing a 'js' tab for local themes](https://meta.discourse.org/t/introducing-a-js-tab-for-local-themes/353577)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**Replies:** 0\
**Last updated:** [February 21, 2025, 10:47am UTC](https://meta.discourse.org/t/introducing-a-js-tab-for-local-themes/353577 "2025-02-21T10:47:15Z")

</div>

In the latest version of Discourse, we’ve introduced a new “JS” tab to the admin theme editor: Behind-the-scenes, this corresponds to a file named javascripts/discourse/api-initializers/theme-initializer.gjs. Our re…

---

## [Get glimmer component access to stuff from the parent](https://meta.discourse.org/t/get-glimmer-component-access-to-stuff-from-the-parent/316898)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 11\
**Last updated:** [March 10, 2025, 3:59pm UTC](https://meta.discourse.org/t/get-glimmer-component-access-to-stuff-from-the-parent/316898 "2025-03-10T15:59:07Z")

</div>

I’m adding a component to before-topic-list-body. I need for it to get some data from either the category or the topic (and I’ll add the data I want to which ever serializer makes more sense). I’ve spent a couple hours …

---

## [Require\_accept\_tos\_for\_new\_users options](https://meta.discourse.org/t/require-accept-tos-for-new-users-options/356468)

<div class="topic-metadata">

**Author:** [@JINFU-555](https://meta.discourse.org/u/JINFU-555)\
**Replies:** 3\
**Last updated:** [March 9, 2025, 9:33am UTC](https://meta.discourse.org/t/require-accept-tos-for-new-users-options/356468 "2025-03-09T09:33:02Z")

</div>

Why doesn’t the 3.5.0.beta1-dev version have a tos page? https://your-discourse-site.com/tos page is empty and there is no option to open terms of service.

---

## [How to change moderator icon](https://meta.discourse.org/t/how-to-change-moderator-icon/356417)

<div class="topic-metadata">

**Author:** [@KeepBotting](https://meta.discourse.org/u/KeepBotting)\
**Replies:** 5\
**Last updated:** [March 8, 2025, 7:36pm UTC](https://meta.discourse.org/t/how-to-change-moderator-icon/356417 "2025-03-08T19:36:25Z")

</div>

Hey, I read through this: Replace Discourse's default SVG icons with custom icons in a theme Created a spritesheet (I think I have done this correctly): \<?xml version="1.0" encoding="UTF-8"?\> \<svg xmlns="http://www.w3.…

---

## [Discourse Archive Tools](https://meta.discourse.org/t/discourse-archive-tools/355747)

<div class="topic-metadata">

**Author:** [@c0mmando](https://meta.discourse.org/u/c0mmando)\
**Replies:** 1\
**Last updated:** [March 7, 2025, 2:23am UTC](https://meta.discourse.org/t/discourse-archive-tools/355747 "2025-03-07T02:23:15Z")

</div>

I needed a method to archive my Discourse forum on GitHub, but I found that many of the available scripts were outdated or broken. So, I decided to create some simple scripts that meet my requirements. While they’re not …

---

## [Understanding DB Pooling for Sidekiq Workers](https://meta.discourse.org/t/understanding-db-pooling-for-sidekiq-workers/309891)

<div class="topic-metadata">

**Author:** [@Mudit\_Maheshwari](https://meta.discourse.org/u/Mudit_Maheshwari)\
**Replies:** 6\
**Last updated:** [March 6, 2025, 11:07pm UTC](https://meta.discourse.org/t/understanding-db-pooling-for-sidekiq-workers/309891 "2025-03-06T23:07:40Z")

</div>

Can some please provide clarity on Sidekiq worker database pooling? Currently, we’ve set DISCOURSE\_DB\_POOL to 15, with 2 Sidekiq workers each having a concurrency of 10. After reading the Sidekiq documentation, it appea…

[Previous page](https://meta.discourse.org/c/dev/7.md?page=12)

[Next page](https://meta.discourse.org/c/dev/7.md?page=14)
