Использовать шаблон темы по умолчанию для фич и багов

Привет,

поскольку я узнал здесь, что категории уже предоставляют шаблоны тем, я хотел бы предложить использовать их для категорий Contribute > Feature и Contribute > Bug здесь, на meta.discourse.org.

Я не уверен насчет его формата в целом, поэтому я просто взял шаблон проблемы из Github из Icinga и немного его изменил для Discourse.

Контекст

По моему опыту, не всегда достаточно ясно, о какой проблеме мы на самом деле говорим. Игра в «пинг-понг» для выяснения среды, возможных задействованных инструментов и идей, которые существуют только в «мозгу» пользователя, занимает много времени и иногда утомляет.

Я мог бы представить, что такой шаблон темы по умолчанию мог бы помочь в этом, чтобы напомнить пользователям, какие детали важны, или как вообще форматировать их «историю».

Я вообще предпочитаю главы и заголовки при описании проблемы. Это позволяет всем следовать и выбирать соответствующие детали. Особенно контекст и дополнительная информация о версиях и конкретных браузерных наблюдениях очень помогает.

Одна вещь, которая усложняется с шаблоном — иногда люди не понимают, как работают HTML-комментарии, и почему они скрыты в основном представлении. Хотя я видел, как многие пользователи просто принимали его и оставляли как есть.

Пример

<!--- Provide a general summary of the issue in the Title above -->

<!-- Please make sure to read https://meta.discourse.org/t/how-to-request-new-features-for-discourse/32986?source_topic_id=11 first -->

## Expected Behavior
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->

## Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->

## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement:  the addition or change -->

## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include configuration, logs, etc. to reproduce, if relevant -->
1.
2.
3.
4.

## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Your Environment
<!--- Include as many relevant details about the environment you experienced the problem in -->
* Version used (Admin - Dashboard):
* Enabled plugins (Admin - Plugins):
* Browser name and version:
* Developer tools errors:

2 лайка

Topic templates aren’t particularly effective in my experience – they are certainly no magic bullet. The type of people you would want to read them, rarely do, and for those that know what they are doing, they get in the way.

I would only do this if there are certain very mandatory things you need in each topic, like serial number or something.

3 лайка

Hi,

I get your point, the many who feel disturbed by such a template will just ctrl+a&del the content. I do that sometimes as well, when the structure doesn‘t fit.

I know too little about this community til now. From reading threads I‘d say you do not really need it, as this platform has a totally different conversation “flow” and is more a chat than issue discussions. I love to hear what others think, and won‘t be sad if you do not apply it :slight_smile:

Still, I hope such a template helps others who might have been looking into the same for their setup. It took me quite a while to find the perfect template for github, you likely have only one shot amongst established readers :wink:

Cheers,
Michael