[de-xbl] convert chat tooltip (imtooltip.xml) to a custom element <tooltip is="chat-tooltip"/>
Categories
(Thunderbird :: Instant Messaging, task)
Tracking
(Not tracked)
People
(Reporter: mkmelin, Assigned: mkmelin)
References
Details
Attachments
(2 files, 9 obsolete files)
36.89 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
36.67 KB,
patch
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment on attachment 9031418 [details] [diff] [review]
bug1506529_chat-tooltip.patch
Florian offered to handle this for me, he knows this code much better.
Assignee | ||
Comment 8•7 years ago
|
||
Rebased on top of 1519091 (and other landings)
Assignee | ||
Comment 9•6 years ago
|
||
Refreshed. Please review within a reasonable time. It's difficult to get a reasonable overview of what to tackle next when too many patches are in the review pipeline, in combination with general bustages.
Comment 10•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #9)
Created attachment 9044157 [details] [diff] [review]
bug1506529_chat-tooltip.patchRefreshed. Please review within a reasonable time.
Unless you want a review by code-inspection only, it's going to be hard (if not impossible) to review before bug 1528907 is fixed.
Assignee | ||
Comment 11•6 years ago
|
||
Unbitrotted again.
Can we get this reviewed and landed? It's actually the last of the chat xbl bindings, yay!
My previous comment still applies: yes not super easy to review, but test it out and if there aren't any obvious problems that come to mind, it's probably just easier to do follow-ups if needed.
Comment 12•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 13•6 years ago
|
||
(In reply to Florian Quèze [:florian] from comment #12)
Is there a requirement to write <foo></foo> rather than <foo/>? This makes
the markup look heavier than it actually is.
No. And yes. The converter doesn't use the self-closing form. I think because custom elements are not allowed to be self-closing, so say in the future foo is converted to a custom element, that would be invalid if written as self-closing. I guess it currently works with the short form, but it might break in the future.
Assignee | ||
Comment 14•6 years ago
|
||
Let's get this fixed.
Assignee | ||
Comment 15•6 years ago
|
||
(Forgot to run lint)
Comment 16•6 years ago
|
||
Is this why I don't see a participant tooltip when hovering the nick in a conversation in TB 69.0b1?
I see bug 956579 was fixed for TB 29.0.
It is working in TB 60.8.0.
Assignee | ||
Comment 17•6 years ago
|
||
No, this bug hasn't landed yet so it can't possibly have caused any problems.
Comment 18•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #17)
No, this bug hasn't landed yet so it can't possibly have caused any problems.
Sorry, I wasn't clear about my query.
Is the reason I don't see a tooltip because this hasn't landed yet, and the chat tooltip code still has xbl?
Comment 19•6 years ago
|
||
The tooltip doesn't appear in 69.0a1 either, so that is probably why I don't see it in 69.0b1 or 70.0a1.
Assignee | ||
Comment 20•6 years ago
|
||
I don't think so.
Assignee | ||
Comment 21•6 years ago
|
||
Florian: ping on the review. I'd like to get this landed.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 22•6 years ago
|
||
Let's get this landed soon. Alex, can you do the review?
It's a bit of a special custom element... Can't (apparently) do the normal customizable built-in definition to inherit from "tooltip" - but it works as one anyway. Can't also check children for it since the built in will confuse us, and the event handlers must be set up in the constructor for it to work.
Assignee | ||
Updated•6 years ago
|
Comment 23•6 years ago
|
||
Assignee | ||
Comment 24•6 years ago
|
||
Fixed the nits except for self-closing. We want the full format not to get into a mess later (CEs can't be self-closing).
Comment 26•6 years ago
|
||
That landed already.
Comment 27•6 years ago
|
||
Usually we do a rename. Which one do you prefer?
Updated•6 years ago
|
Assignee | ||
Comment 28•6 years ago
|
||
Let's land it with the rename.
Comment 29•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/2e6b9d58dad5
[de-xbl] convert chat tooltip (imtooltip.xml) binding to custom element <tooltip is="chat-tooltip"/>. r=florian,aleca
Updated•6 years ago
|
Description
•