Closed
Bug 875732
Opened 13 years ago
Closed 12 years ago
Need hooks for new column in saved-searches
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 5.0
People
(Reporter: aliustek, Assigned: aliustek)
Details
Attachments
(1 file, 1 obsolete file)
|
764 bytes,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
saved-searches needs hooks to provide a way for extensions to insert new columns
E.g. MyDashboard on bmo uses two hooks to insert a column. These hooks could be moved to mainstream bugzilla code
Assignee: general → aliustek
Attachment #753738 -
Flags: review?(LpSolit)
Comment 2•13 years ago
|
||
Comment on attachment 753738 [details] [diff] [review]
saved-header/row hooks
Review of attachment 753738 [details] [diff] [review]:
-----------------------------------------------------------------
r=dkl. We have this change in our BMO code to support the MyDashboard extension so I know it works fine.
Attachment #753738 -
Flags: review+
Updated•13 years ago
|
Flags: approval?
Comment 3•12 years ago
|
||
Comment on attachment 753738 [details] [diff] [review]
saved-header/row hooks
This is mostly good, but you must also fix the first row for "My Bugs". You cannot add anything to it, and the number of cells is then inaccurate for this row. You can reuse the hook name 'saved-row'.
Also, please attach a working patch:
patch -p0 --dry-run < ~/patches/bug875732.diff
(Stripping trailing CRs from patch.)
patching file template/en/default/account/prefs/saved-searches.html.tmpl
patch unexpectedly ends in middle of line
That's because your patch lacks a final newline at the end of the file.
Attachment #753738 -
Flags: review?(LpSolit) → review-
Updated•12 years ago
|
Flags: approval?
Target Milestone: --- → Bugzilla 5.0
Added the hook to the top row as well and corrected the patch file ending
Attachment #753738 -
Attachment is obsolete: true
Attachment #779358 -
Flags: review?(dkl)
Comment 5•12 years ago
|
||
Comment on attachment 779358 [details] [diff] [review]
saved-searches-saved-row.patch
r=dkl
Attachment #779358 -
Flags: review?(dkl) → review+
Updated•12 years ago
|
Flags: approval?
Comment 6•12 years ago
|
||
Comment on attachment 779358 [details] [diff] [review]
saved-searches-saved-row.patch
r- on the basis that extensions/Example/template/en/default/account/prefs/ is not updated with an example.
Attachment #779358 -
Flags: review+ → review-
Updated•12 years ago
|
Flags: approval?
Comment 7•12 years ago
|
||
(In reply to Simon Green from comment #6)
> r- on the basis that extensions/Example/template/en/default/account/prefs/
> is not updated with an example.
Template hooks do not need an example to be accepted. Only code hooks must be documented and have an example.
Updated•12 years ago
|
Attachment #779358 -
Flags: review- → review+
Updated•12 years ago
|
Flags: approval?
Updated•12 years ago
|
Status: NEW → ASSIGNED
Comment 8•12 years ago
|
||
Thanks for the patch.
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified template/en/default/account/prefs/saved-searches.html.tmpl
Committed revision 8692.
dkl
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•