Update UI for Data Collection and Use to match Firefox's
Categories
(Thunderbird :: General, task, P2)
Tracking
(thunderbird78 fixed)
Tracking | Status | |
---|---|---|
thunderbird78 | --- | fixed |
People
(Reporter: mkmelin, Assigned: mkmelin)
References
Details
Attachments
(2 files)
19.55 KB,
patch
|
aleca
:
feedback+
|
Details | Diff | Splinter Review |
20.67 KB,
patch
|
Paenglab
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1597180 +++
Our preferences UI related to Telemetry would be better to update to match what Firefox has.
I have a patch for this, on top of bug 1615501.
Assignee | ||
Comment 1•5 years ago
|
||
Mostly copy paste from Firefox.
I notice Firefox put all their strings into preferences.ftl but we're using the separate files. Was there a reason for that? I've now put the new ones into preferences.ftl but they could be elsewhere too.
Assignee | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
I notice Firefox put all their strings into preferences.ftl but we're using the separate files. Was there a reason for that? I've now put the new ones into preferences.ftl but they could be elsewhere too.
I think we had all separated files to keep the various sections organized and kind of standalone when we had a more strict separation with multiple sections and tabs.
I'm now transitioning everything into 5 files, mostly to not have the single preferences.ftl
grow too much, and to better handle fluent migrations, which don't play well when migrating onto the same file from different patches.
We could consider doing a final migration to move everything into a single FTL file, but I'd do that at the end in order to keep the patches small and easy to review/migrate.
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
(In reply to Alessandro Castellani (:aleca) from comment #3)
Comment on attachment 9151865 [details] [diff] [review]
Many of the things pointed out are just from the copy pasted firefox code. While correct, I think it's preferable for some cases to use the same as they do to ease future porting work.
<hbox align="start" style="padding-bottom:2em;">
We shouldn't do this. Inline style make our UI inconsistent when updating
It's working around the rendering problem which is likely due to xul/html mixing here. Firefox has a xul:groupbox so not needed there. But we already removed those in favour of html:fieldset.
checkbox.setAttribute("disabled", "true");
Should this be a boolean and not string?
No, it's a xul:checkbox.
@@ +535,5 @@
- if (!checkbox.checked) {
telemetryContainer.hidden = checkbox.checked;
- } else {
telemetryContainer.hidden = checkbox.checked;
- }
Is this condition necessary?
Copy paste, but that does look unnecessary :)
Assignee | ||
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #6)
-vendor-short-name is
mozilla.org
. Is this correct?
It's mozilla.org for nightly/unofficial - depends on the build config. It's the same as for Firefox.
I don't know if this script is executed on every build. But I haven't seen
It's run manually. I'm removing the migration of those values since they will be gone before the script is run the first time.
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/907599e03dc4
Update UI for Data Collection and Use to match Firefox's. r=Paenglab
Comment 9•5 years ago
|
||
Magnus, I think we should scratch this <html:fieldset>. I saw that you have added this workaround (https://hg.mozilla.org/comm-central/rev/907599e03dc4#l2.74) to fix the overflow a bit. But making the window narrower let it still overflow. FX didn't use <html:fieldset> in the prefs and we should go back, at least for TB 78, to not get bug reports because of the bad overflow behaviour (like bug 1618616).
I have nothing said in the review to let it land before the string freeze. I'm also on a fix to make the Learn more
align better.
Assignee | ||
Updated•4 years ago
|
Description
•