Closed
Bug 1581305
Opened 5 years ago
Closed 5 years ago
remove <observes> usage from mail/
Categories
(Thunderbird :: General, task)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 71.0
People
(Reporter: mkmelin, Assigned: mkmelin)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
Remove <observes> usage from mail/
https://searchfox.org/comm-central/search?q=%3Cobserves&case=false®exp=false&path=mail
Assignee | ||
Comment 1•5 years ago
|
||
The ones for quickfilter.
Attachment #9093101 -
Flags: review?(paul)
Assignee | ||
Comment 2•5 years ago
|
||
The ones for compose. With this, we'll still have observes attributes. But one step ahead.
Very green try: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=ddbd3e431262102c43da223a0655fe8084dbebf1
Attachment #9093102 -
Flags: review?(paul)
Comment 3•5 years ago
|
||
Comment on attachment 9093101 [details] [diff] [review]
bug1581305_observes_qf.mail.patch
Review of attachment 9093101 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM, I tested each of the 3 places where you can toggle the quickfilter toolbar, and it is still shown and hidden correctly and the toggles all get updated correctly as checked or not. r+ with a docstring added for the new function.
::: mail/base/content/quickFilterBar.js
@@ +90,5 @@
>
> this._updateCommands();
> },
>
> + _setupToggleChecks(checked) {
A brief doc string for this function would be good here.
Attachment #9093101 -
Flags: review?(paul) → review+
Comment 4•5 years ago
|
||
Comment on attachment 9093102 [details] [diff] [review]
bug1581305_observes_compose.mail.patch
Review of attachment 9093102 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM, r+ with a couple doc comments added. I tested it and all the various composer buttons/widgets were getting updated correctly.
::: mail/components/compose/content/ComposerCommands.js
@@ +366,4 @@
> }
> }
>
> function pokeStyleUI(uiID, aDesiredState) {
Could you add a doc comment? Would be good to doc these parameters while we're here.
@@ +419,5 @@
> }
> return typedarray;
> }
>
> function pokeMultiStateUI(uiID, cmdParams) {
Same, would be good to add a doc comment while we're here.
Attachment #9093102 -
Flags: review?(paul) → review+
Assignee | ||
Comment 5•5 years ago
|
||
Attachment #9093102 -
Attachment is obsolete: true
Attachment #9093822 -
Flags: review+
Assignee | ||
Comment 6•5 years ago
|
||
Attachment #9093101 -
Attachment is obsolete: true
Attachment #9093823 -
Flags: review+
Assignee | ||
Updated•5 years ago
|
Keywords: checkin-needed,
leave-open
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/e275a70046e0
remove <observes> usage from mail/: remove the ones related to cmd_toggleQuickFilterBar. r=pmorris
https://hg.mozilla.org/comm-central/rev/f5158588080a
remove <observes> usage from mail/: remove compose related usage of <observes>. r=pmorris
Keywords: checkin-needed
Updated•5 years ago
|
Target Milestone: --- → Thunderbird 71.0
Assignee | ||
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•