On Wed, Mar 25, 2009 at 7:13 PM, David Bustos <david.bus...@sun.com> wrote:
> Can we add this as a hint near the comment entry form?

it's technically possible, personally as a heavy user who already
knows how to use bugzilla, i'd like to be able to turn it off.

Anyway, it's just a template, and whether you support turning it off
or not is easy (you can basically copy the code style used by the
reply feature).

One question is how/where would you want that help.

I suppose the most logical place is to the right of the comment field
itself. But I really don't know how to write it.

hypothetical html follows:

<table><tr>
<td><textarea rows="6" cols="80"></textarea></td>
<td>Please <b>don't</b> use HTML tags in comments.
<ul>
<li>URLs "<a href="https://www.google.com";>https://www.google.com</a>",
"<a href="http://www.sun.com";>http://www.sun.com</a>" will be turned
into links automatically.</li>
<li>To reference a another bug, just write: "<a
href="show_bug.cgi?id=1">bug 1</a>".</li>
<li>To reference a comment in this bug, just write: "<a
href="#c1">comment 1</a>".</li>
<li>To reference a comment in another bug, just write: "<a
href="show_bug.cgi?id=1#c2">bug 1 comment 2</a>".</li>
<li>To reference an attachment, just write: "<a
href="attachment.cgi?id=1">attachment 1</a>", "<a
href="attachment.cgi?id=1&action=edit">[details]</a>" will be added
automatically.</li>
<li>To prevent line wrapping, start a line with "&gt; " (a greater
than and a space):<br>
<pre>&gt; this is a very long line which should appear in a quoted
style, it will be very long</pre></li>
<li>To provide HTML or a patch, please click the "<b>create attachment
link</b>".</li>
<li>If you enter "&lt;HTML&gt;" tags, they will be encoded as
"<b>&amp;</b>lt<b>;</b>HTML<b>&amp;</b>gt<b>;</b>".
</ul>
</td>
</table>

Now that I've written it, I'll probably try to get it integrated
upstream, but feel free to play with it here first and give feedback
:).

fwiw, the bugzilla query page has help:
http://defect.opensolaris.org/bz/query.cgi?format=advanced&help=1

which you can get by clicking on some link on the advanced page. I'm
assuming that most people aren't aware of that (the feature is
ancient, but to the best of my knowledge people haven't discovered
it). And when I mean it's available, it's the first thing on the page
at the top of the tab:

Give me some help (reloads page).

I think that needs a help icon "(?)" (probably blue). I think there's
a bug about improving that.
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to