DEV Community

Andy Zhao (he/him) for The DEV Team

Posted on

New Feature: Response Templates!

I'm excited to announce a new feature we've been working on: response templates!

This feature was first requested by our community moderators. They explained that they were regularly finding themselves running into situations where they would need to reply with a similar type of comment. For instance: welcoming a new member, explaining the usage of a tag, describing how a site mechanic works, or providing any other type of similar constructive feedback. Weโ€™re even providing a special option that allows trusted moderators to reply as Sloan, our community mascot.

However, using response templates isnโ€™t just for moderators. All community members can take advantage of the feature to help save time when posting comments. Hopefully this new functionality helps you save time if you find yourself frequently sharing similar tips, posting a list of resources, etc.

To set your response templates, you can visit your settings page.

How exactly do you use a response template? In a comment form, you'll see a new "document" button. Click that, and it will show your response templates available to use:

Once you click insert, it will paste the template into the comment form. If you have something written already, it will ask you if you want to overwrite it.

Next up, we'll be adding this feature to help support our tag moderators as they make tag adjustments.

As always, we're open to suggestions on how to make improvements here. Please feel free to open an issue if you have any comments or questions, or leave a comment on this post.

Happy coding! โค๏ธ

Top comments (16)

Collapse
ย 
sloan profile image
Sloan the DEV Moderator The DEV Team โ€ข

Hi there, it appears that this post contains affiliate links. We ask that posts including affiliate links also contain a clear disclaimer so that readers are aware. Here is some suggested language:

This post includes affiliate links; I may receive compensation if you purchase products or services from the links provided in this article.

Collapse
ย 
ben profile image
Ben Halpern The DEV Team โ€ข

Lol this is me just trolling by using this feature in mod mode. Pretty cool! ๐Ÿ˜„

Collapse
ย 
ben profile image
Ben Halpern The DEV Team โ€ข

I already have a few personal response templates as stashes for DEV posts I frequently want to point folks to in terms of my advice for them early on. I've already found uses for it in the hours since this has gone live.

Collapse
ย 
aritdeveloper profile image
Arit Developer โ€ข

Yeaaaahhh!!!!!

Collapse
ย 
codemouse92 profile image
Jason C. McDonald โ€ข

Great to see these starting to be rolled out!

The Sloan feature is indeed good, but, I can't see the whole message before posting, and that's potentially an issue. Also, if I need to be able to adjust on a canned message slightly, without creating an altogether new template, I can't presently do that. Any way to make Post as Mod not be immediate?

Collapse
ย 
andy profile image
Andy Zhao (he/him) โ€ข

can't see the whole message before posting

That's a good point, I'll add that soon!

if I need to be able to adjust on a canned message slightly, without creating an altogether new template

Hmm, not sure what you mean here. If I needed to adjust a message, I would insert it and then adjust it before submitting the comment. Do you mean adjusting a mod template?

Any way to make Post as Mod not be immediate?

Sorry, do you mind clarifying this too?

Collapse
ย 
codemouse92 profile image
Jason C. McDonald โ€ข โ€ข Edited

Hmm, not sure what you mean here. If I needed to adjust a message, I would insert it and then adjust it before submitting the comment.

Yes, exactly. I need to be able to insert the message, as a mod, and adjust it before submitting. It appears I can't currently do that. It just posts it as is, right away, without a chance to adjust.

Thread Thread
ย 
loujaybee profile image
Lou (๐Ÿš€ Open Up The Cloud โ˜๏ธ) โ€ข

It does appear to do this? It seems to just inject the string into the comment box? Then you can edit ad-hoc before posting?

Thread Thread
ย 
codemouse92 profile image
Jason C. McDonald โ€ข

That's only if you want to post as yourself. Not as Sloan.

Collapse
ย 
darksmile92 profile image
Robin Kretzschmar โ€ข

Awesome implementation, I've been waiting for this, bye bye notion template for common responses ๐Ÿ‘Œ๐Ÿฝ๐Ÿ˜Š

Collapse
ย 
rosejcday profile image
Rose Day โ€ข

Hello! Love the additional feature, looking forward to using it. ๐Ÿ˜„

Question - Is it possible to make the documentation a bit clearer up top? I found it a bit confusing to figure out what was meant by document button at first.

Collapse
ย 
andy profile image
Andy Zhao (he/him) โ€ข

That's good feedback, thanks!

Collapse
ย 
cescquintero profile image
Francisco Quintero ๐Ÿ‡จ๐Ÿ‡ด โ€ข โ€ข Edited

Nice feature. Yesterday, I was updating my settings and saw this option. I tought it was really old ๐Ÿ˜…

Collapse
ย 
thomasbnt profile image
Thomas Bnt โ€ข

yaaay ! :D

Collapse
ย 
bhupesh profile image
Bhupesh Varshney ๐Ÿ‘พ โ€ข

Ahhh Yess Its here
๐Ÿ”ฅ
Thanks

Collapse
ย 
loujaybee profile image
Lou (๐Ÿš€ Open Up The Cloud โ˜๏ธ) โ€ข

This is BALLIN'! Thanks Andy!