Problem/Motivation

Use #631600: Manual Testing issue for testing this, please.

Current improvement ideas:

  • #2 Add one-click paste of issue summary template at the top of the issue body.
  • #3 pre-populate the log message field with some sort of best-practice log message template?
  • #6 Add a Cancel button.
  • #7 Retain links to summary template.

Proposed resolution

#2 and #7 are done by #1277974: Button to prepend the 'Issue summary standard' template into Issue body.

#3 depends on #1318994: Append current username to issue summary editor log message

Remaining tasks

  • #6 Add a Cancel button.
  • #7 Retain links to summary template.

Original report by sun

CommentFileSizeAuthor
#4 dreditor.summary.4.patch4.37 KBsun
dreditor.summary.0.patch2.61 KBsun

Comments

xjm’s picture

Suggestion 1: Hide filter tips.

Markup:

<fieldset><legend>Issue details</legend><div class="form-item" id="edit-body-wrapper">
 <label for="edit-body">Description: <span class="form-required" title="This field is required.">*</span></label>
 <textarea cols="60" rows="10" name="body" id="edit-body"  class="form-textarea resizable required">You can skip this issue, I&#039;m just exploring new features here. ;)

Really, nothing to see here.  Don&#039;t waste your time.

&lt;img src=&quot;http://drupal.org/files/issues/issue-view_2.png&quot; alt=&quot;issue-view.png&quot; /&gt;

&lt;?php
$ponies++;
?&gt;</textarea>
</div>
<ul class="tips"><li>Web page addresses and e-mail addresses turn into links automatically.</li><li>Allowed HTML tags: &lt;h2&gt; &lt;h3&gt; &lt;h4&gt; &lt;h5&gt; &lt;h6&gt; &lt;em&gt; &lt;strong&gt; &lt;code&gt; &lt;del&gt; &lt;blockquote&gt; &lt;q&gt; &lt;cite&gt; &lt;sup&gt; &lt;sub&gt; &lt;p&gt; &lt;br&gt;  &lt;ul&gt; &lt;ol&gt; &lt;li&gt; &lt;dl&gt; &lt;dt&gt; &lt;dd&gt; &lt;a&gt; &lt;b&gt; &lt;u&gt; &lt;i&gt; &lt;table&gt; &lt;tr&gt; &lt;td&gt; &lt;th&gt; &lt;tbody&gt; &lt;thead&gt; &lt;tfoot&gt; &lt;colgroup&gt; &lt;caption&gt;</li><li>Lines and paragraphs break automatically.</li><li>You may post code using &lt;code&gt;...&lt;/code&gt; (generic) or &lt;?php ... ?&gt; (highlighted PHP) tags.</li><li>Project issue numbers (ex. #12345: How do I log in as admin?) turn into links automatically.</li></ul><p><a href="/filter/tips">More information about formatting options</a></p></fieldset>
<fieldset class=" collapsible collapsed"><legend>Tags</legend></fieldset>
<fieldset class=" collapsible"><legend>Revision information</legend><div class="form-item" id="edit-log-wrapper">
 <label for="edit-log">Log message: <span class="form-required" title="This field is required.">*</span></label>
 <textarea cols="60" rows="2" name="log" id="edit-log"  class="form-textarea resizable required"></textarea>
 <div class="description">An explanation of the additions or updates being made to help other authors understand your motivations.</div>
</div>
</fieldset>

DOM path:

div.project-issue > form#node-form > div > div.node-form > div.standard> fieldset > ul.tips
xjm’s picture

Suggestion 2: Add one-click paste of issue summary template at the top of the issue body.

xjm’s picture

Suggestion 3: Maybe pre-populate the log message field with some sort of best-practice log message template? (Edit: I am not sure if this is a good idea or not.)

sun’s picture

StatusFileSize
new4.37 KB

Can you spell a-w-e-s-o-m-e?

sun’s picture

Status: Needs review » Fixed

Committed #4.

Feel free to re-open this issue (I'm sure it will). ;)

jacine’s picture

This is cool, but there is no way to cancel editing without reloading the page. Can we have a cancel or close button?

xjm’s picture

Also, maybe "Updated issue summary" is a bit more general and standard-ish-sounding than "Revamped?" (For the moment I'm just going to hack mine.)

And the template link is important, I think--even without clicky-pastie magic, we should probably stick the link to the doc up above the form.

The three paragraphs above the form could also die. They are more relevant to the initial post and not relevant to experienced users.

sun’s picture

Category: feature » bug
Status: Fixed » Active

@xjm: Can you post a screenshot of what you see? I thought I would've removed all paragraphs above the form...

Committed a fix for the default revision log message.

xjm’s picture

Status: Active » Fixed

#8: They have disappeared. At first, I saw all three; on the issue I edited not five minutes ago, the second and third were there; and now there are none. Can't explain. Maybe it was my browser cache or something. If I can reproduce it in the future I'll follow up again.

sun’s picture

Status: Fixed » Active

Not so fast ;) Summarized the stated improvement options in the issue summary.

clemens.tolboom’s picture

Issue summary: View changes

Updated issue summary.

sun’s picture

Status: Active » Fixed

We have follow-up issues and the current ajaxified summaries are working fine, so let's close this issue here. :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added template and current state

Updated by clemens.tolboom