Problem/Motivation
When using the dreditor "INSERT TEMPLATE" button, it inserts text with 5 sections:
- Problem/Motivation
- Proposed resolution
- Remaining tasks
- User interface changes
- API changes
I have found that people often forget to add the steps to reproduce the issue. Having an explicit section for this should help with this (at least for those who are using dreditor).
Steps to reproduce
- Install dreditor (see dreditor.org)
- Create a new issue
- Click "INSERT TEMPLATE" button
- You will see these sections inserted into the "Issue summary" text area
Proposed resolution
Add a new section to:
https://www.drupal.org/node/3156940
for "Steps to reproduce" so it looks like:
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-original-report">Original report by <a href="#">@username</a></h3>
Note: We're also proposing to use this template as the default value on the body field for new issue nodes at #1393226: Encourage use of issue summary template
Remaining tasks
Decide if we want to do this- Add the text to https://drupal.org/node/3156940 (someone with full documentation editing rights needs to edit this)
User interface changes
Extra text shown in issue summary body when using dreditor's "INSERT TEMPLATE" button.
API changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | dreditor-1.2.20-plugin.zip.txt | 43.84 KB | dww |
Comments
Comment #1
kristen polComment #2
yesct commentedgathering some info.
general conversation on
#1465924: Add explicit field/section for steps to reproduce
is helpful context
--
steps to reproduce is for bugs... what about the other kinds of issues: feature request, task, support request? I'm not sure STR is useful for those categories. (similar to concern 2. in comment #14 #1465924-14: Add explicit field/section for steps to reproduce
Comment #3
Bojhan commentedLets add it under "Problem/Motivation". Since it should be part of the problem statement. People should be smart enough to remove it when its not relevant.
Comment #4
avpadernoComment #5
dww+100 to this!
I agree it can be an
<h4>under Problem/Motivation.Maybe it should also start with some stub
<ol>markup, too?E.g.:
?
We're talking about using this template as the default value for the body field on issue nodes on d.o: #1393226: Encourage use of issue summary template, and including this section is one of the primary reasons we want that. So let's fix both while we're fixin'. ;)
Thanks!
-Derek
p.s. Updating the summary, since the page moved to 3156940 (breaking dreditor). :/
Comment #6
dwwNot really sure the status values are meaningful in this queue, but just in case... ;)
Comment #7
dwwAt @jhodgdon's suggestion in Slack, moving this to the core queue for better visibility...
Thanks,
-Derek
Comment #8
kristen polRegarding #5, while I personally like the suggestion of adding the template ordered list markup by default, I imagine some people might think it's overkill.
Comment #9
dwwRe: #8, yeah, probably too much clutter and bloat. Plus, we have BUEditor to help everyone with formatting lists (not just dreditor users). So yeah, forget that proposal. ;) Glad I didn't put it into the summary.
Cheers,
-Derek
Comment #10
quietone commentedNice idea, I like it.
+1
Comment #11
avpadernoIs Dreditor still supported? I thought it was abandoned, reading the README.md file on https://github.com/unicorn-fail/dreditor. (I am asking because the issue title says for dreditor.)
Comment #12
kristen polI don't think it's been supported for awhile. I still use it but the template button hasn't been working for awhile which is sad and then I don't format my issue summaries well. :(
Comment #13
dwwDreditor is not really "supported", but @briangilbert has forked a copy to keep it limping along for now.
https://addons.mozilla.org/en-GB/firefox/addon/dreditor-for-firefox
That works for FF. You can install it on Chrome, too. If you're on a Mac, once you install on FF, you can:
~/Library/Application\ Support/Firefox/Profiles/default.tdm/extensions/I'm attaching my copy of the dreditor.zip I used (as .txt). So you can download this, rename it from .zip.txt to .zip, and proceed from step #3.
Enjoy!
-Derek
Comment #14
dwwFait accompli - we included this in the default issue body as part of #1393226: Encourage use of issue summary template
But, to help with the folks using Dreditor updating existing issues, I just fixed these, too:
https://www.drupal.org/community/contributor-guide/reference-information...
https://www.drupal.org/community/contributor-guide/reference-information...
https://www.drupal.org/community/contributor-guide/reference-information...
(WTF with these URL aliases?) ;)
Calling this fixed and crediting everyone who participated here.
Thanks!
-Derek
Comment #15
kristen polYay! Thanks @dww!