0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/discourse-templates
Natalie Tay f4f5534e58
FIX: Support unloaded categories in template topic options (#41230)
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.
2026-06-29 14:35:07 +08:00
..
app DEV: Always pass --force to annotaterb and reorder annotations (#39977) 2026-05-13 14:12:48 +01:00
assets FIX: Support unloaded categories in template topic options (#41230) 2026-06-29 14:35:07 +08:00
config I18N: Update translations (#40165) 2026-05-22 11:36:52 +02:00
db/migrate
lib DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
spec DEV: Enable Style/RedundantParentheses rubocop rule (#40095) 2026-05-19 15:48:09 +02:00
test/javascripts FIX: Support unloaded categories in template topic options (#41230) 2026-06-29 14:35:07 +08:00
about.json
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: Remove obsolete register_svg_icon checks (#35067) 2025-09-30 15:51:44 +02:00
README.md
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

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

Discourse Canned Replies

License

GNU GPL v2