mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
Small follow up to https://github.com/discourse/discourse/pull/41197 - template topic category options only worked reliably when the category was already loaded in the client store. For categories that needed the async lookup path, we were passing an array where the category lookup endpoint expects a slash path. This PR keeps the local lookup using slug path segments, then passes a joined slug path to the async lookup. It also adds coverage for unloaded top-level categories and unloaded subcategories. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| about.json | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Discourse Templates plugin
This plugin adds support for inserting a template into the composer window via a UI.
For more information please check the Official Plugin Topic & Documentation on Meta.
Installation
Follow the directions at Install a Plugin using https://github.com/discourse/discourse-templates.git as the repository URL.
Previous plugin
License
GNU GPL v2