After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 594259 - Stock Responses
Stock Responses
Status: RESOLVED FIXED
Product: bugzilla.gnome.org
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Bugzilla Maintainers
Bugzilla Maintainers
Depends on:
Blocks: 590840 591222
 
 
Reported: 2009-09-05 19:09 UTC by Javier Jardón (IRC: jjardon)
Modified: 2009-09-13 19:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
custom bug/edit.html.tmpl to have stock answers (51.43 KB, patch)
2009-09-12 19:11 UTC, Frederic Peters
needs-work Details | Review
Stock answers, as an extension (11.55 KB, patch)
2009-09-13 18:19 UTC, Frederic Peters
committed Details | Review
Patch to correctly set status/resolution in select boxes (11.92 KB, patch)
2009-09-13 19:29 UTC, Frederic Peters
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2009-09-05 19:09:34 UTC
Due to bugzilla upgrade, we have no stock responses at all.

I filled this bug to have them again
Comment 1 Frederic Peters 2009-09-12 19:11:42 UTC
Created attachment 143074 [details] [review]
custom bug/edit.html.tmpl to have stock answers

Olav, I added a new file to template/en/custom/ but I feel it would be easier to make the change directly in template/en/default/, to benefit from bzr merge.
Comment 2 Olav Vitters 2009-09-13 17:49:33 UTC
I'd rather have an extension again, which uses a hook and javascript to dynamically add these stock answers to the show_bug.cgi page. I know this is way more complicated, but it will be way less error prone than the current implementation.

Then later the extension could perhaps add a table, etc like the traceparser extension. With an UI to modify these stock answers. Then we could contribute that upstream :-)
Comment 3 Frederic Peters 2009-09-13 18:19:47 UTC
Created attachment 143112 [details] [review]
Stock answers, as an extension

This requires a after_comment_textarea hook into edit.html.tmpl (included in patch), I'll file a bug upstream.
Comment 4 Olav Vitters 2009-09-13 18:23:10 UTC
Server update takes a while..
Comment 5 Frederic Peters 2009-09-13 19:29:36 UTC
Created attachment 143115 [details] [review]
Patch to correctly set status/resolution in select boxes