A partial archive of meta.discourse.org as of Tuesday July 18, 2017.

Require category selection before writing topic

jomaxro

When allow uncategorized topics is disabled, I’d like to propose requiring the user to select a category before they are allowed to start writing the body of the post.

The use case for this is a site that makes significant use of topic templates. As users are not required to select a category, many go right to writing their post, and only select a category after they’ve written their post. As there is content in the composer, the topic template is not added, thus negating the usefulness of the template.

codinghorror

Seems reasonable to me, what do you think @neil?

neil

Sounds useful to me. So disabling the body input field until the category is chosen like so?

What about if they paste a link, which should auto-populate the body?

jomaxro

That works! I really don’t care too much about the UI of the disabled area, as long as it is disabled and clear how to enable it.

Ooh…interesting edge case. For my site, I’d prefer the template over the Onebox, but that’s site specific. Maybe do both - onebox/link first, template second.

neil

No, I don’t mean onebox vs template. I think that has already been solved.

I guess it should ignore this new logic. If a link is pasted in the title, enable the body input field and do what we currently do today.