Commit Graph

302 Commits

Author SHA1 Message Date
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Jeremy Lempereur
5c2cf78ff5 Bug 1432871 - about:telemetry - Fix selected option comparison in the Histograms section r=chutten
Followup on the previous commit, the same pattern occured in the Histograms section.

MozReview-Commit-ID: 41SiI1nBLSm
2018-01-31 15:08:31 +01:00
Jeremy Lempereur
c3bd025e8e Bug 1432871 - about:telemetry - showing the Keyed Histograms category. r=chutten
The "Keyed Histograms" category didn't alway have the "has-data" class although there were some data to display. "option" was compared to a string but it's a dom element, so its value should be compared instead.

MozReview-Commit-ID: 3eC0UPpJaNJ
2018-01-29 21:52:54 +01:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Jeremy Lempereur
b2640c2d93 Bug 1428334 - Navigating on about:telemetry frequently opens data:application/json;base64 tabs r=chutten
Refactored a call to ChromeHangs.render() I forgot while fixing the "Show raw stack data" link (Bug 1427484).

MozReview-Commit-ID: 3Ul1wCRhdxG
2018-01-05 18:05:09 +01:00
Zibi Braniecki
20c66877f9 Bug 1428172 - Align mozIntl with Intl when working with constructors. r=nalexander
MozReview-Commit-ID: 5jGk1jXKkay
2018-01-04 13:01:43 -08:00
Jeremy Lempereur
829d0b46c1 Bug 1395091 - about:telemetry global search should have headings before section results. r=chutten
Put a table heading to each search section in the about:telemetry homepage.

MozReview-Commit-ID: 7DaFjy6lbcq
2018-01-04 00:26:23 +01:00
Jeremy Lempereur
b8df7813c8 Bug 1427484 - Fix about:telemetry "Show raw stack data" button in Browser Hangs section. r=chutten
The "Show raw stack data" button in the Browser Hangs section produced nothing but removing the "Browser Hangs" section from the about:telemetry navigation menu. I looked at the way the Late Writes section works and patched the Chrome Hangs render calls accordingly.

MozReview-Commit-ID: Gq681oVrg90
2017-12-31 17:22:51 +01:00
Jeremy Lempereur
586bb78513 Bug 1413448 - Fix about:telemetry "no data available" overlay in the Late Writes section. r=chutten
The search feature in the Late Writes section does not work, and a message claiming "Sorry there's no data available in "Late Writes" hindered the view of the data. I added the late-writes-section to the search blacklist.

MozReview-Commit-ID: 4Fqfh9zhzJZ
2017-12-31 21:20:59 +01:00
Jeremy Lempereur
85e406451d Bug 1413448 - Fix about:telemetry "no data available" overlay in the Browser Hangs section. r=chutten
The search feature in the Browser Hangs section does not work, and a message claiming "Sorry there's no data available in "Browser Hangs" hindered the view of the data. I added the chrome-hangs-section to the search blacklist.

MozReview-Commit-ID: JJ4eb1fSOfg
2017-12-31 21:18:29 +01:00
Mats Palmgren
145b8a6abb Bug 1375114 - Disable selection entirely in the #categories navigation panel. r=chutten
MozReview-Commit-ID: 9mucWUigXSG
2017-11-01 19:20:00 -04:00
Aditya Bharti
b47a1e034e Bug 1414688 - Fix about:telemetry page in RTL locales opens JSON viewer. r=chutten
In RTL locales, the about:telemetry page opened a JSON viewer window because hgram.buckets.reverse()
was being called in RTL mode. Since a refactor tracked in bug 1122480, histograms no longer have a 'buckets' field.
Removing the call to hgram.buckets fixed this bug.
2017-11-16 21:42:03 +05:30
Georg Fritzsche
df1b3391ea Bug 1394196 - Update about:telemetry settings string to new data preference semantics. r=chutten 2017-10-24 04:47:00 -04:00
Sebastian Hengst
12a883852f Backed out changeset 2a0a1c887047 (bug 1394196) for l10n issues. r=backout a=backout
MozReview-Commit-ID: KxdLWrhTs3W
2017-10-24 12:54:23 +02:00
Georg Fritzsche
373ea345c6 Bug 1394196 - Update about:telemetry settings string to new data preference semantics. r=chutten 2017-10-23 11:51:00 -04:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Sebastian Hengst
8bc209c582 Bug 1406787 - Click on currently active ping in start section should open ping picker. r=Dexter
MozReview-Commit-ID: 1riOrN2Oj1P
2017-10-08 21:41:00 +02:00
Ian Moody
98eaaf2942 Bug 1403585 - React to about:telemetry URL hash after data is present. r=chutten
Currently if a subsection (for the environment section) is included in the hash
on load the page breaks, because urlStateRestore ends up calling showSubSection
with no element, which then throws.  Move the urlStateRestore call after the
update.
Also guard against showSubSection receiving an empty argument.

MozReview-Commit-ID: 2bYrEQlHlqN
2017-09-29 18:46:58 +01:00
Vedant Chakravadhanula
751268d7d1 Bug 1396855 - about:telemetry : Added search terms in the URL fragment. r=chutten
Implementation of the search terms in the url fragment was done as concisely as possible(considering the various conditions required, with the underscore when other hash terms are present). To implement search through hashes in URL, the function urlStateRestore() was changed. To make the changes more aesthetic, another function urlSectionRestore() performs the tasks earlier performed by urlStateRestore(), and urlStateRestore() now implements the search parsing and a call to urlSectionRestore().

MozReview-Commit-ID: 9vgjNUpJkQG
2017-09-30 09:07:50 +05:30
Francesco Lodolo (:flod)
f61a349058 Bug 1399511 - Update message displayed when a section has no data in about:telemetry r=chutten
MozReview-Commit-ID: 2Hb4oKKlhG7
2017-09-15 06:53:33 +02:00
Chris H-C
1512599506 bug 1399082 - about:telemetry l10n fixes r=flod
We were reusing "all sections" in more than one way, which isn't a globally-
permissable language use. Embedding the substring directly takes care of it
while at the same time embedding it within its context.

MozReview-Commit-ID: CTQhFWEajRo
2017-09-12 14:12:55 -04:00
Wes Kocher
0ccaeccd1b Backed out changeset b061a65e51d7 (bug 1399082) for failures in browser_misused_characters_in_strings.js a=backout
MozReview-Commit-ID: 3pIsd3pvXrq
2017-09-13 10:12:19 -07:00
Chris H-C
b3d27ec706 bug 1399082 - about:telemetry l10n fixes r=flod
We were reusing "all sections" in more than one way, which isn't a globally-
permissable language use. Embedding the substring directly takes care of it
while at the same time embedding it within its context.

MozReview-Commit-ID: CTQhFWEajRo
2017-09-12 14:12:55 -04:00
Chris H-C
be37b06912 bug 1396836 - Tidy up about:telemetry search r=Dexter
Search would leave text in the input field when switching categories,
show a 'No search results' message on load, and show a 'No search results'
message in sections without search inputs.

Tidy those cases away.

MozReview-Commit-ID: BbkgIjq8fYD
2017-09-08 15:13:59 -04:00
Sebastian Hengst
a31d701e39 Backed out changeset c6ec5f35710a (bug 1396836) for eslint failures in aboutTelemetry.js. r=backout 2017-09-11 16:50:26 +02:00
Chris H-C
dbf41ca029 bug 1396836 - Tidy up about:telemetry search r=Dexter
Search would leave text in the input field when switching categories,
show a 'No search results' message on load, and show a 'No search results'
message in sections without search inputs.

Tidy those cases away.

MozReview-Commit-ID: BbkgIjq8fYD
2017-09-08 15:13:59 -04:00
Chris H-C
77a34175cc bug 1396894 - Don't error out when rendering normally-structured pings r=Dexter
Acceptably-structured pings should render fine in about:telemetry and not
trigger the panic mode of "Just show them the JSON!" that happens when an
exception is thrown.

Two things caught here:
1: Environment section without addon subsection
2: subsection searches

MozReview-Commit-ID: 3Z0hud23XuD
2017-09-05 14:37:06 -04:00
Sebastian Hengst
ac4808b6f9 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: KLssMPhSQ0O
2017-09-06 11:26:13 +02:00
Cosm
5b0201f997 Bug 1395956 - Update gecko.readthedocs links to the new firefox-source-docs.mozilla.org location. r=chutten 2017-09-02 22:11:02 +05:30
Francesco Lodolo (:flod)
248a1f0320 Bug 1396211 - Use mozIntl for dates in aboutTelemetry.js, clean up unused code r=chutten
MozReview-Commit-ID: KdUDzYNQqvD
2017-09-02 12:00:25 +02:00
Sebastian Hengst
c85384edf0 Backed out changeset 78cce071b69e (bug 1396211) for eslint failure in toolkit/content/aboutTelemetry.js: Strings must use doublequote. r=backout 2017-09-05 22:09:17 +02:00
Francesco Lodolo (:flod)
6f49626657 Bug 1396211 - Use mozIntl for dates in aboutTelemetry.js, clean up unused code r=chutten
MozReview-Commit-ID: KdUDzYNQqvD
2017-09-02 12:00:25 +02:00
flyingrub
b13ead6ed7 Bug 1381831 - Improve about:telemetry start page r=chutten
Make about:telemetry start page a useful entry point into Telemetry

MozReview-Commit-ID: JIgU3acT1fS
2017-08-21 13:29:07 +02:00
Ricky Chien
6bbcb028a8 Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Sebastian Hengst
c97c631ff5 Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout 2017-08-31 16:58:32 +02:00
Ricky Chien
4dd95d9a6c Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
flyingrub
32e07e6a3c Bug 1393478 - Fix subsection search in about:telemetry r=chutten
Allow to search for the section's name and fix useless margin in search.

MozReview-Commit-ID: HwCXq0tUct5
2017-08-29 16:20:36 +02:00
flyingrub
b0ace8ed50 Bug 1393478 - Display when no results are available in about:telemetry r=chutten
Also keep the search state when changing ping.

MozReview-Commit-ID: 9M2hz7ttl8e
2017-08-29 11:32:26 +02:00
flyingrub
b73f587ea8 Bug 1393478 - Clear the search filter when switching section r=chutten
MozReview-Commit-ID: 3Rtr8eLsc77
2017-08-25 16:48:58 +02:00
flyingrub
2ade79172c Bug 1392230 - Fix placeholder text in about:telemetry r=chutten
Fix the placeholder text for the search on the home.

MozReview-Commit-ID: 9YSrB3FdFCL
2017-08-24 14:18:28 +02:00
flyingrub
15ef09376f Bug 1392230 - Fix sql statements in about:telemetry r=chutten
Display only one line at the bottom of table.

MozReview-Commit-ID: CV7ldZs6obl
2017-08-22 12:08:27 +02:00
flyingrub
ffc471f8e2 Bug 1392230 - Small design fixes in about:telemetry r=chutten
Fix font size according to photon specs.

MozReview-Commit-ID: 8qRWgbNIgYr
2017-08-21 14:12:21 +02:00
flyingrub
8d7ba3b6e2 Bug 1392407 - Fix about:telemetry issue with btoa r=chutten
MozReview-Commit-ID: K2kvFTQKLwT
2017-08-24 13:41:28 +02:00
Sebastian Hengst
a2772009aa Backed out changeset cadbabe9cb86 (bug 1392407) for eslint failure at toolkit/content/aboutTelemetry.js:2065: Multiple spaces found before '{'. r=backout 2017-08-25 19:31:18 +02:00
flyingrub
55b819a283 Bug 1392407 - Fix about:telemetry issue with btoa r=chutten
MozReview-Commit-ID: K2kvFTQKLwT
2017-08-24 13:41:28 +02:00
flyingrub
d1632aac2a Bug 1392403 - Ease the dismiss of the popup in about:telemetry r=chutten
Fix ping selector popup is sometimes hard to dismiss.

MozReview-Commit-ID: KEFcmq6cvRA
2017-08-23 16:40:12 +02:00