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)

4.1.2
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file, 3 obsolete files)

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).
Attached patch v1 (obsolete) — Splinter Review
Requires the blocker patch. This patch is pretty simple.
Assignee: query-and-buglist → mkanat
Status: NEW → ASSIGNED
Attachment #535781 - Flags: review?(dkl)
Does this bug block 4.2?
(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.
Attachment #535781 - Flags: review?(dkl) → review?(timello)
[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 %]
Attached patch v2 (obsolete) — Splinter Review
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)
Attaching screenshot showing that the Hide Advanced Features link is not being removed properly and is in fact being repeated over and over. dkl
Attachment #537674 - Flags: review?(dkl) → review-
Comment on attachment 537674 [details] [diff] [review] v2 Ach, thanks.
Attachment #537674 - Flags: review?(timello)
Attached patch v3Splinter Review
Okay, fixed now.
Attachment #537674 - Attachment is obsolete: true
Attachment #537841 - Attachment is obsolete: true
Attachment #546890 - Flags: review?(dkl)
Comment on attachment 546890 [details] [diff] [review] v3 Looks good and works well now. r=dkl
Attachment #546890 - Flags: review?(dkl) → review+
Flags: approval+
mkanat: I suggest you commit this patch before 4.1.3 as it's ready. :)
Committed as revision 7882.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: