Closed
Bug 1507245
Opened 6 years ago
Closed 6 years ago
Adapt notification binding to changes in bug 1496827
Categories
(Thunderbird :: General, enhancement)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 65.0
People
(Reporter: jorgk-bmo, Assigned: arshad)
References
Details
Attachments
(2 files, 1 obsolete file)
2.74 KB,
image/png
|
Details | |
15.72 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
See bug 1496827 comment #7 and above: You'll probably need to rename the XBL'ed element from <notification> to something else so that you don't end up with both XBL and a Custom Element attached to it after this bug lands. Bug 1496827 is on inbound, so we'll have bustage soon :-(
Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(arshdkhn1)
Assignee | ||
Comment 1•6 years ago
|
||
Ok, I am on this. What should I rename the xbl notification element to?
Flags: needinfo?(arshdkhn1)
Reporter | ||
Comment 2•6 years ago
|
||
notificationXBL? ;-) legacy_notification?
Comment 3•6 years ago
|
||
Something lowercase. Perhaps xbl-notification.
Flags: needinfo?(mkmelin+mozilla)
Assignee | ||
Comment 4•6 years ago
|
||
I have renamed all the instances of notification to xbl-notification. The css might be off because the notfication css that comes from /mozilla hasn't been copied yet. What should I do with the notification css coming from /mozilla? Should I copy it to a file add it to messenger.css?
Assignee: nobody → arshdkhn1
Flags: needinfo?(richard.marti)
Flags: needinfo?(mkmelin+mozilla)
Comment 5•6 years ago
|
||
Comment on attachment 9025207 [details] [diff] [review] xnotification.patch Looks good. You need to copy the notification rules from notification.inc.css. I propose to create a new file like xbl-notification.css in our themes/shared and @import it in bindings.css. Like this it's easy to remove again when the XBL is no more needed.
Flags: needinfo?(richard.marti)
Reporter | ||
Comment 7•6 years ago
|
||
No test failures to be seen, does that mean that everything is still working?
Comment 8•6 years ago
|
||
Possibly, dunno if the custom element or xbl wins when both are applied, or if the element gets into some kind of Frankenstein state with both behaviours. At least some css might have to be adjusted for things to look like it should.
Comment 9•6 years ago
|
||
This is how it looks actually.
Comment 10•6 years ago
|
||
I am so cheeky and and add the needed CSS. I also removed the no more needed rules for mac as we have now a popup and moved the messenger.css rules to xbl-notification.css.
Attachment #9025306 -
Flags: review?(mkmelin+mozilla)
Comment 11•6 years ago
|
||
Comment on attachment 9025306 [details] [diff] [review] xnotification.patch Review of attachment 9025306 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, r=mkmelin
Attachment #9025306 -
Flags: review?(mkmelin+mozilla) → review+
Updated•6 years ago
|
Keywords: checkin-needed
Updated•6 years ago
|
Attachment #9025207 -
Attachment is obsolete: true
Reporter | ||
Comment 12•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=01dbc444e9e0c4f6e0c2b6a87ee0914031ea05af
Comment 13•6 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/3f6a3f235390 Rename xbl notification element to xbl-notification. r=mkmelin
Reporter | ||
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 65.0
You need to log in
before you can comment on or make changes to this bug.
Description
•