GitHub Issueテンプレートのような、新しいトピックテンプレートフォーム?

Discourse には現在、コンポーザーを事前入力するカテゴリテンプレート機能があります。これは便利ですが、カスタムフィールドを備えたカスタム新規トピックフォームを作成する機能があれば、さらに便利になるでしょう。これは、GitHub Issues に存在するような YAML 定義によって駆動されます。

たとえば、次のようになります…

name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug", "triage"]
assignees:
  - octocat
body:
  - type: markdown
    attributes:
      value: |
        Thanks for taking the time to fill out this bug report!
  - type: input
    id: contact
    attributes:
      label: Contact Details
      description: How can we get in touch with you if we need more info?
      placeholder: ex. email@example.com
    validations:
      required: false
  - type: textarea
    id: what-happened
    attributes:
      label: What happened?
      description: Also tell us, what did you expect to happen?
      placeholder: Tell us what you see!
      value: "A bug happened!"
    validations:
      required: true
  - type: dropdown
    id: version
    attributes:
      label: Version
      description: What version of our software are you running?
      options:
        - 1.0.2 (Default)
        - 1.0.3 (Edge)
    validations:
      required: true
  - type: dropdown
    id: browsers
    attributes:
      label: What browsers are you seeing the problem on?
      multiple: true
      options:
        - Firefox
        - Chrome
        - Safari
        - Microsoft Edge
  - type: textarea
    id: logs
    attributes:
      label: Relevant log output
      description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
      render: shell
  - type: checkboxes
    id: terms
    attributes:
      label: Code of Conduct
      description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
      options:
        - label: I agree to follow this project's Code of Conduct
          required: true

これは次のようなものに翻訳されます…

これの、1 つのフィールドタイプ(つまりテキストエリア)のみをサポートする、はるかに基本的なバージョンでも、現在のカテゴリテンプレートよりも大幅な改善になるでしょう!

「いいね!」 1

これがあります。何かお手伝いできますか?

「いいね!」 2

これについてのカスタムウィザードプラグインはどうですか。

「いいね!」 1

私の経験では、カスタムウィザードプラグインはこのユースケースには適したソリューションではありません。プレビュー、提案トピックのポップアップ、その他の機能が失われます。全体的なフローとエクスペリエンスを維持しながら、コンポーザーの一部を置き換えるものが、ここではより良いソリューションになるでしょう。

「いいね!」 1
「いいね!」 2