Closed
Bug 1388695
Opened 7 years ago
Closed 7 years ago
Add a raw payload section when looking at a non main ping in about:telemetry
Categories
(Toolkit :: Telemetry, enhancement, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: flyingrub, Assigned: flyingrub)
References
Details
Attachments
(1 file)
Currently we only show the general and environment data. This is confusing as we don't show the actual ping payload.
Summary: Add a raw payload section hen looking at a non main ping in about:telemetry → Add a raw payload section when looking at a non main ping in about:telemetry
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8895331 [details]
Bug 1388695 - Show the payload for non main ping in about:telemetry
https://reviewboard.mozilla.org/r/166538/#review171806
::: toolkit/content/aboutTelemetry.js:2321
(Diff revision 3)
> let elements = document.querySelectorAll(".category");
> for (let section of elements) {
> if (commonSections.has(section.getAttribute("value"))) {
> continue;
> }
> + // only show the raw payload for non main ping
Nit: Upper-cased "Only" and end the comment with a ".".
::: toolkit/content/aboutTelemetry.xhtml:150
(Diff revision 3)
> <p id="home-explanation"></p>
> <p id="ping-explanation"></p>
> </section>
>
> + <section id="raw-payload-section">
> + <button id="payload-json-viewer">&aboutTelemetry.showInFirefoxJsonViewer;</button>
You should add that string to the .dtd in this patch instead of on another bug.
Attachment #8895331 -
Flags: review?(gfritzsche)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8895331 [details]
Bug 1388695 - Show the payload for non main ping in about:telemetry
https://reviewboard.mozilla.org/r/166538/#review172284
::: toolkit/content/aboutTelemetry.js:996
(Diff revision 5)
> }
> };
>
> +var RawPayloadData = {
> + /**
> + * Renders the raw pyaload
Nit: Missing trailing ".".
Attachment #8895331 -
Flags: review?(gfritzsche) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Keywords: checkin-needed
Updated•7 years ago
|
Keywords: checkin-needed
Comment 11•7 years ago
|
||
This has unresolved issues in MozReview. Please remember to double-check those before setting checkin-needed to avoid delays in your patches landing.
Flags: needinfo?(flyinggrub)
Flags: needinfo?(flyinggrub)
Keywords: checkin-needed
Assignee | ||
Comment 12•7 years ago
|
||
Sorry about that. I will double check next times.
Comment 13•7 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/6beb0e4ddfd1
Show the payload for non main ping in about:telemetry r=gfritzsche
Keywords: checkin-needed
Comment 14•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Comment 15•7 years ago
|
||
mozreview-review |
Comment on attachment 8895331 [details]
Bug 1388695 - Show the payload for non main ping in about:telemetry
https://reviewboard.mozilla.org/r/166538/#review173130
::: toolkit/locales/en-US/chrome/global/aboutTelemetry.dtd:24
(Diff revision 8)
> <!ENTITY aboutTelemetry.raw "
> Raw JSON
> ">
>
> +<!ENTITY aboutTelemetry.showInFirefoxJsonViewer "
> +Open in the firefox JSON viewer
You really don't want Firefox lowercase in a string.
No need to udpate the string ID, just fix the string directly.
Assignee | ||
Comment 16•7 years ago
|
||
Should I open an other issue about it ?
Comment 17•7 years ago
|
||
(In reply to flyingrub from comment #16)
> Should I open an other issue about it ?
Yes, please. On second thoughts, I'm not sure you even want to call out "Firefox" in such string?
You need to log in
before you can comment on or make changes to this bug.
Description
•