Closed
Bug 660382
Opened 14 years ago
Closed 14 years ago
Hide the complex features of custom search by default
Categories
(Bugzilla :: Query/Bug List, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.2
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file, 3 obsolete files)
5.60 KB,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
Right now, the new custom search stuff has a lot of UI -- the Not stuff, the + button, the "ALL" vs "ANY" select, the parentheses buttons, the two drop downs, and the text box.
I think that by default, it would be nice if the parentheses buttons and the Not stuff was hidden by default and only showed up if somebody selected that it should (based on TUI).
Assignee | ||
Comment 1•14 years ago
|
||
Requires the blocker patch. This patch is pretty simple.
![]() |
||
Comment 2•14 years ago
|
||
Does this bug block 4.2?
Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #2)
> Does this bug block 4.2?
Only in the sense that it will be approved for branch checkin if there is a branch. It's not a hard blocker.
Assignee | ||
Updated•14 years ago
|
Attachment #535781 -
Flags: review?(dkl) → review?(timello)
Comment 4•14 years ago
|
||
[dkl@localhost trunk]$ patch -p0 < ~/Downloads/search-custom-advanced.diff
patching file js/custom-search.js
patching file template/en/default/search/boolean-charts.html.tmpl
Hunk #2 FAILED at 83.
1 out of 4 hunks FAILED -- saving rejects to file template/en/default/search/boolean-charts.html.tmpl.rej
[dkl@localhost trunk]$ vi template/en/default/search/boolean-charts.html.tmpl.rej
--- template/en/default/search/boolean-charts.html.tmpl 2011-05-27 23:46:07 +0000
+++ template/en/default/search/boolean-charts.html.tmpl 2011-05-28 00:19:32 +0000
@@ -83,7 +85,8 @@
[% IF !top_level_any_shown %]
[% INCLUDE any_all_select
- name = "j_top" id = "j_top" selected = default.j_top %]
+ name = "j_top" id = "j_top" selected = default.j_top
+ with_advanced_link = with_buttons %]
[% top_level_any_shown = 1 %]
[% END %]
Assignee | ||
Comment 5•14 years ago
|
||
Thanks! Fixed the bitrot and also a bug I found where the Advanced link wouldn't appear if you were editing a search with charts in it where the first chart wasn't f0.
Attachment #535781 -
Attachment is obsolete: true
Attachment #535781 -
Flags: review?(timello)
Attachment #537674 -
Flags: review?(timello)
Attachment #537674 -
Flags: review?(dkl)
Comment 6•14 years ago
|
||
Attaching screenshot showing that the Hide Advanced Features link is not being removed properly and is in fact being repeated over and over.
dkl
Updated•14 years ago
|
Attachment #537674 -
Flags: review?(dkl) → review-
Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 537674 [details] [diff] [review]
v2
Ach, thanks.
Attachment #537674 -
Flags: review?(timello)
Assignee | ||
Comment 8•14 years ago
|
||
Okay, fixed now.
Attachment #537674 -
Attachment is obsolete: true
Attachment #537841 -
Attachment is obsolete: true
Attachment #546890 -
Flags: review?(dkl)
Comment 9•14 years ago
|
||
Comment on attachment 546890 [details] [diff] [review]
v3
Looks good and works well now. r=dkl
Attachment #546890 -
Flags: review?(dkl) → review+
Assignee | ||
Updated•14 years ago
|
Flags: approval+
![]() |
||
Comment 10•14 years ago
|
||
mkanat: I suggest you commit this patch before 4.1.3 as it's ready. :)
Assignee | ||
Comment 11•14 years ago
|
||
Committed as revision 7882.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
![]() |
||
Comment 12•14 years ago
|
||
You forgot to fix filterexceptions.pl. 008filter.t was throwing a warning.
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified template/en/default/filterexceptions.pl
Committed revision 7886.
You need to log in
before you can comment on or make changes to this bug.
Description
•