# Development

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

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

**Page:** 3

---

## [Delete Draft post from the API - getting not\_found error](https://meta.discourse.org/t/delete-draft-post-from-the-api-getting-not-found-error/401220)

<div class="topic-metadata">

**Author:** [@nitinkg](https://meta.discourse.org/u/nitinkg)\
**Replies:** 1\
**Last updated:** [April 22, 2026, 10:32am UTC](https://meta.discourse.org/t/delete-draft-post-from-the-api-getting-not-found-error/401220 "2026-04-22T10:32:31Z")

</div>

Hi, I’m trying to delete a draft using the API: DELETE /drafts/{draft\_key}.json The draft exists (verified via GET /drafts.json) and I’m using the correct draft\_key and sequence. API Request (Postman / backend) DELET…

---

## [Interact with discourse from Python?](https://meta.discourse.org/t/interact-with-discourse-from-python/87543)

<div class="topic-metadata">

**Author:** [@Bar\_Smith](https://meta.discourse.org/u/Bar_Smith)\
**Replies:** 31\
**Last updated:** [April 20, 2026, 3:11pm UTC](https://meta.discourse.org/t/interact-with-discourse-from-python/87543 "2026-04-20T15:11:15Z")

</div>

Hi everyone! Love discourse, it’s the backbone of our community. We are an open source project with a strong presence on Github. We have a robot written in Python which manages our Github repositories and does things li…

---

## [Category-toggled one-touch move post](https://meta.discourse.org/t/category-toggled-one-touch-move-post/400983)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 0\
**Last updated:** [April 19, 2026, 6:34am UTC](https://meta.discourse.org/t/category-toggled-one-touch-move-post/400983 "2026-04-19T06:34:59Z")

</div>

Hello, in my email category, i would like to be able to enable a button - that appears on every post in this category. This would automatically select the post and open the dialogue; for splitting that post to an exist…

---

## [Disable initial page that re-directs to /login](https://meta.discourse.org/t/disable-initial-page-that-re-directs-to-login/400773)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 5\
**Last updated:** [April 17, 2026, 7:05pm UTC](https://meta.discourse.org/t/disable-initial-page-that-re-directs-to-login/400773 "2026-04-17T19:05:23Z")

</div>

Hello, i’m currently achieving a slow re-direct, to avoid need to press the only Login button on the inital page import { apiInitializer } from "discourse/lib/api"; export default apiInitializer("1.0", (api) =\> { ap…

---

## [Best Ways to Generate or Obtain Test Data for Discourse?](https://meta.discourse.org/t/best-ways-to-generate-or-obtain-test-data-for-discourse/400205)

<div class="topic-metadata">

**Author:** [@hanoith2022](https://meta.discourse.org/u/hanoith2022)\
**Replies:** 4\
**Last updated:** [April 8, 2026, 8:19am UTC](https://meta.discourse.org/t/best-ways-to-generate-or-obtain-test-data-for-discourse/400205 "2026-04-08T08:19:02Z")

</div>

Hi everyone :waving\_hand: I’m currently working with Discourse and trying to better understand how to test features and workflows effectively. One challenge I’m facing is how to get realistic and useful test data for a …

---

## [Using dv (Discourse Vibe) to configure Discourse AI in development](https://meta.discourse.org/t/using-dv-discourse-vibe-to-configure-discourse-ai-in-development/388622)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 5\
**Last updated:** [April 7, 2026, 9:58pm UTC](https://meta.discourse.org/t/using-dv-discourse-vibe-to-configure-discourse-ai-in-development/388622 "2026-04-07T21:58:57Z")

</div>

dv - Discourse Vibe - https://github.com/samsaffron/dv is a tool I have been building that lets you easily work on multiple pre-configured Discourse dev containers. I built it to make it easier to work with AI agents, b…

---

## [Does Discourse have AI development skills?](https://meta.discourse.org/t/discourse-ai-skills/397330)

<div class="topic-metadata">

**Author:** [@qi\_lu](https://meta.discourse.org/u/qi_lu)\
**Replies:** 5\
**Last updated:** [April 6, 2026, 11:41pm UTC](https://meta.discourse.org/t/discourse-ai-skills/397330 "2026-04-06T23:41:56Z")

</div>

I spent three days trying to develop a plugin using Claude 4.6, but it was still too difficult. Involved content: Database UI Admin backend Routing Logical functions and components, etc. Overall feeling: The code generation ability is strong, but the standardization and accumulated experience are insufficient. During these three days, I spent most of my time correcting syntax and some conventional guideline errors, even regenerating the entire project. I don't understand code at all, and when encountering problems, I can't even provide effective prompts. Regarding code structure/naming/development style, I can only obediently follow the AI's lead. The AI's performance is very average, it's difficult to fix errors, and it seems there isn't yet a specific guide for AI...

---

## [Claude & Discourse-related development. How good is it?](https://meta.discourse.org/t/claude-discourse-related-development-how-good-is-it/394773)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**Replies:** 14\
**Last updated:** [April 6, 2026, 9:08am UTC](https://meta.discourse.org/t/claude-discourse-related-development-how-good-is-it/394773 "2026-04-06T09:08:50Z")

</div>

I’m not a developer. I just got basic coding knowledge. I can read simple code. I recently created a plugin, relying mostly on Gemini free. 95% of the code was AI-generated. While the plugin definitely works, and the i…

---

## [Finding Discourse design resources](https://meta.discourse.org/t/finding-discourse-design-resources/399847)

<div class="topic-metadata">

**Author:** [@singi2016cn](https://meta.discourse.org/u/singi2016cn)\
**Replies:** 2\
**Last updated:** [April 3, 2026, 2:55am UTC](https://meta.discourse.org/t/finding-discourse-design-resources/399847 "2026-04-03T02:55:26Z")

</div>

我想知道，哪里有完整的设计资源吗？能提供给UI设计师参考的。

---

## [Topic as widget](https://meta.discourse.org/t/topic-as-widget/49811)

<div class="topic-metadata">

**Author:** [@piratdavid](https://meta.discourse.org/u/piratdavid)\
**Replies:** 9\
**Last updated:** [April 1, 2026, 6:55pm UTC](https://meta.discourse.org/t/topic-as-widget/49811 "2026-04-01T18:55:11Z")

</div>

Hi, I’d like to create a comments section with each post in our news section Elektronauts. Kind of like in the Facebook feed. The optimal way would be to embed a topic in a widget. Has anything like this been tried befo…

---

## [Embedding full threads - possible?](https://meta.discourse.org/t/embedding-full-threads-possible/360386)

<div class="topic-metadata">

**Author:** [@doron1](https://meta.discourse.org/u/doron1)\
**Replies:** 4\
**Last updated:** [April 1, 2026, 6:44pm UTC](https://meta.discourse.org/t/embedding-full-threads-possible/360386 "2026-04-01T18:44:21Z")

</div>

Hi folks, We are relatively new to discourse dev, so this might be off. We couldn’t find an exact answer to this in our searches. We are developing a web site with various types of content. As part of this, we want to …

---

## [API scope \`all-users\` not working anymore](https://meta.discourse.org/t/api-scope-all-users-not-working-anymore/399597)

<div class="topic-metadata">

**Author:** [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**Replies:** 0\
**Last updated:** [March 30, 2026, 9:25pm UTC](https://meta.discourse.org/t/api-scope-all-users-not-working-anymore/399597 "2026-03-30T21:25:30Z")

</div>

I have this snip of Python, which previously generated a user and had them like a post. i = i + extra pw = nanoid.generate(size=150) name = f"User{nanoid.generate(size=5, alphabet='abcdefghijklmn…

---

## [PR: Add Sidekiq 8 support to mini\_scheduler](https://meta.discourse.org/t/pr-add-sidekiq-8-support-to-mini-scheduler/399560)

<div class="topic-metadata">

**Author:** [@dmke](https://meta.discourse.org/u/dmke)\
**Replies:** 1\
**Last updated:** [March 30, 2026, 5:00pm UTC](https://meta.discourse.org/t/pr-add-sidekiq-8-support-to-mini-scheduler/399560 "2026-03-30T17:00:40Z")

</div>

I’m not sure if someone has an eye on the issue tracker at discourse/mini\_scheduler, but I just created a PR: https://github.com/discourse/mini\_scheduler/pull/65 (I’m trying to upgrade one of my Rails apps to Sidekiq 8…

---

## [Avatar Decorations/Overlays from Custom User Fields](https://meta.discourse.org/t/avatar-decorations-overlays-from-custom-user-fields/399394)

<div class="topic-metadata">

**Author:** [@paulovbettio](https://meta.discourse.org/u/paulovbettio)\
**Replies:** 2\
**Last updated:** [March 27, 2026, 9:30am UTC](https://meta.discourse.org/t/avatar-decorations-overlays-from-custom-user-fields/399394 "2026-03-27T09:30:40Z")

</div>

Hello! I’m trying to implement avatar decorations based on custom user fields. Right now, users have an “avatar\_decoration\_url“ custom field. How can I use this field in CSS or in a theme component to add the image on t…

---

## [Icon type SiteSetting](https://meta.discourse.org/t/icon-type-sitesetting/370452)

<div class="topic-metadata">

**Author:** [@Alteras](https://meta.discourse.org/u/Alteras)\
**Replies:** 9\
**Last updated:** [March 26, 2026, 10:39pm UTC](https://meta.discourse.org/t/icon-type-sitesetting/370452 "2026-03-26T22:39:53Z")

</div>

I am trying to add a SiteSetting to my plugin that can control the icons displayed for some components. The component itself was already going to be user customizable, so I wanted to add the SiteSetting as a way for staf…

---

## [Introducing a new build system for plugins](https://meta.discourse.org/t/introducing-a-new-build-system-for-plugins/398713)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**Replies:** 4\
**Last updated:** [March 26, 2026, 12:06pm UTC](https://meta.discourse.org/t/introducing-a-new-build-system-for-plugins/398713 "2026-03-26T12:06:48Z")

</div>

Over the last few months, we’ve been working on a new build system for plugin JavaScript code. This will bring plugins up-to-date with the changes we made to the theme build system back in July 2025, which lean on more m…

---

## [Using a placeholder for FontAwesome links in descriptions of settings](https://meta.discourse.org/t/using-a-placeholder-for-fontawesome-links-in-descriptions-of-settings/370555)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**Replies:** 9\
**Last updated:** [March 26, 2026, 9:50am UTC](https://meta.discourse.org/t/using-a-placeholder-for-fontawesome-links-in-descriptions-of-settings/370555 "2026-03-26T09:50:56Z")

</div>

Continuing the discussion from How do I add links to site settings into the settings description of my component?: I wonder if something similar is possible for a link to the free FontAwesome icons. That one is used in …

---

## [Modernizing inline script tags for templates & JS API](https://meta.discourse.org/t/modernizing-inline-script-tags-for-templates-js-api/366482)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**Replies:** 46\
**Last updated:** [March 25, 2026, 10:46am UTC](https://meta.discourse.org/t/modernizing-inline-script-tags-for-templates-js-api/366482 "2026-03-25T10:46:51Z")

</div>

Using \<script type='text/discourse-plugin\> or \<script type='text/x-handlebars'\> in themes is now deprecated. Any use of these tags in themes should be updated according to the instructions below. Regular \<script\> and \<s…

---

## [The theme-skeleton compatibility has been pinned again](https://meta.discourse.org/t/the-theme-skeleton-compatibility-has-been-pinned-again/398985)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**Replies:** 1\
**Last updated:** [March 23, 2026, 10:19am UTC](https://meta.discourse.org/t/the-theme-skeleton-compatibility-has-been-pinned-again/398985 "2026-03-23T10:19:11Z")

</div>

Continuing the discussion from What is the purpose of the compatibility entry in the theme skeleton?: It has happened again: Is there any way to prevent this somehow?

---

## [Attempting to get a youtube onebox](https://meta.discourse.org/t/essai-davoir-une-onebox-de-youtube/398998)

<div class="topic-metadata">

**Author:** [@gilles](https://meta.discourse.org/u/gilles)\
**Replies:** 1\
**Last updated:** [March 22, 2026, 6:15pm UTC](https://meta.discourse.org/t/essai-davoir-une-onebox-de-youtube/398998 "2026-03-22T18:15:27Z")

</div>

Sorry, I'm encountering another issue with my plugin that communicates with an API. I retrieve various information that I insert into a topic based on a search. My problem is that I receive my YouTube video link...

---

## [How to make rich text interpret HTML](https://meta.discourse.org/t/comment-faire-pour-que-text-rich-interprete-du-html/398919)

<div class="topic-metadata">

**Author:** [@gilles](https://meta.discourse.org/u/gilles)\
**Replies:** 1\
**Last updated:** [March 20, 2026, 9:08pm UTC](https://meta.discourse.org/t/comment-faire-pour-que-text-rich-interprete-du-html/398919 "2026-03-20T21:08:58Z")

</div>

I am making a plugin related to an API. I retrieve the information correctly and automatically insert it into a topic. Markdown is no problem, it works perfectly, but if I switch to rich text...

---

## [Plugin "Duplicate export" error after Discourse update](https://meta.discourse.org/t/plugin-duplicate-export-error-after-discourse-update/398882)

<div class="topic-metadata">

**Author:** [@LeoDavidson](https://meta.discourse.org/u/LeoDavidson)\
**Replies:** 3\
**Last updated:** [March 20, 2026, 4:38pm UTC](https://meta.discourse.org/t/plugin-duplicate-export-error-after-discourse-update/398882 "2026-03-20T16:38:16Z")

</div>

Updating to 2026.3.0-latest has broken my plugin again. Can anyone help explain what is wrong? I see this error in the F12 console in Chrome: app.js:73 Failed to load plugin discourse-directoryopus from https://resour…

---

## [How do I use images from assets in HTML of a Glimmer-based theme component?](https://meta.discourse.org/t/how-do-i-use-images-from-assets-in-html-of-a-glimmer-based-theme-component/398578)

<div class="topic-metadata">

**Author:** [@das-g](https://meta.discourse.org/u/das-g)\
**Replies:** 5\
**Last updated:** [March 18, 2026, 1:37am UTC](https://meta.discourse.org/t/how-do-i-use-images-from-assets-in-html-of-a-glimmer-based-theme-component/398578 "2026-03-18T01:37:06Z")

</div>

Include assets (e.g. images, fonts) in themes and components seems to still refer to the handlebars way of doing things, if I’m grasping it correctly. Is the new Glimmer way already available for getting images from the …

---

## [Templating of my "component" broke. How do I fix it?](https://meta.discourse.org/t/templating-of-my-component-broke-how-do-i-fix-it/398553)

<div class="topic-metadata">

**Author:** [@das-g](https://meta.discourse.org/u/das-g)\
**Replies:** 14\
**Last updated:** [March 17, 2026, 3:35pm UTC](https://meta.discourse.org/t/templating-of-my-component-broke-how-do-i-fix-it/398553 "2026-03-17T15:35:44Z")

</div>

In a Discourse instance I maintain, I have a component (inherited from the previous maintainer of the instance) to display the logos of the sponsors of that instance in the footer. The component used to work fine until r…

---

## [If a PR needs localization what do we do?](https://meta.discourse.org/t/if-a-pr-needs-localization-what-do-we-do/398585)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Replies:** 3\
**Last updated:** [March 17, 2026, 5:59am UTC](https://meta.discourse.org/t/if-a-pr-needs-localization-what-do-we-do/398585 "2026-03-17T05:59:05Z")

</div>

If we submit a PR that needs localization, do we put empty YAML strings in the config/locales files?

---

## [Is there a naming convention for theme component projects?](https://meta.discourse.org/t/is-there-a-naming-convention-for-theme-component-projects/398572)

<div class="topic-metadata">

**Author:** [@das-g](https://meta.discourse.org/u/das-g)\
**Replies:** 4\
**Last updated:** [March 16, 2026, 10:40pm UTC](https://meta.discourse.org/t/is-there-a-naming-convention-for-theme-component-projects/398572 "2026-03-16T22:40:55Z")

</div>

Is there a naming convention for theme component projects, so that they’re easily recognizable as such? When seeing the folder on disk, or the repo on GitHub or the project on GitLab or another code forge, it’d be usefu…

---

## [Can Markdown be replaced with Quarkdown](https://meta.discourse.org/t/can-markdown-be-replaced-with-quarkdown/398341)

<div class="topic-metadata">

**Author:** [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**Replies:** 2\
**Last updated:** [March 14, 2026, 8:19am UTC](https://meta.discourse.org/t/can-markdown-be-replaced-with-quarkdown/398341 "2026-03-14T08:19:40Z")

</div>

I see some superset tools that extends Markdown, like Quarkdown seems to be very powerful. Is there a way to replace markdown-it extension with tools like Quarkdown?

---

## [Debugging linting on Discourse](https://meta.discourse.org/t/debugging-linting-on-discourse/398343)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 6\
**Last updated:** [July 25, 2024, 7:33pm UTC](https://meta.discourse.org/t/debugging-linting-on-discourse/398343 "2024-07-25T19:33:40Z")

</div>

This was very cool when it was working. Currently getting a version of this error with current main in WSL2 It’s broken my ability to commit: robert@blah:~/discourse$ git commit -m "fix test setup" /home/robert/discou…

---

## [Finding CSS selectors for page layout, user groups](https://meta.discourse.org/t/finding-css-selectors-for-page-layout-user-groups/397044)

<div class="topic-metadata">

**Author:** [@stephtara](https://meta.discourse.org/u/stephtara)\
**Replies:** 6\
**Last updated:** [March 12, 2026, 5:43am UTC](https://meta.discourse.org/t/finding-css-selectors-for-page-layout-user-groups/397044 "2026-03-12T05:43:19Z")

</div>

Continuing the discussion from Discourse Doc Categories: :information\_source: Below is an answer added to OP before making Steph the topic owner. – @ToddZ I don’t know if there’s an overall reference, but the browser…

---

## [Need feedback for plugin programming test](https://meta.discourse.org/t/besoin-davis-pour-essai-de-programmation-de-plugin/397948)

<div class="topic-metadata">

**Author:** [@gilles](https://meta.discourse.org/u/gilles)\
**Replies:** 6\
**Last updated:** [March 9, 2026, 7:39pm UTC](https://meta.discourse.org/t/besoin-davis-pour-essai-de-programmation-de-plugin/397948 "2026-03-09T19:39:02Z")

</div>

Hello, I wanted to know if it is possible, based on your knowledge, to develop a plugin that uses an API (BGG API v2). Basically, I would like to add a game search button to the topic toolbar. See...

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

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