Commit Graph

233 Commits

Author SHA1 Message Date
dagasatvik
91d42b2553 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg
2017-08-07 23:57:51 +05:30
Georg Fritzsche
8ebf502773 Bug 1302681 - Part 2: Fix about:telemetry for displaying dynamic events. r=chutten
Fixes that about:telemetry only shows events if there are any present in processes.parent.

For some reason switching the processes in the events section also triggers HistogramSection.render(), which breaks when there are no histograms recorded in the selected process.
This patch fixes it to make things work.
2017-08-03 02:33:00 -04:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Sebastian Hengst
1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
flyingrub
c9725b6456 Bug 1384511 - Display the correct histograms in about:telemetry r=chutten
Fix "has-data" for all section that uses the process select.
Display no histograms when the current process hasn't any data and not
the parent ones.

MozReview-Commit-ID: 4tY1C2aNR6J
2017-07-28 15:42:19 +02:00
flyingrub
c763289af9 Bug 1383837 - Remove unused classes in about:telemetry r=chutten
Also :
* fix the blacklist of section of the search
* Cleanup the html code so that it takes less lines

MozReview-Commit-ID: DITHGIqj6LE
2017-07-27 19:57:47 +02:00
flyingrub
7b1e8586f2 Bug 1383837 - Save the state after a reload in about:telemetry r=chutten
Use window.location.hash to save the current section displayed
Filter the elements displayed after reload or a section change
Also save the state when switching between process

MozReview-Commit-ID: GYQEtS0As0k
2017-07-24 23:22:55 +02:00
flyingrub
6062494621 Bug 1383837 - Remove unused code in about:telemetry r=chutten
Remove the code related to expanding sections since it's not relevant
anymore.

MozReview-Commit-ID: 3Uav9S2Kj2U
2017-07-24 22:28:01 +02:00
flyingrub
ebab24e07b Bug 1383837 - Remove old statebox r=chutten
We don't need the statebox that were designed for the old
about:telemetry anymore.

MozReview-Commit-ID: LL6nzjKalE1
2017-07-24 20:16:29 +02:00
flyingrub
c00acf108a Bug 1382193 - Avoid l10n issue in about:telemetry r=chutten,flod
Provide a translation of "current".
Prevent issue with the order of the word by adding another string when
we display the current ping.

MozReview-Commit-ID: AOHXGrlm2Dt
2017-07-20 12:35:57 +02:00
flyingrub
51de83e380 Bug 1382193 - Fix hardcoded quote in about:telemetry r=flod
Remove the quote form the js file and add it to the string file.

MozReview-Commit-ID: JGgywPJ755J
2017-07-20 12:24:25 +02:00
flyingrub
8a02b146c5 Bug 1382193 - Fix Strings issue in about:telemetry r=flod
Add its own strings to the value of extendedTelemetryEnabled so that it
is independent of of telemetryEnabled.

MozReview-Commit-ID: 8p35LuWbiDw
2017-07-20 12:16:26 +02:00
flyingrub
46cbf29094 Bug 1382331 - Redesign histograms in about:telemetry r=chutten
Divide the current height by two to improve the readability.
Change the colors so that they match the firefox color palette.
Also prevent the label of histogram's bar to overlap.

MozReview-Commit-ID: 5FLgFXk94ng
2017-07-19 21:28:07 +02:00
Sebastian Hengst
3163de54ad Backed out changeset bd140659a6b7 (bug 1382331) for eslint failure at aboutTelemetry.js:1353: Strings must use doublequote. r=backout 2017-07-24 19:17:16 +02:00
flyingrub
0b492622d2 Bug 1382331 - Redesign histograms in about:telemetry r=chutten
Divide the current height by two to improve the readability.
Change the colors so that they match the firefox color palette.
Also prevent the label of histogram's bar to overlap.

MozReview-Commit-ID: 5FLgFXk94ng
2017-07-19 21:28:07 +02:00
flyingrub
a2417f63cf Bug 1382340 - Fix search in about:telemetry r=chutten
Introducing a destructuring assignement in the Bug 1378759 caused the
search throw an exception. The code was tested only in certain
circumstances where the bug wasn't triggered.

MozReview-Commit-ID: EWkKJhxMIuy
2017-07-19 21:32:48 +02:00
flyingrub
60a500761a Bug 1381089 - Fix about:telemetry raw JSON display r=chutten
Display the entire ping instead of just the payload

MozReview-Commit-ID: JnNk2AjvTvC
2017-07-17 22:11:03 +02:00
flyingrub
cadf51dc55 Bug 1380626 - Fix about:telemetry child payload selection r=chutten
Prevent a bug on child payload selection.

MozReview-Commit-ID: L0JEOUGEONI
2017-07-13 15:31:29 +02:00
flyingrub
882a3a1d8d Bug 1378759 - Add a search input to each section r=chutten
Also better integrate the process selector to the new design.

MozReview-Commit-ID: 8YV6dYPFZvA
2017-07-08 19:46:36 +02:00
flyingrub
8c7f25cd49 Bug 1374298 - Revisit the ping selection in about:telemetry r=chutten
Use a select with 3 optgroup (Today, Yesterday, Older) to sort ping.

MozReview-Commit-ID: 4Imw0cI3zxk
2017-06-29 16:44:03 +02:00
flyingrub
eab1be67ec Bug 1374298 - Convert the ping-picker to a popup in about:telemetry r=chutten
MozReview-Commit-ID: GVK9EcVp9ji
2017-06-29 14:13:44 +02:00
flyingrub
b2dfed1f98 Bug 1374298 - Filter ping by type in about:telemetry r=chutten
Allow to select ping by their type.

MozReview-Commit-ID: K7ukYocsAbt
2017-06-26 15:17:06 +02:00
Frederik Braun
96b2642639 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
flyingrub
d877b17591 Bug 1355882 - Remove Addon Histograms from about:telemetry r=chutten
Removed all code related to Addon Histograms

MozReview-Commit-ID: 878X06QizFX
2017-06-26 14:39:32 +02:00
flyingrub
c308d615f5 Bug 1370513 - Fix Subsection displayed in the sidebar r=chutten
Allow to display subsection in the sidebar. The user can now select only
one subsection to be displayed.
Also remove unused strings.

MozReview-Commit-ID: HGFyssfZhfE
2017-06-16 14:04:50 +02:00
flyingrub
4c520c7888 Bug 1370513 - Add an explanation text on about:telemetry homepage r=chutten
MozReview-Commit-ID: Bu0durfGC5R
2017-06-12 18:52:17 +02:00
flyingrub
5e572de202 Bug 1370513 - Add a sidebar and use Common.css style in about:telemetry r=chutten
Allow about:telemetry design to be consistent with others about:* pages.


MozReview-Commit-ID: FG7tAmWcg9
2017-06-06 15:25:15 +02:00
Carsten "Tomcat" Book
61b31aecba Backed out changeset 7aa109946f67 (bug 1370513) for test failures in browser_misused_characters_in_strings.js 2017-06-22 17:11:02 +02:00
Carsten "Tomcat" Book
65449c0da0 Backed out changeset 811f94aea5ae (bug 1370513) 2017-06-22 17:10:47 +02:00
Carsten "Tomcat" Book
812b0b976d Backed out changeset cde5fccb8538 (bug 1370513) 2017-06-22 17:10:45 +02:00
flyingrub
56c89323fc Bug 1370513 - Fix Subsection displayed in the sidebar r=chutten
Allow to display subsection in the sidebar. The user can now select only
one subsection to be displayed.

MozReview-Commit-ID: HGFyssfZhfE
2017-06-16 14:04:50 +02:00
flyingrub
d74f6bfbcf Bug 1370513 - Add an explanation text on about:telemetry homepage r=chutten
MozReview-Commit-ID: Bu0durfGC5R
2017-06-12 18:52:17 +02:00
flyingrub
772657075d Bug 1370513 - Add a sidebar and use Common.css style in about:telemetry r=chutten
Allow about:telemetry design to be consistent with others about:* pages.


MozReview-Commit-ID: FG7tAmWcg9
2017-06-06 15:25:15 +02:00
flyingrub
b01f7c863f Bug 1373823 - Fix about:telemetry data preferences change button in beta55 r=chutten
MozReview-Commit-ID: Ht6iBBEDEtP
2017-06-21 17:17:00 +02:00
flyingrub
a17fd6e08b Bug 1366978 - Fix about:telemetry data preferences change button r=chutten
Redirect the link to about:preferences#privacy-reports

MozReview-Commit-ID: HIq9zpT6Jz9
2017-06-05 12:16:37 +02:00
flyingrub
051b67c26f Bug 1368667 - Generalize Subsection Renderer r=chutten
Allow the use of the subsection render not just for the environment data.
It could help future developer to display subsection for another special
ping data. Also it will help with the redesign of the UI.

MozReview-Commit-ID: DHoS7Zw7IyC
2017-06-01 16:37:33 +02:00
flyingrub
ac407891f3 Bug 1368667 - Remove KeyValueTable as it is similar to GenericTable r=chutten
GenericTable expect an array of array as data where KeyValueTable used to expect an object.
Use explodeObject() to process an object so it can be used by GenericTable.


MozReview-Commit-ID: 6hxxFwF2KXg
2017-06-01 12:22:21 +02:00
flyingrub
24ce29e205 Bug 1368667 - Replace KeyValueTable with GenericTable r=chutten
Both provide the same functionality so we only need to keep one of them.

MozReview-Commit-ID: AOiiRiFr1fD
2017-05-31 16:24:08 +02:00
flyingrub
ab26d27027 Bug 1368667 - Move Section Specific code to their own objects r=chutten
Most of the sections were already in their own object. This fixes the one that are not.


MozReview-Commit-ID: 92lAtwYwbDl
2017-05-31 14:38:11 +02:00
flyingrub
d767f7ca9f Bug 1368667 - Refactor General Data r=chutten
Introduce the replacement of KeyValueTable by GenericTable.
Both provide the same feature so we only need one.

MozReview-Commit-ID: AyWKPkrlX64
2017-05-30 14:44:49 +02:00
flyingrub
e29f99a8ee Bug 1368502 - Remove unused import in about:telemetry r=chutten
MozReview-Commit-ID: 3NK85cXtuLP
2017-05-29 17:42:25 +02:00
Timothy Guan-tin Chien
4c88727425 Bug 1363850, Part III, Set pref to make new about:preferences Nightly only, r=jaws,mconley
MozReview-Commit-ID: Khanjh79tPd
2017-05-25 18:12:00 +08:00
flyingrub
2e11d2f98b Bug 1363828 - First attempt at making about:telemetry more exception r=chutten
safe

We could also test ping.environment.addons before using it.


MozReview-Commit-ID: 1z6NdLPTBqN
2017-05-26 18:15:22 +02:00
flyingrub
720909b62e Bug 1363828 - Replace custom isArray() by Array.isArray() r=chutten
MozReview-Commit-ID: 9uErcVbMgLv
2017-05-26 17:05:18 +02:00
Fischer.json
b2508dd4e6 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Michael Layzell
8cbc0b0e22 Bug 1358516 - Don't try to display an unsymbolicated native stack in about:telemetry, r=gfritzsche
MozReview-Commit-ID: FHh0NScq8Jl
2017-04-25 11:20:54 -04:00
Zack Herrick
50c0d3d538 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7
2017-03-29 11:52:08 -04:00
Jared Wein
5a181760cc Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
flyingrub
ca8e4a89d8 Bug 1346812 - Use standard pad functions in aboutTelemetry.js r=gfritzsche
MozReview-Commit-ID: 7S3tUVvoKsv
2017-03-13 16:12:00 +01:00