Closed
Bug 1679255
Opened 4 years ago
Closed 3 years ago
remove <deck> from migration.xhtml
Categories
(Thunderbird :: General, task)
Thunderbird
General
Tracking
(thunderbird_esr78 wontfix, thunderbird84 wontfix)
RESOLVED
FIXED
85 Branch
People
(Reporter: mkmelin, Assigned: khushil324)
References
Details
Attachments
(1 file, 3 obsolete files)
3.20 KB,
patch
|
khushil324
:
review+
|
Details | Diff | Splinter Review |
Remove <deck> from https://searchfox.org/comm-central/rev/f8c11a36225bbe5e145f1a9a0a3801428e265715/mail/components/migration/content/migration.xhtml#30-47
It only has two children, https://searchfox.org/comm-central/rev/f8c11a36225bbe5e145f1a9a0a3801428e265715/mail/components/migration/content/migration.xhtml#31,46
These we can show/hide as needed. May need a min-height is one isn't set.
Assignee | ||
Comment 1•4 years ago
|
||
Attachment #9189713 -
Flags: review?(mkmelin+mozilla)
Assignee | ||
Updated•4 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•4 years ago
|
||
Comment on attachment 9189713 [details] [diff] [review] Bug-1679255_de-deck-migration-xhtml-0.patch Review of attachment 9189713 [details] [diff] [review]: ----------------------------------------------------------------- ::: mail/components/migration/content/migration.js @@ +156,4 @@ > > if (firstNonDisabled) { > this._wiz.canAdvance = true; > + document.getElementById("importSourceNotFound").hidden = true; Doesn't it need to unhide the other one?
Assignee | ||
Comment 3•4 years ago
|
||
Both are shown by default and we will hide one of them according to the window arguments.
Reporter | ||
Updated•4 years ago
|
Attachment #9189713 -
Flags: review?(mkmelin+mozilla) → review?(alessandro)
Comment 4•4 years ago
|
||
Comment on attachment 9189713 [details] [diff] [review] Bug-1679255_de-deck-migration-xhtml-0.patch Review of attachment 9189713 [details] [diff] [review]: ----------------------------------------------------------------- I think would be better to approach this from the other side, meaning we should start with both items hidden and only reveal what we need. Since all the labels use textContent and not value, starting with all the elements hidden won't affect sizing or text wrapping. The dialog is also sized by itself, so having both items visible by default is not very useful, and we might stumble upon a "flashing" UI if for whatever reason the JS code is delayed. ::: mail/components/migration/content/migration.xhtml @@ +39,2 @@ > #ifdef XP_WIN > + <radio id="outlook" label="&importFromOutlook.label;" accesskey="&importFromOutlook.accesskey;"/> nit: remove the extra empty characters before the label and accesskey attributes and indent them to respect the max character limit.
Attachment #9189713 -
Flags: review?(alessandro) → feedback+
Assignee | ||
Comment 5•4 years ago
|
||
Attachment #9189713 -
Attachment is obsolete: true
Attachment #9189926 -
Flags: review?(mkmelin+mozilla)
Assignee | ||
Updated•4 years ago
|
Attachment #9189926 -
Flags: review?(mkmelin+mozilla) → review?(alessandro)
Assignee | ||
Comment 6•4 years ago
|
||
Attachment #9189926 -
Attachment is obsolete: true
Attachment #9189926 -
Flags: review?(alessandro)
Assignee | ||
Updated•4 years ago
|
Attachment #9189938 -
Flags: review?(alessandro)
Comment 7•4 years ago
|
||
Comment on attachment 9189938 [details] [diff] [review] Bug-1679255_de-deck-migration-xhtml-2.patch Review of attachment 9189938 [details] [diff] [review]: ----------------------------------------------------------------- Good stuff, thanks for taking care of this. Please, update the commit message with "Bug 1679255 - Remove the <deck> XUL element from the migration.xhtml dialog. r=aleca" ::: mail/components/migration/content/migration.js @@ +160,1 @@ > } else { nit: here you can use a return; and avoid the else callback since no other code needs to run after the condition.
Attachment #9189938 -
Flags: review?(alessandro) → review+
Assignee | ||
Comment 8•3 years ago
|
||
Attachment #9189938 -
Attachment is obsolete: true
Attachment #9190085 -
Flags: review+
Assignee | ||
Updated•3 years ago
|
Keywords: checkin-needed-tb
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/857e14a1cfe2
Remove the <deck> XUL element from the migration.xhtml dialog. r=aleca
Reporter | ||
Updated•3 years ago
|
status-thunderbird84:
--- → wontfix
status-thunderbird_esr78:
--- → wontfix
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•