Closed
Bug 717264
Opened 13 years ago
Closed 12 years ago
Move Quick Filter Bar toggle button from tab toolbar to mail toolbar
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(thunderbird11+ fixed, thunderbird12 fixed)
RESOLVED
FIXED
Thunderbird 13.0
People
(Reporter: mconley, Assigned: mconley)
References
Details
Attachments
(1 file, 2 obsolete files)
15.31 KB,
patch
|
bwinton
:
review+
bwinton
:
ui-review+
standard8
:
approval-comm-aurora+
standard8
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
The current placement of the QFB toggle button doesn't make a whole lot of sense. It exists outside of the tab that it belongs to, and is disabled unless that tab is selected. Blake and I are toying with the idea of removing the Quick Filter Bar button from the tab toolbar, and just having it exist as an optional button in the Customize Toolbar dialog.
Assignee | ||
Comment 1•13 years ago
|
||
CC'ing some folks who might be interested. I'm including davida, since it was a discussion with him that precipitated this idea.
Comment 2•13 years ago
|
||
I think we should keep it, since the button is actually useful on other tabs (potentially). Both Lightning calendar and task tabs have UI that works basically like the QFB, and it just needs to be hooked up to take advantage of the toggle button (the task tab already responds to Ctrl+Shift+K; not sure on the calendar tab).
Comment 3•13 years ago
|
||
I don't know if I understand your comment… Are you suggesting that we have the QFB toggle button do different things per-tab?
Comment 4•13 years ago
|
||
Correct. I think the QFB toggle should be a toggle for anything in a tab that works as a filter you can show/hide. Both kinds of Lightning tabs have something like this. The address book tab might also have something like this, though maybe we just want an always-present search box for that. I know the Lightning devs have expressed interest in doing this before, but I think they ran into an issue with it (which might be fixed by now).
Assignee | ||
Comment 5•13 years ago
|
||
Philipp: Did you have some input on this? -Mike
Comment 6•13 years ago
|
||
Given we have a search feature both in calendar and task tab, I wouldn't object to keeping it. I understand that other tab types may not profit from this though. If you plan to remove it from the tab toolbar anyway, I'd appreciate if you could add an optional toolbar button to Lighting (both tabs) too. squib is right though, I think Ctrl+Shift+K is not hooked up on the calendar tab. We should fix that, maybe as part of a different bug.
Assignee | ||
Updated•12 years ago
|
Blocks: tb-tabsontop
Updated•12 years ago
|
Hardware: x86_64 → All
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mconley
Summary: Remove Quick Filter Bar toggle button from tab toolbar → Move Quick Filter Bar toggle button from tab toolbar to mail toolbar
Assignee | ||
Comment 8•12 years ago
|
||
Here's my first run at this. I'm wary of landing stuff on beta, but a swath of local testing seems to indicate that this patch does what it's supposed to do. I've written a simple test case for custom toolbars as well.
Attachment #597914 -
Flags: review?(squibblyflabbetydoo)
Assignee | ||
Comment 9•12 years ago
|
||
Try builds coming in here: http://build.mozillamessaging.com/tinderboxpushlog/?tree=ThunderbirdTry&rev=ff1ee8bb1de8
Assignee | ||
Comment 10•12 years ago
|
||
Whoops - forgot to include my tests with that last patch.
Attachment #597914 -
Attachment is obsolete: true
Attachment #597914 -
Flags: review?(squibblyflabbetydoo)
Attachment #597919 -
Flags: review?(squibblyflabbetydoo)
Assignee | ||
Comment 11•12 years ago
|
||
Try builds for Patch v2 coming in here: http://build.mozillamessaging.com/tinderboxpushlog/?tree=ThunderbirdTry&rev=692962308836
Assignee | ||
Comment 12•12 years ago
|
||
So I was a bit overconfident when I pushed to try so soon - I just ran all Mozmill tests locally, and I had a failure in the old migration tests for TB 2 to TB 3. This version of the patch fixes it. The rest of the failures I got locally were random oranges we sometimes happen to get. I'm going to hold off requesting review until I see the test results that try spits out. If it's just the same migration test failure as I got here, then I'll go ahead and r?. Until then, I'd rather not stuff squib's inbox with more bugmail than he needs. :D -Mike
Attachment #597919 -
Attachment is obsolete: true
Attachment #597919 -
Flags: review?(squibblyflabbetydoo)
Assignee | ||
Updated•12 years ago
|
Attachment #597947 -
Flags: review?(squibblyflabbetydoo)
Comment 13•12 years ago
|
||
After this patch, can users customize the mail toolbar to remove the quick filter button altogether? Chances are that many users (like me :) will never use the button because it's such a frequent action that it's really worth remembering the keyboard shortcut...
Assignee | ||
Comment 14•12 years ago
|
||
Thomas, Yes! The Quick Filter toggle will be like any of the other toolbar buttons - you can move it to other toolbars, or get rid of it altogether. -Mike
Updated•12 years ago
|
Comment 15•12 years ago
|
||
Comment on attachment 597947 [details] [diff] [review] Patch v3 Review of attachment 597947 [details] [diff] [review]: ----------------------------------------------------------------- Aside from the question below, I'm happy with this. r=me, and I think ui-r=me, just in case you need it… ::: mail/base/modules/mailMigrator.js @@ -197,0 +197,12 @@ > > + // In UI version 3, we move the QFB button from the tabbar toolbar to > > + // to the mail toolbar. > > + if (currentUIVersion < 3) { > > + let currentSetResource = this._rdf.GetResource("currentset"); NaN more ... Wouldn't that replace "a,qfb-show-filter-bar,b" with "a,,b"? Do we not care, because this._setPersist will take care of it for us?
Attachment #597947 -
Flags: ui-review+
Attachment #597947 -
Flags: review?(squibblyflabbetydoo)
Attachment #597947 -
Flags: review+
Comment 16•12 years ago
|
||
The lines of code that was referring to was supposed to be: currentSet = currentSet.replace(/(^|,)qfb-show-filter-bar($|,)/, "$1$2"); :P
Assignee | ||
Comment 17•12 years ago
|
||
Blake: I borrowed this technique from the Firefox version of migrateUI, where they do the same thing (see: http://mxr.mozilla.org/comm-central/source/mozilla/browser/components/nsBrowserGlue.js#1183) That, coupled with the fact that the migration seems to work and the test passes, suggests to me that setPersist takes care of this for us. -Mike
Assignee | ||
Comment 18•12 years ago
|
||
Comment on attachment 597947 [details] [diff] [review] Patch v3 I believe we want this for TB 11.
Attachment #597947 -
Flags: approval-comm-beta?
Attachment #597947 -
Flags: approval-comm-aurora?
Assignee | ||
Comment 19•12 years ago
|
||
Landed on comm-central as http://hg.mozilla.org/comm-central/rev/78966d586c8a
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 13.0
Updated•12 years ago
|
Attachment #597947 -
Flags: approval-comm-beta?
Attachment #597947 -
Flags: approval-comm-beta+
Attachment #597947 -
Flags: approval-comm-aurora?
Attachment #597947 -
Flags: approval-comm-aurora+
Assignee | ||
Comment 20•12 years ago
|
||
Landed on comm-aurora as http://hg.mozilla.org/releases/comm-aurora/rev/80897e9cafe7
status-thunderbird12:
--- → fixed
Assignee | ||
Comment 21•12 years ago
|
||
Landed on comm-beta as http://hg.mozilla.org/releases/comm-beta/rev/17b0b1d4af4d
status-thunderbird11:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•