Closed
Bug 1498606
Opened 6 years ago
Closed 6 years ago
[de-xbl] Remove mail-messageid binding.
Categories
(Thunderbird :: Mail Window Front End, task)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 64.0
People
(Reporter: arshad, Assigned: arshad)
References
Details
Attachments
(1 file, 4 obsolete files)
4.44 KB,
patch
|
arshad
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•6 years ago
|
||
Assignee: nobody → arshdkhn1
Status: NEW → ASSIGNED
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → arshdkhn1
Status: NEW → ASSIGNED
Assignee | ||
Updated•6 years ago
|
Attachment #9016932 -
Flags: review?(mkmelin+mozilla)
Comment 2•6 years ago
|
||
Comment on attachment 9016932 [details] [diff] [review] mail-messageid.patch Review of attachment 9016932 [details] [diff] [review]: ----------------------------------------------------------------- You lost the context menu, which is the main reason for this binding to exits. Also, looks like messageIdDisplayImage is just used for padding so we can drop that and inline the label text instead, leading to quite a bit of simplification
Attachment #9016932 -
Flags: review?(mkmelin+mozilla) → review-
Assignee | ||
Comment 3•6 years ago
|
||
Attachment #9016932 -
Attachment is obsolete: true
Assignee | ||
Updated•6 years ago
|
Attachment #9017144 -
Flags: review?(mkmelin+mozilla)
Comment 4•6 years ago
|
||
Comment on attachment 9017144 [details] [diff] [review] mail-messageid.patch Review of attachment 9017144 [details] [diff] [review]: ----------------------------------------------------------------- Please test your patches. This one is not working, apparently since the message id fields have < and > in them and then probably some escaping needs to take place. With the patch, all the fields are invisible ::: mail/base/content/mailWidgets.js @@ +130,5 @@ > + this._updateAttributes(); > + } > + > + _updateAttributes() { > + this.textContent = this.label || ""; there's a double space here @@ +134,5 @@ > + this.textContent = this.label || ""; > + } > + > + set label(val) { > + this.setAttribute("label", val); for val null, please remove attribute
Attachment #9017144 -
Flags: review?(mkmelin+mozilla) → review-
Assignee | ||
Comment 5•6 years ago
|
||
Attachment #9017144 -
Attachment is obsolete: true
Attachment #9017833 -
Flags: review?(mkmelin+mozilla)
Assignee | ||
Comment 6•6 years ago
|
||
Comment on attachment 9017833 [details] [diff] [review] mail-messageid.patch Review of attachment 9017833 [details] [diff] [review]: ----------------------------------------------------------------- ::: mail/base/content/mailWidgets.js @@ +124,5 @@ > + this.classList.add("messageIdDisplayButton"); > + this.setAttribute("context", "messageIdContext"); > + this._updateAttributes(); > + > + this.addEventListener("click", (event) => { Should we remove the event listener? can i case arise where we want to do this?
Comment 7•6 years ago
|
||
Comment on attachment 9017833 [details] [diff] [review] mail-messageid.patch Review of attachment 9017833 [details] [diff] [review]: ----------------------------------------------------------------- This is working now. r=mkmelin with the small change below The event listener should be kept. Clicking on message ids is fairly useful for instance for References, so you can go and open the original message this message was a reply to. ::: mail/base/content/mailWidgets.js @@ +138,5 @@ > + this.textContent = this.label || ""; > + } > + > + set label(val) { > + if (val === null || val === undefined) { use if (val == null) instead. this will match both null and undefined
Attachment #9017833 -
Flags: review?(mkmelin+mozilla) → review+
Assignee | ||
Comment 8•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=73f75351f7bea768c888416ce23a89b34efde138
Assignee | ||
Comment 9•6 years ago
|
||
Attachment #9017833 -
Attachment is obsolete: true
Attachment #9018591 -
Flags: review+
Assignee | ||
Comment 10•6 years ago
|
||
Attachment #9018591 -
Attachment is obsolete: true
Attachment #9018592 -
Flags: review+
Assignee | ||
Comment 11•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=a9f525b48d56f4e1bc6dd51c6106d499f20d0188
Assignee | ||
Comment 12•6 years ago
|
||
hopefully with correct tip - https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=f98c8de6ff150374517c0dba8bada2d833104812
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 13•6 years ago
|
||
Yes, things have been bumpy today :-(
Comment 14•6 years ago
|
||
https://hg.mozilla.org/comm-central/rev/baf2d45077353ff89255ffedcfea660bda226e4d Bug 1498606 - Migrate mail-messageid binding to custom element. r=mkmelin DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 64.0
Updated•5 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•