Skip to content

Commit

Permalink
Added basic bug and bugnote view events.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyreese committed Feb 26, 2009
1 parent 571bb3a commit b70d862
Showing 1 changed file with 126 additions and 2 deletions.
128 changes: 126 additions & 2 deletions docbook/developers/en/event-reference-bug.sgml
@@ -1,5 +1,129 @@
<sect1 id="dev.eventref.bug">
<title>Bug / Bugnote Actions</title>
<title>Bug and Bugnote Actions</title>

<sect2 id="dev.eventref.bug.view">
<title>Bug View Events</title>

<blockquote id="dev.eventref.bug.view.details">
<title>EVENT_VIEW_BUG_DETAILS (Execute)</title>

<blockquote>
<para>
This event allows a plugin to either process information or display some
data in the bug view page. It is triggered after the row containing the
target version and product build fields, and before the bug summary is
displayed.
</para>

<para>
Any output here should be defining appropriate rows and columns for the
surrounding <programlisting>&lt;table&gt;</programlisting> elements.
</para>

<itemizedlist>
<title>Parameters</title>
<listitem><para>&lt;Integer&gt;: Bug ID</para></listitem>
<listitem><para>&lt;Boolean&gt;: Advanced view (false for simple view)</para></listitem>
</itemizedlist>
</blockquote>
</blockquote>

<blockquote id="dev.eventref.bug.view.extra">
<title>EVENT_VIEW_BUG_EXTRA (Execute)</title>

<blockquote>
<para>
This event allows a plugin to either process information or display some
data in the bug view page. It is triggered after the bug notes have been
displayed, but before the history log is shown.
</para>

<para>
Any output here should be contained within its own
<programlisting>&lt;table&gt;</programlisting> element.
</para>

<itemizedlist>
<title>Parameters</title>
<listitem><para>&lt;Integer&gt;: Bug ID</para></listitem>
<listitem><para>&lt;Boolean&gt;: Advanced view (false for simple view)</para></listitem>
</itemizedlist>
</blockquote>
</blockquote>

</sect2>

<sect2 id="dev.eventref.bug.noteview">
<title>Bugnote View Events</title>

<blockquote id="dev.eventref.bug.noteview.start">
<title>EVENT_VIEW_BUGNOTES_START (Execute)</title>

<blockquote>
<para>
This event allows a plugin to either process information or display some
data in the bug notes section, before any bug notes are displayed. It is
triggered after the bug notes section title.
</para>

<para>
Any output here should be defining appropriate rows and columns for the
surrounding <programlisting>&lt;table&gt;</programlisting> elements.
</para>

<itemizedlist>
<title>Parameters</title>
<listitem><para>&lt;Integer&gt;: Bug ID</para></listitem>
<listitem><para>&lt;Complex&gt;: A list of all bugnotes to be displayed to the user</para></listitem>
</itemizedlist>
</blockquote>
</blockquote>

<blockquote id="dev.eventref.bug.noteview.note">
<title>EVENT_VIEW_BUGNOTE (Execute)</title>

<blockquote>
<para>
This event allows a plugin to either process information or display some
data in the bug notes section, interleaved with the individual bug notes.
It gets triggered after every bug note is displayed.
</para>

<para>
Any output here should be defining appropriate rows and columns for the
surrounding <programlisting>&lt;table&gt;</programlisting> elements.
</para>

<itemizedlist>
<title>Parameters</title>
<listitem><para>&lt;Integer&gt;: Bug ID</para></listitem>
<listitem><para>&lt;Integer&gt;: Bugnote ID</para></listitem>
<listitem><para>&lt;Boolean&gt;: Private bugnote (false if public)</para></listitem>
</itemizedlist>
</blockquote>
</blockquote>

<blockquote id="dev.eventref.bug.noteview.end">
<title>EVENT_VIEW_BUGNOTES_END (Execute)</title>

<blockquote>
<para>
This event allows a plugin to either process information or display some
data in the bug notes section, after all bugnotes have been displayed.
</para>

<para>
Any output here should be defining appropriate rows and columns for the
surrounding <programlisting>&lt;table&gt;</programlisting> elements.
</para>

<itemizedlist>
<title>Parameters</title>
<listitem><para>&lt;Integer&gt;: Bug ID</para></listitem>
</itemizedlist>
</blockquote>
</blockquote>

</sect2>

<para></para>
</sect1>

0 comments on commit b70d862

Please sign in to comment.