# Development

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

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

**Page:** 45

---

## [How could a CI workflow for unofficial plugins be implemented?](https://meta.discourse.org/t/how-could-a-ci-workflow-for-unofficial-plugins-be-implemented/271774)

<div class="topic-metadata">

**Author:** [@thoka](https://meta.discourse.org/u/thoka)\
**Replies:** 8\
**Last updated:** [July 16, 2023, 2:02pm UTC](https://meta.discourse.org/t/how-could-a-ci-workflow-for-unofficial-plugins-be-implemented/271774 "2023-07-16T14:02:59Z")

</div>

I invite you to share thoughts about possible CI workflows, which would run tests on community supplied unofficial plugins. Some communities depend heavily on plugins, without established maintenance: Since testing…

---

## [How would I target Unsolved topics with CSS?](https://meta.discourse.org/t/how-would-i-target-unsolved-topics-with-css/268370)

<div class="topic-metadata">

**Author:** [@dandv](https://meta.discourse.org/u/dandv)\
**Replies:** 5\
**Last updated:** [July 15, 2023, 5:04pm UTC](https://meta.discourse.org/t/how-would-i-target-unsolved-topics-with-css/268370 "2023-07-15T17:04:57Z")

</div>

What would be the CSS selector(s) to change the style of unsolved topics?

---

## [CSP error when using third-party library in plugin](https://meta.discourse.org/t/csp-error-when-using-third-party-library-in-plugin/271498)

<div class="topic-metadata">

**Author:** [@peter.be](https://meta.discourse.org/u/peter.be)\
**Replies:** 8\
**Last updated:** [July 15, 2023, 6:56am UTC](https://meta.discourse.org/t/csp-error-when-using-third-party-library-in-plugin/271498 "2023-07-15T06:56:34Z")

</div>

After many different tries and approaches, I managed to successfully load a third party library to use in my plugin. The library is located under public/javascripts/some-library.js. In my controller, I am able to succe…

---

## [Customising hostname sent in email links for app deeplinking](https://meta.discourse.org/t/customising-hostname-sent-in-email-links-for-app-deeplinking/271671)

<div class="topic-metadata">

**Author:** [@antin\_102](https://meta.discourse.org/u/antin_102)\
**Replies:** 1\
**Last updated:** [July 14, 2023, 6:32pm UTC](https://meta.discourse.org/t/customising-hostname-sent-in-email-links-for-app-deeplinking/271671 "2023-07-14T18:32:35Z")

</div>

Is it possible to alter the links sent via Discourse in emails without changing the email templates (base url) ? In our scenario, we have developed a mobile app which uses deeplinking so https\_example.com will open the …

---

## [Accessing the api from a component](https://meta.discourse.org/t/accessing-the-api-from-a-component/271311)

<div class="topic-metadata">

**Author:** [@pipkin](https://meta.discourse.org/u/pipkin)\
**Replies:** 1\
**Last updated:** [July 13, 2023, 7:26pm UTC](https://meta.discourse.org/t/accessing-the-api-from-a-component/271311 "2023-07-13T19:26:18Z")

</div>

I’m dabbling with Discourse themes but am not a web/Javascript developer. Looking at some third-party theme components I’ve got this question. In discourse-header-submenus/javascripts/discourse/connectors/above-site-hea…

---

## [Should I load third-party libraries from vendor or cdn?](https://meta.discourse.org/t/should-i-load-third-party-libraries-from-vendor-or-cdn/205357)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**Replies:** 4\
**Last updated:** [July 12, 2023, 11:00pm UTC](https://meta.discourse.org/t/should-i-load-third-party-libraries-from-vendor-or-cdn/205357 "2023-07-12T23:00:25Z")

</div>

I’ve seen plugins that download third-party libraries and load them as local files from /vendor and others that require the library via a CDN. Is one approach better than the other in terms of bandwidth/speed?

---

## [Chat plugin - \> Core](https://meta.discourse.org/t/chat-plugin-core/271437)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 1\
**Last updated:** [July 12, 2023, 3:19pm UTC](https://meta.discourse.org/t/chat-plugin-core/271437 "2023-07-12T15:19:45Z")

</div>

Is there a plan/standard roadmap for the chat plugin to fully merge into core from its current “included by default” plugin folder? Why am I asking this? Because I’d like to create front-end tests that assume chat from…

---

## [Remove the left text from the banner](https://meta.discourse.org/t/remove-the-left-text-from-the-banner/271430)

<div class="topic-metadata">

**Author:** [@thaidb](https://meta.discourse.org/u/thaidb)\
**Replies:** 7\
**Last updated:** [July 12, 2023, 3:06pm UTC](https://meta.discourse.org/t/remove-the-left-text-from-the-banner/271430 "2023-07-12T15:06:31Z")

</div>

Hello admin, Can we delete subtitle Banner and the Banner title can be display full column Title? Thank you!

---

## [Trying to use Tippy from a plugin](https://meta.discourse.org/t/trying-to-use-tippy-from-a-plugin/271343)

<div class="topic-metadata">

**Author:** [@alxndr](https://meta.discourse.org/u/alxndr)\
**Replies:** 0\
**Last updated:** [July 12, 2023, 4:44am UTC](https://meta.discourse.org/t/trying-to-use-tippy-from-a-plugin/271343 "2023-07-12T04:44:33Z")

</div>

It looks like Tippy is in Discourse core; can I use it from a plugin?

---

## [Conflicting declarations on two components: Full-width layout and header search](https://meta.discourse.org/t/conflicting-declarations-on-two-components-full-width-layout-and-header-search/269654)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 7\
**Last updated:** [July 11, 2023, 4:16pm UTC](https://meta.discourse.org/t/conflicting-declarations-on-two-components-full-width-layout-and-header-search/269654 "2023-07-11T16:16:29Z")

</div>

It seems both components re-arrange the .contents div in the header. The structure with the full-width layout: Structure with header-search: So I can’t use them together. But not sure where to best fix this?

---

## [Rollback post migrations](https://meta.discourse.org/t/rollback-post-migrations/271245)

<div class="topic-metadata">

**Author:** [@fabiendv](https://meta.discourse.org/u/fabiendv)\
**Replies:** 1\
**Last updated:** [July 11, 2023, 4:15pm UTC](https://meta.discourse.org/t/rollback-post-migrations/271245 "2023-07-11T16:15:30Z")

</div>

I recently implemented your post migration system, after having a look at your two configuration files post\_migration\_generator.rb and 000-post\_migration.rb. However, I have some concerns regarding the potential risks a…

---

## [A tour of how the Widget (Virtual DOM) code in Discourse works](https://meta.discourse.org/t/a-tour-of-how-the-widget-virtual-dom-code-in-discourse-works/40347)

<div class="topic-metadata">

**Author:** [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Replies:** 75\
**Last updated:** [July 10, 2023, 12:12pm UTC](https://meta.discourse.org/t/a-tour-of-how-the-widget-virtual-dom-code-in-discourse-works/40347 "2023-07-10T12:12:29Z")

</div>

This is out of date. See Widgets, the Widget API and their roadmap? The latest builds of Discourse are much faster at rendering topics thanks to our re-written post stream. I’ve written up our new plugin API but so far …

---

## [I created a bookmarklet to create the table of content for forum posts](https://meta.discourse.org/t/i-created-a-bookmarklet-to-create-the-table-of-content-for-forum-posts/270961)

<div class="topic-metadata">

**Author:** [@ShunS](https://meta.discourse.org/u/ShunS)\
**Replies:** 12\
**Last updated:** [July 10, 2023, 2:07am UTC](https://meta.discourse.org/t/i-created-a-bookmarklet-to-create-the-table-of-content-for-forum-posts/270961 "2023-07-10T02:07:43Z")

</div>

▶ Table of contents: I created a bookmarklet to generate a foldable table of contents (ToC) like the one shown above. I hope it helps avid community members who write long texts! Summary I sometimes write long topics/po…

---

## [How do I avoid rate limiting when importing a bunch of data?](https://meta.discourse.org/t/how-do-i-avoid-rate-limiting-when-importing-a-bunch-of-data/270449)

<div class="topic-metadata">

**Author:** [@Chris\_Dawson](https://meta.discourse.org/u/Chris_Dawson)\
**Replies:** 13\
**Last updated:** [July 6, 2023, 12:07am UTC](https://meta.discourse.org/t/how-do-i-avoid-rate-limiting-when-importing-a-bunch-of-data/270449 "2023-07-06T00:07:12Z")

</div>

I am trying to create a bunch of topics + posts automatically. However, I keep getting hit by rate limits. I first tried this using the API. My script quickly hit 429 errors. I tried adjusting the rate limits as the adm…

---

## [Category ID as body class](https://meta.discourse.org/t/category-id-as-body-class/270693)

<div class="topic-metadata">

**Author:** [@gormus](https://meta.discourse.org/u/gormus)\
**Replies:** 2\
**Last updated:** [July 5, 2023, 9:30pm UTC](https://meta.discourse.org/t/category-id-as-body-class/270693 "2023-07-05T21:30:50Z")

</div>

The category name is added to body class-list as in category category-CATEGORY-NAME. How could I add the category ID as a data attribute, similar to how sidebar category links have; i.e. data-category-id=5 How could I …

---

## [Customizing colors of header icons](https://meta.discourse.org/t/customizing-colors-of-header-icons/131604)

<div class="topic-metadata">

**Author:** [@alan.tan](https://meta.discourse.org/u/alan.tan)\
**Replies:** 3\
**Last updated:** [July 4, 2023, 9:12am UTC](https://meta.discourse.org/t/customizing-colors-of-header-icons/131604 "2023-07-04T09:12:46Z")

</div>

I was looking at customising the color of the icons in the header by setting header primary in the color scheme. However, it doesn’t seem to affect the icons even though the description of the field says Text and icons i…

---

## [Show a modal dialog after clicking toolbar button via a plugin](https://meta.discourse.org/t/show-a-modal-dialog-after-clicking-toolbar-button-via-a-plugin/269521)

<div class="topic-metadata">

**Author:** [@peter.be](https://meta.discourse.org/u/peter.be)\
**Replies:** 5\
**Last updated:** [July 3, 2023, 7:57pm UTC](https://meta.discourse.org/t/show-a-modal-dialog-after-clicking-toolbar-button-via-a-plugin/269521 "2023-07-03T19:57:13Z")

</div>

Hello everyone, I have a background in iOS (Swift) development, only surface level experience with Rails and Javascript. I’m trying to develop a plugin for discourse, and I’m having trouble showing a modal dialog after …

---

## [Radio Buttons inside Custom theme components](https://meta.discourse.org/t/radio-buttons-inside-custom-theme-components/269410)

<div class="topic-metadata">

**Author:** [@Rohit\_Khatri](https://meta.discourse.org/u/Rohit_Khatri)\
**Replies:** 1\
**Last updated:** [July 3, 2023, 2:11pm UTC](https://meta.discourse.org/t/radio-buttons-inside-custom-theme-components/269410 "2023-07-03T14:11:58Z")

</div>

Hi, I have installed discourse on my local and now I am trying to make a custom theme component with emberjs. Inside my hbs file there are radio buttons. Can someone please tell me how we can add RadioButtons with defau…

---

## [How would I best setup a twemoji icons component?](https://meta.discourse.org/t/how-would-i-best-setup-a-twemoji-icons-component/270181)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 3\
**Last updated:** [July 1, 2023, 4:12pm UTC](https://meta.discourse.org/t/how-would-i-best-setup-a-twemoji-icons-component/270181 "2023-07-01T16:12:21Z")

</div>

I’m working on a theme where I want to use emojis as icons in some places. The intended look is more or less like this: I’d like to wrap this up as a component, essentially just adding a Twemoji sprite-sheet. So emoj…

---

## [Simple example for plugin to change files?](https://meta.discourse.org/t/simple-example-for-plugin-to-change-files/270206)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**Replies:** 3\
**Last updated:** [July 1, 2023, 5:57am UTC](https://meta.discourse.org/t/simple-example-for-plugin-to-change-files/270206 "2023-07-01T05:57:24Z")

</div>

I’m trying to write my first very basic plugins on Discourse, after read a lot about Ruby and the benefits the language offers to us :slight\_smile: I want to add text to specific pages like badges, leaderboard (gamifica…

---

## [How to re-run fixtures on db from plugins?](https://meta.discourse.org/t/how-to-re-run-fixtures-on-db-from-plugins/269927)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**Replies:** 0\
**Last updated:** [June 13, 2023, 8:55pm UTC](https://meta.discourse.org/t/how-to-re-run-fixtures-on-db-from-plugins/269927 "2023-06-13T20:55:04Z")

</div>

I understand they add static content to database, please correct me if I’m wrong about it. For example, that’s the place where prompts stays on Discourse AI Plugin: https://github.com/discourse/discourse-ai/blob/main…

---

## [Discourses API get just the number of search results](https://meta.discourse.org/t/discourses-api-get-just-the-number-of-search-results/76548)

<div class="topic-metadata">

**Author:** [@gradam](https://meta.discourse.org/u/gradam)\
**Replies:** 8\
**Last updated:** [October 20, 2019, 5:30pm UTC](https://meta.discourse.org/t/discourses-api-get-just-the-number-of-search-results/76548 "2019-10-20T17:30:35Z")

</div>

Hi. I am trying to get just the number of search results from the API. I have the following query /search.json?q=query but i just need information about how many results there are. Not blurbs, cooked, etc. Is it possib…

---

## [Create multiple custom fields for a topic](https://meta.discourse.org/t/create-multiple-custom-fields-for-a-topic/233768)

<div class="topic-metadata">

**Author:** [@Joe\_Stanton](https://meta.discourse.org/u/Joe_Stanton)\
**Replies:** 2\
**Last updated:** [June 28, 2023, 7:37pm UTC](https://meta.discourse.org/t/create-multiple-custom-fields-for-a-topic/233768 "2023-06-28T19:37:04Z")

</div>

Hello, I was wondering if anyone has created multiple custom fields for a topic? I was able to use this plugin successfully to create one custom field: GitHub - pavilionedu/discourse-topic-custom-fields: Discourse plugi…

---

## [Plugin outlet question](https://meta.discourse.org/t/plugin-outlet-question/268507)

<div class="topic-metadata">

**Author:** [@th21](https://meta.discourse.org/u/th21)\
**Replies:** 3\
**Last updated:** [June 27, 2023, 8:25am UTC](https://meta.discourse.org/t/plugin-outlet-question/268507 "2023-06-27T08:25:47Z")

</div>

I wrote a theme component to add a banner to my site (above site header), it works, but when the chat panel shows up, 1) on the desktop, the chat header will be covered by the site header, 2) on the mobile, the chat inpu…

---

## [Using Python to programmatically create 100 groups](https://meta.discourse.org/t/using-python-to-programmatically-create-100-groups/269793)

<div class="topic-metadata">

**Author:** [@Seth\_Godin](https://meta.discourse.org/u/Seth_Godin)\
**Replies:** 2\
**Last updated:** [June 27, 2023, 8:12pm UTC](https://meta.discourse.org/t/using-python-to-programmatically-create-100-groups/269793 "2023-06-27T20:12:01Z")

</div>

I asked the GPT bot, and it probably came close, but I’m a novice and would love some smart insight before I break something. I have a list of 100 group names (can be comma delimited, or a file, or whatever) I want to …

---

## [How can I authorize latest.rss and new.rss for API access on a private forum?](https://meta.discourse.org/t/how-can-i-authorize-latest-rss-and-new-rss-for-api-access-on-a-private-forum/188480)

<div class="topic-metadata">

**Author:** [@JoeD](https://meta.discourse.org/u/JoeD)\
**Replies:** 1\
**Last updated:** [June 27, 2023, 5:14pm UTC](https://meta.discourse.org/t/how-can-i-authorize-latest-rss-and-new-rss-for-api-access-on-a-private-forum/188480 "2023-06-27T17:14:32Z")

</div>

I’ve created a Discourse user for read-only api access that a Discord bot will use to grab latest.rss or new.rss and auto-post a list of topics on the Discord. I’ve been able to create the API key, trying both “read” an…

---

## [Render Component in Widget](https://meta.discourse.org/t/render-component-in-widget/269771)

<div class="topic-metadata">

**Author:** [@ChijiokeFLW](https://meta.discourse.org/u/ChijiokeFLW)\
**Replies:** 1\
**Last updated:** [June 27, 2023, 2:17pm UTC](https://meta.discourse.org/t/render-component-in-widget/269771 "2023-06-27T14:17:43Z")

</div>

Please, how would I go about inserting a Component in a particular widget. What I am interested in is placing the TopicNotificationsButton component in the “post-body” widget. I would appreciate the assistance immensely…

---

## [Missing "topic-list-after-columns" raw plugin outlet](https://meta.discourse.org/t/missing-topic-list-after-columns-raw-plugin-outlet/259309)

<div class="topic-metadata">

**Author:** [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Replies:** 1\
**Last updated:** [June 27, 2023, 6:31am UTC](https://meta.discourse.org/t/missing-topic-list-after-columns-raw-plugin-outlet/259309 "2023-06-27T06:31:18Z")

</div>

Hi, I checked topic-list templates and noticed outlets before/after in the table header template, but it misses the after one in the column template. https://github.com/discourse/discourse/blob/main/app/assets/javascri…

---

## [Fixing a "config.handlebars" undefined method error](https://meta.discourse.org/t/fixing-a-config-handlebars-undefined-method-error/39964)

<div class="topic-metadata">

**Author:** [@zombiezen](https://meta.discourse.org/u/zombiezen)\
**Replies:** 4\
**Last updated:** [June 26, 2023, 5:57pm UTC](https://meta.discourse.org/t/fixing-a-config-handlebars-undefined-method-error/39964 "2023-06-26T17:57:31Z")

</div>

I’m trying to run Discourse 1.4.5 in a dev environment. When I go to run bin/rake db:create db:migrate, it crashes with: rake aborted! NoMethodError: undefined method \`handlebars' for #\<Rails::Application::Configuratio…

---

## [Cannot mount the "post-avatar" on the "topic-above-post-stream" plugin outlet](https://meta.discourse.org/t/cannot-mount-the-post-avatar-on-the-topic-above-post-stream-plugin-outlet/269430)

<div class="topic-metadata">

**Author:** [@Adekunle\_Odujoko](https://meta.discourse.org/u/Adekunle_Odujoko)\
**Replies:** 2\
**Last updated:** [June 26, 2023, 9:00am UTC](https://meta.discourse.org/t/cannot-mount-the-post-avatar-on-the-topic-above-post-stream-plugin-outlet/269430 "2023-06-26T09:00:34Z")

</div>

After going through this guide " Beginner’s guide to developing Discourse Themes , I tried mounting the post-avatar widget on the “topic-above-post-stream” plugin outlet on the post page and it did not show up on the pag…

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

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