Use HTML input instead of XUL textbox in calendar-unifinder-todo.xul
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: aleca, Assigned: aleca)
References
Details
Attachments
(1 file, 3 obsolete files)
4.11 KB,
patch
|
pmorris
:
review+
aleca
:
feedback+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
To fully test this, you'd need to load the patch on bug 1562997 if it hasn't landed yet, as some JS and CSS are shared.
Comment 2•5 years ago
|
||
Comment on attachment 9084378 [details] [diff] [review] 1562998-textbox-html-input.patch Review of attachment 9084378 [details] [diff] [review]: ----------------------------------------------------------------- LGTM ::: calendar/base/content/calendar-unifinder-todo.xul @@ +21,5 @@ > <vbox id="todo-tab-panel" persist="height,collapsed" flex="1"> > <!-- This second vbox means all of this is added to the DOM at once, > so the label's binding doesn't complain about not having a control. --> > <vbox flex="1"> > <box id="todo-label" align="left" collapsed="true"> hmm, looks to me this box (and label) are never shown? not due to this patch...
Assignee | ||
Comment 3•5 years ago
|
||
Indeed, that box and label are always collapsed.
Are we safe to remove it?
Assignee | ||
Comment 4•5 years ago
|
||
I removed that unused label and launched a try run to see if any tests fail.
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=676d0d48257e44b0a9d0c26cd368dafafad73c90
Accessibility wise, that label wasn't adding anything useful to the tasks tree pane.
Assignee | ||
Comment 5•5 years ago
|
||
A couple of test failures fixed.
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=3a6fea228767bc77a326c9e5bd16f51bd930502f
Assignee | ||
Comment 6•5 years ago
|
||
Mhh, this is odd.
Those 2 Mochitest failures pass locally after the updated patch.
Any idea how I can troubleshoot this?
Comment 7•5 years ago
|
||
Mochitest, not my territory. How do you run them, I'd like to learn. In return I can tell you that these fail all the time, so don't worry.
Assignee | ||
Comment 8•5 years ago
|
||
For this particular test I run ./mach mochitest mail/components/extensions/test/browser/browser_ext_browserAction.js
from the source/
directory.
It was failing locally the first time, but I fixed it after adding the scripts necessary for an html:input
to enable the right click context menu:
<script src="chrome://global/content/globalOverlay.js"/>
<script src="chrome://global/content/editMenuOverlay.js"/>
But as you saw it keeps failing with the try-run.
Comment 9•5 years ago
|
||
Thanks, noted :-)
Comment 10•5 years ago
|
||
Comment on attachment 9085216 [details] [diff] [review] 1562998-textbox-html-input.patch Review of attachment 9085216 [details] [diff] [review]: ----------------------------------------------------------------- Looks good ::: calendar/base/content/calendar-unifinder-todo.xul @@ -21,5 @@ > <!-- This second vbox means all of this is added to the DOM at once, > so the label's binding doesn't complain about not having a control. --> > <vbox flex="1"> > - <box id="todo-label" align="left" collapsed="true"> > - <label flex="1" crop="end" style="font-weight: bold" value="&calendar.unifinder.todoitems.label;" control="unifinder-todo-tree"/> should remove the calendar.unifinder.todoitems.label from the dtd too
Assignee | ||
Comment 11•5 years ago
|
||
Great, updated!
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Comment on attachment 9085497 [details] [diff] [review] 1562998-textbox-html-input.patch Review of attachment 9085497 [details] [diff] [review]: ----------------------------------------------------------------- r+ Looks good and works as expected.
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/91539be83495
textbox to html input in calendar-unifinder-todo.xul. r=mkmelin,pmorris
Updated•5 years ago
|
Description
•